Skip to content
Cursor

ghostlink for Cursor

io.github.bgorzelic/ghostlink

Sandboxed repo access for coding agents: search, read, patch, run, git -- confined to a repo root.

client:Cursor transport:stdio runtime:npm

Install ghostlink in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ghostlink": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bgorzelic/ghostlink"
      ],
      "env": {
        "GHOSTLINK_REPO_ROOT": "<GHOSTLINK_REPO_ROOT>",
        "GHOSTLINK_LOG": "<GHOSTLINK_LOG>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ghostlink in other clients