project-graph-mcp
Provides framework-specific rulesets for Express, enabling code quality analysis and compact code mode for Express projects.
Provides framework-specific rulesets for NestJS, enabling code quality analysis and compact code mode for NestJS projects.
Provides framework-specific rulesets for Next.js, enabling code quality analysis and compact code mode for Next.js projects.
Provides framework-specific rulesets for Node.js, enabling code quality analysis and compact code mode for Node.js projects.
Provides framework-specific rulesets for React, enabling code quality analysis and compact code mode for React projects.
Provides framework-specific rulesets for TypeScript, enabling code quality analysis and compact code mode for TypeScript projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@project-graph-mcpfind unused code and complexity in src/"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
project-graph-mcp
Maximize your AI agent's context window. An MCP server that lets agents read and edit your codebase in compact mode — minified source with all variable names preserved. Code tokens drop ↓40%, and .ctx documentation is injected only in the focus zone. Fewer tokens per file → more files fit in context → deeper understanding of your codebase.


18 MCP tools, zero config. Add one line to your MCP config and the server downloads itself on the next IDE restart.
Features
Project Skeleton — AST-based graph with 10-50x compression, minified JSON representation of your entire codebase
Compact Code Mode — project-wide
compact/beautify, agents read and edit minified source directly (↓40% tokens both ways)AI Context Layer — one call loads skeleton + docs + compressed files; progressive loading (Overview → Focus)
Code Quality Analysis — dead code, complexity, duplicates, large files, legacy patterns, JSDoc consistency, Health Score (0-100)
Multi-Language Parsers — JavaScript (AST/Acorn), TypeScript, Python, Go (regex-based)
Doc Dialect — auto-generated
.ctxdocumentation with AST signatures, staleness detection, self-enriching@enrichmarkersDatabase Analysis — schema extraction from SQL migrations, table usage, dead tables
Test Checklists — persistent test state in
.ctx.mdfiles, agent-drivenmark_test_passedMonorepo Support — auto-discovery of sub-projects in
packages/,apps/,services/Framework Rules — 11 rulesets (86 rules) for React, Vue, Next.js, Express, NestJS, TypeScript, Node.js, Symbiote.js
Security — path traversal protection on all operations
Related MCP server: Semantic Cache MCP
Quick Start
Generate the MCP config for your IDE (with correct paths):
npx -y project-graph-mcp configCopy the output JSON into your IDE's MCP config file, then restart.
IDE | Config path |
Antigravity |
|
Gemini CLI |
|
Cursor |
|
Windsurf |
|
Claude Code | Run: |
See CONFIGURATION.md for all supported IDEs.
git clone --recursive https://github.com/rnd-pro/project-graph-mcp
cd project-graph-mcp
npm installNote: The source checkout no longer needs the former
vendor/symbiote-nodesubmodule.
CLI
npx project-graph-mcp skeleton src/ # Project skeleton
npx project-graph-mcp expand SN # Expand minified symbol
npx project-graph-mcp deps SNG # Get dependencies
npx project-graph-mcp deadcode src/ # Find unused code
npx project-graph-mcp complexity src/ # Cyclomatic complexity
npx project-graph-mcp analyze src/ # Full health analysis
npx project-graph-mcp compress src/f.js # Compress file for AI
npx project-graph-mcp docs src/ # Project docs (doc-dialect)
npx project-graph-mcp generate-ctx src/ # Generate .context/ docs
npx project-graph-mcp compact src/ --dry-run # Compact all files
npx project-graph-mcp mode . # Show current editing mode
npx project-graph-mcp help # All commandsWeb Dashboard
project-graph-mcp is a pure stdio MCP server — it does not include a web server. For the visual UI (file tree, code viewer, dependency graph, live monitoring, marketplace), install mcp-agent-portal: npx mcp-agent-portal.
MCP Ecosystem
Best used as part of mcp-agent-portal — a unified MCP aggregator that combines all RND-PRO servers behind a single config entry:
{
"mcpServers": {
"agent-portal": {
"command": "npx",
"args": ["-y", "mcp-agent-portal"]
}
}
}The Portal runs asingleton backend to prevent resource exhaustion when you open multiple IDE windows. It transparently spawns project-graph-mcp as a public child tool server and keeps agent-pool-mcp as its internal execution runtime. One mcp-agent-portal entry replaces separate public configs for child servers.
Also works standalone when you need only project graph tools:
# Generate a config with the correct path for this server:
npx -y project-graph-mcp config
# Or use mcp-agent-portal as the unified orchestration gateway.Agent workers launched by Agent Portal can use their ownproject-graph-mcp instance to navigate the codebase independently without blocking the primary orchestrator.
Documentation
CONFIGURATION.md — Setup for all supported IDEs
GUIDE.md — Comprehensive usage guide with all tools
ARCHITECTURE.md — Source code structure
AGENT_ROLE.md — Full system prompt for agents
ROADMAP.md — Feature roadmap and backlog
Related Projects
mcp-agent-portal — Unified MCP aggregator + web dashboard + AI agent runtime
agent-pool-mcp — Internal execution runtime used by Agent Portal orchestration
Symbiote.js — Isomorphic Reactive Web Components framework
JSDA-Kit — SSG/SSR toolkit for modern web applications
License
MIT © RND-PRO.com
Made with ❤️ by the RND-PRO team
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rnd-pro/project-graph-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server