# dotlink [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/abird-ai/dotlink  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dotlink

## Description
A tunneled MCP that let's ChatGPT web and dot use your local machine.

## Tools
Capabilities this server exposes over MCP:

- **ls** — List entries with `pattern` (glob), `depth`, `kind`, `sort`, `limit
- **grep** — Regex search with `content`/`files`/`count` output, context, glob and `.gitignore` filters
- **read** — Read numbered lines from a UTF-8 file
- **write** — Create or replace a text file
- **edit** — Apply an ordered `edits[]` array with preflight and per-file atomic commits
- **patch** — Apply a Codex-format patch with strict preflight and per-file atomic commits
- **bread** — Read binary content as MCP typed content, base64, or hex
- **bwrite** — Create or replace a binary file
- **bedit** — Apply byte ranges against original-file offsets

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/abird-ai/dotlink), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/abird-ai/dotlink/main/install.sh | sh
```

2. Install:

```sh
irm https://raw.githubusercontent.com/abird-ai/dotlink/main/install.ps1 | iex
```

3. Configure:

```sh
dotlink --setup
```

4. Start the server:

```sh
dotlink
```

5. Start the server:

```sh
dotlink --allow-rw --allow-shell --allow-network
```

6. Configure:

```sh
dotlink profile edit work
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/dotlink/readme_

