Skip to content
LangChain

ghostlink for LangChain

io.github.bgorzelic/ghostlink

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

client:LangChain transport:stdio runtime:npm

Install ghostlink in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ghostlink": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@bgorzelic/ghostlink"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

ghostlink in other clients