Give Claude Code and Cursor a shared, auto-updating map of your codebase
Описание и применение
Создайте общий сервер MCP, который автоматически обновляет граф знаний репозитория и позволяет AI‑ассистентам быстро находить связи между элементами кода.
Задача
AI coding assistants struggle to locate code elements across large repositories, leading to token waste and incomplete context.
Результат
The shared MCP server keeps the code graph in sync with the main branch, eliminates per‑user setup, and allows assistants to query the graph for relationships, paths, and impact analysis without re‑reading files.
Рабочий процесс
- Clone the repository using a read‑only token
- Run
graphify extract --code-onlyto generate graph.json - Serve the graph with
graphify.serve --transport httpon /mcp - Configure hourly refresh to pull, rebuild, and atomically swap graph.json
- Expose the server behind HTTPS and secure with an API key
- Add the MCP server to Claude Code or Cursor with the API key header
Доказательства
Graphify fixes that by turning a codebase into a knowledge graph: functions, classes, modules and the edges between them, parsed locally with tree‑sitter.
Graphify already ships an HTTP transport for its MCP server, so the missing piece is just the plumbing: clone, build, serve, refresh, secure.
The server is reachable on the internet, and the API key is what keeps your code map private.
- Дата записи: 2026-11-02T05:29:04.798Z