Skip to main content

Dr Strange

io.github.wangyingsm/dr-strange

v2.27.1Updated Nov 8, 2026local · npm

Code graph for coding agents: who calls this, what a change reaches, in one round trip.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add dr-strange -e 'DRSG_TOKEN=<your-drsg-token>' -- npx -y @yingge/[email protected] serve --addr 127.0.0.1:7700

Configuration

3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • DRSG_TOKEN
    Env var· required· secret
    Bearer token this server requires of every client, and the value the Authorization header above is built from. Any secret will do — it is checked against itself, not issued by anything.
  • serve
    Argument· required
    Serve the graph in `./graph.drsg` over MCP, JSON-RPC and the dashboard. The database has to exist: `npx @yingge/drsg init` digests this repository, starts the server itself and writes `.mcp.json`, and is the shorter path for a developer at a terminal. This entry runs `serve` instead because `init` picks a free port and a random token, neither of which a static record can name.
  • --addr
    Argument· required
    Bind address, stated rather than defaulted so it agrees with the URL below whatever a local `drsg.toml` says.

Listed in the official MCP Registry since Nov 8, 2026. Mirrored daily; last checked Nov 26, 2026.