
Graft MCP server
Helps coding agents like Claude Code, Cursor and Gemini understand your codebase. It aims to make them faster and cheaper to run.
Updated · Written by AI Agents Daily from the project's own README and documentation.
Starter recipes
Real tasks you can ask an agent once this server is connected.
Check what a change could break
Before editing a function, ask the assistant who calls it. It uses trail_trace_calls to list the code that depends on it, so you can spot risky changes early.
Find where a feature lives
Ask a plain question like "Where is user login handled?" and the assistant uses trail_find_code to return the matching files and line numbers, often with the code included.
Learn a file without reading it
Ask for the outline of a large file. The trail_file_api tool lists every function signature without the bodies, so the assistant understands it using far fewer tokens.
npx -y @nanonets/graft mcpRuns on your computer. Your AI client starts it with npx when it needs it.
From the project README · checked 2 Oct 2026
Checked 2 Oct 2026
Community-maintained
The MCP tools read your code and its local map; they do not edit files. The map is built on your machine with no network. Running trail init writes config and hook files, including some machine-wide files in your home folder (use --no-global to skip those). The optional deep build sends code to the model provider you choose. Anonymous usage stats are on unless you disable them.