Skip to content
MCP server

Ghostlink

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
6 days ago

About Ghostlink

Ghostlink is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add ghostlink --env GHOSTLINK_REPO_ROOT='<GHOSTLINK_REPO_ROOT>' -- npx -y @bgorzelic/ghostlink

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GHOSTLINK_REPO_ROOTAbsolute path to the repository the server is confined to. Every tool call is sandboxed beneath this path.Required
  • GHOSTLINK_LOGOptional path for the JSON audit log of tool calls. Omit to disable file logging.

Pricing

Open source

Ghostlink FAQ

Is Ghostlink free?

Yes. Ghostlink is open source, so you can use and self-host it for free.

How do I add Ghostlink to Claude Code?

Run this command in your terminal: claude mcp add ghostlink --env GHOSTLINK_REPO_ROOT='<GHOSTLINK_REPO_ROOT>' -- npx -y @bgorzelic/ghostlink

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers