# code_graph-mcp

`code_graph-mcp` is an MCP (Model Context Protocol) stdio server that
exposes [`code_graph`](https://crates.io/crates/code_graph) tools to
LLM clients (Claude Desktop, Cursor, Codex, Zed, VS Code, Renso Code, etc.).

## Install

Customer-facing install docs use the script installer:

```sh
curl -fsSL https://cg.renso.ai/install.sh | sh
```

Windows PowerShell and first-run setup are documented at
https://cg.renso.ai/docs#install.

This crate is a thin **download-and-exec trampoline**: at install time
its `build.rs` fetches the prebuilt `code_graph-mcp` binary for your
host platform from
[GitHub Releases](https://github.com/Renso-AI/code-graph-dist/releases),
SHA256-verifies it, and embeds it into the launcher this crate
produces.

This crate contains **no MCP-server source**. Code Graph is proprietary,
closed-source software © Renso AI; the prebuilt binary it downloads is
licensed under the Code Graph subscription terms (https://cg.renso.ai).

## MCP launcher config

```json
{
  "mcpServers": {
    "cg": {
      "command": "code_graph-mcp",
      "args": ["--workspace", "."],
      "env": {}
    }
  }
}
```

See https://cg.renso.ai/docs#mcp for the full tool catalog and the
auto-discovery story (`code_graph-mcp --register`). Run
`code_graph-mcp --unregister` to remove the entry again from those same
clients (every other server is left untouched); add `--dry-run` to preview
either command.

## Documentation

- https://cg.renso.ai/docs — full usage guide

## License

Proprietary — © Renso AI, all rights reserved. **Not open source.**
Use of the binaries is governed by the Code Graph subscription terms at
https://cg.renso.ai.
