Dotlink logo

Dotlink

Connects ChatGPT and other MCP clients to permitted local files, projects, and tools through secure local or remote transports.

Install Dotlink

Run the project’s own setup commands, in order.

Setup steps from the project

dotlink installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/abird-ai/dotlink/main/install.sh | sh
    
  2. 2. Install
    irm https://raw.githubusercontent.com/abird-ai/dotlink/main/install.ps1 | iex
    
  3. 3. Configure
    dotlink --setup
    
  4. 4. Start the server
    dotlink
    
  5. 5. Start the server
    dotlink --allow-rw --allow-shell --allow-network
    
  6. 6. Configure
    dotlink profile edit work
    

Overview

dotlink MCP server connects ChatGPT, remote MCP clients, and local MCP clients to selected files and projects on your machine. It exposes file listing, search, text and binary reads, writes, edits, patches, and byte-range changes through MCP. Local permission profiles control read, write, shell, network, path, and cache access, while Linux uses Bubblewrap sandboxing for shell execution. Reach for dotlink when an agent needs to work with live local data without uploading files or opening an inbound port.

Use cases

  • Inspect a local project from ChatGPT
  • Search source files without uploading them
  • Apply reviewed text or binary file changes
  • Expose separate permissions for multiple machines

Key features

  • OpenAI Secure MCP Tunnel
  • Streamable HTTP, stdio, and loopback HTTP transports
  • Fine-grained permission profiles
  • Text and binary file operations
  • Bubblewrap sandboxing on Linux
  • Activity logging with configurable verbosity

Tools9

What Dotlink lets your agent do. Expand a tool for its parameters.

Self-reported~137 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 35d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit9d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.

How Dotlink works

What dotlink does

dotlink gives MCP clients controlled access to files and local project directories. Its primary interface is a set of file-management tools: ls lists entries with glob, depth, type, sorting, and result-limit options; grep searches file contents or paths with regular expressions, context, glob filters, .gitignore handling, and selectable output; and read returns numbered lines from UTF-8 text files.

Write operations are separated from read access. write creates or replaces a text file, while edit applies an ordered set of edits with preflight checks and atomic per-file commits. patch accepts Codex-format patches using the same strict preflight and per-file commit model. Binary workflows use bread, bwrite, and bedit: binary data can be returned as typed MCP content, base64, or hexadecimal, and byte edits use offsets from the original file.

The same local policy can also expose selected shell, Git, build, test, script, network, project, and cache capabilities when those permissions are enabled.

How it works

For ChatGPT, dotlink opens an outbound OpenAI Secure MCP Tunnel from the machine to OpenAI. The local MCP server remains on the machine, so it does not require a public inbound port or a third-party relay. Multiple machines can run separate instances and tunnels, each with its own permissions.

Other remote clients can use Streamable HTTP through ngrok, with OAuth protection for the public endpoint. Local clients can connect over stdio or loopback HTTP. All transports use the same permission policy.

By default, the directory from which dotlink is launched is readable, while write access, shell execution, networking, additional paths, caches, and public HTTP require separate grants. On Linux, shell execution is sandboxed with Bubblewrap by default. Activity can be inspected with verbose logging; file contents, binary payloads, runtime keys, and raw request bodies are not intentionally logged.

Setup and configuration

Installers are available for Linux x86_64 and ARM64, macOS Apple Silicon, and Windows x86_64 and ARM64. The install scripts download the latest published GitHub Release, select the architecture, verify its SHA-256 checksum, and install the dotlink command. The project can also be built with Nix or Cargo.

Run dotlink --setup to create or configure a profile, then start dotlink from the project directory you want to expose. One-run permissions include --allow-rw, --allow-shell, and --allow-network. Persistent profiles can be listed, created, edited, deleted, and granted or denied access to specific paths. Profile settings also control transports and OpenAI, HTTP, ngrok, OAuth, shell, network, and default-allow behavior.

For ChatGPT, select OpenAI Tunnel during setup, start dotlink, and add the printed tunnel_... identifier as a custom MCP app. ChatGPT needs the tunnel ID rather than a Runtime or Admin API key. For Claude.ai, configure HTTP and ngrok, provide NGROK_AUTHTOKEN, and add the resulting custom connector.

Tools and capabilities

  • List directory entries with glob patterns, depth, type, sorting, and limits.
  • Search file names or contents with regular expressions, context, glob rules, and .gitignore filters.
  • Read and write UTF-8 text files with line-based reads and controlled edits.
  • Apply Codex-format patches with preflight validation and atomic per-file commits.
  • Read, create, replace, and edit binary files using typed content, base64, hexadecimal, or byte ranges.
  • Expose additional shell and project capabilities only when the active permission profile allows them.

Limitations and notes

The launch directory is read-only by default, so write tools are unavailable until write permission is granted. Shell, network, extra paths, caches, and public HTTP are independent permissions rather than automatic extensions of file access. ChatGPT access depends on a connected tunnel and the tunnel's workspace and API-key permissions. Ephemeral ngrok hostnames change the OAuth resource identity and require the remote client to be linked again when the URL changes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dotlink

dotlink is an MCP server that connects ChatGPT and other MCP clients to selected files and projects on your local machine. Its main tools list, search, read, write, edit, patch, and manipulate binary files. It uses permission profiles and supports OpenAI Tunnel, HTTP, stdio, and loopback HTTP transports.

Install dotlink with the platform installer from the project, then run `dotlink --setup`. Linux and macOS use the shell installer, while Windows uses the PowerShell installer. The scripts select the architecture, verify the release checksum, and install the `dotlink` command.

Connect dotlink to ChatGPT by selecting OpenAI Tunnel during `dotlink --setup`, starting dotlink in the project directory, and adding the printed `tunnel_...` ID as a custom MCP app at ChatGPT's plugins page. ChatGPT needs the tunnel ID, not a Runtime or Admin API key.

Connect dotlink to Claude.ai through Streamable HTTP published by ngrok. Configure HTTP and ngrok during setup, set `NGROK_AUTHTOKEN`, start dotlink, and add the printed MCP resource as a custom connector in Claude.ai. OAuth protects the public endpoint.

Allow file editing by starting dotlink with `--allow-rw` or granting a profile read-write permission for the required path. The launch directory is read-only by default, and write tools become available only after write access is enabled.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDotlink AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dotlink?style=directory)](https://allmcps.com/mcp/dotlink)
HTML Embed
<a href="https://allmcps.com/mcp/dotlink"><img src="https://allmcps.com/api/badge/dotlink?style=directory" alt="Dotlink on AllMCPs" /></a>