NEXUS
Runs ESLint and parses lint output into structured diagnostics (file, line, column, severity, rule, message).
Provides git-aware tooling for diffing, inspecting workspace state, and snapshot/restore workflows.
Runs Jest tests and parses failures into structured results.
Runs pytest tests and parses failures into structured results.
Runs Vitest tests and parses failures into structured results.
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., "@NEXUSWhat files would break if I change authenticate()?"
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.
NEXUS — God-Tier MCP Server for Agentic Coding Agents
The most powerful, advanced, and robust MCP server for CLI coding agents.
NEXUS gives your AI coding agent capabilities it structurally lacks: deep code understanding, change-impact awareness, persistent memory, engineered context, verified execution, and deterministic orchestration.
31 tools · 10 families · 20+ languages · zero native dependencies
Quick Install (Cline CLI / Claude Desktop / Cursor / etc.)
git clone https://github.com/Senpai-Sama7/nexus-mcp-server.git
cd nexus-mcp-server
npm install
npm run build
# Install MCP config for all detected clients (Cline CLI, Claude Desktop, Cursor, Windsurf, Gemini, OpenCode)
./install-mcp.sh /path/to/project1 /path/to/project2The install-mcp.sh script writes a cline_mcp_settings.json (and equivalents for other clients) that registers one NEXUS MCP server instance per workspace. Each instance points at a different NEXUS_WORKSPACE so you get a separate code index per project.
Related MCP server: ContextWeaver
Manual Configuration
Cline CLI (~/.cline/cline_mcp_settings.json)
{
"mcpServers": {
"nexus": {
"command": "node",
"args": ["/path/to/nexus-mcp-server/dist/server.js"],
"env": { "NEXUS_WORKSPACE": "/path/to/your/project" },
"disabled": false
},
"nexus-other-project": {
"command": "node",
"args": ["/path/to/nexus-mcp-server/dist/server.js"],
"env": { "NEXUS_WORKSPACE": "/path/to/another/project" },
"disabled": false
}
}
}Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS)
Same mcpServers format as above.
Cline VSCode extension
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json — same format.
Claude Code (.mcp.json in your project root)
{
"mcpServers": {
"nexus": {
"command": "node",
"args": ["./nexus-mcp-server/dist/server.js"],
"env": { "NEXUS_WORKSPACE": "${workspaceFolder}" }
}
}
}OpenCode (~/.config/opencode/opencode.jsonc)
OpenCode uses a different MCP schema — mcp keyed by server name, command
as an array, environment under environment, plus enabled/timeout:
{
"mcp": {
"nexus": {
"type": "local",
"command": ["node", "/path/to/nexus-mcp-server/dist/server.js"],
"environment": {
"NEXUS_WORKSPACE": "/path/to/your/project",
"NEXUS_LOG_LEVEL": "info"
},
"enabled": true,
"timeout": 15000
},
"nexus-other-project": {
"type": "local",
"command": ["node", "/path/to/nexus-mcp-server/dist/server.js"],
"environment": {
"NEXUS_WORKSPACE": "/path/to/another/project",
"NEXUS_LOG_LEVEL": "info"
},
"enabled": true,
"timeout": 15000
}
}
}Gemini CLI (~/.gemini/settings.json)
Same mcpServers shape as Cline CLI:
{
"mcpServers": {
"nexus": {
"command": "node",
"args": ["/path/to/nexus-mcp-server/dist/server.js"],
"env": { "NEXUS_WORKSPACE": "/path/to/your/project", "NEXUS_LOG_LEVEL": "info" }
},
"nexus-other-project": {
"command": "node",
"args": ["/path/to/nexus-mcp-server/dist/server.js"],
"env": { "NEXUS_WORKSPACE": "/path/to/another/project", "NEXUS_LOG_LEVEL": "info" }
}
}
}Cursor (~/.cursor/mcp.json)
Windsurf (~/.codeium/windsurf/mcp_config.json)
Both use the same mcpServers format as Cline CLI above.
Why NEXUS?
Every current coding agent has 10 structural gaps. NEXUS fills all 10:
Agents read raw text → NEXUS builds a semantic symbol/reference/dependency graph
Agents edit blind → NEXUS computes blast radius before changes
Agents forget everything between sessions → NEXUS persists namespaced memory
Agents fetch context greedily → NEXUS ranks and budgets context (repo map, context packs)
Agents can't verify structurally → NEXUS parses test/lint/typecheck output into structured diagnostics
Agents do serial work → NEXUS runs deterministic parallel fan-out + persistent task DAGs
Agents leak secrets / touch sensitive files → NEXUS scans, jails, and warns
Agents get huge unreadable tool dumps → NEXUS paginates with cursors + head/tail truncation
Agents lose state on crash → NEXUS snapshots files and checkpoints task state
Agents can't see the project at a glance → NEXUS workspace health + map on demand
Environment Variables
Variable | Default | Description |
|
| Workspace root (the jail boundary) |
|
| One of: |
The 31 Tools
A. Workspace (3)
nexus_workspace_overview— languages, LOC, git state, index healthnexus_search— regex/literal/glob content searchnexus_read_span— line-range read with encoding + injection detection
B. Code Intelligence (6)
nexus_index_build— build/refresh the code indexnexus_file_symbols— symbol outline of a filenexus_find_symbols— fuzzy workspace-wide symbol searchnexus_references— all reference sites of a symbolnexus_call_graph— callers/callees, depth-Nnexus_dependency_graph— import graph: deps / dependents
C. Context Engineering (2) ⭐
nexus_repo_map— ranked repo map within a token budget (Aider-style)nexus_context_pack— task-focused context bundle
D. Change Safety (4)
nexus_impact_analysis— blast radius before editingnexus_git_diff— smart diff with stats + paginated hunksnexus_snapshot/nexus_restore— checkpoint and rollback
E. Execution & Verification (4)
nexus_exec— run commands with timeout + secret redactionnexus_exec_poll— poll/kill background jobsnexus_test_run— detect framework (jest/vitest/pytest/cargo/go) → structured failuresnexus_diagnose— tsc/eslint → parsed{file, line, col, severity, rule, message}
F. Memory (3)
nexus_memory_write/nexus_memory_search/nexus_memory_forget— persistent knowledge
G. Orchestration (4)
nexus_task_submit/nexus_task_update/nexus_task_status— DAG task managementnexus_fanout— parallel map with concurrency limit
H. Security & Hygiene (2)
nexus_secret_scan— scan for AWS/GitHub/OpenAI/JWT/keysnexus_audit_manifest— dependency risk heuristics (typosquat, unpinned)
I. Refactor (1)
nexus_rename_symbol— preview-first, graph-scoped rename
J. Meta (2)
nexus_server_status— self-diagnosticsnexus_guide— on-demand playbook for workflows
Recommended Workflows
New Feature
1. nexus_workspace_overview
2. nexus_repo_map
3. nexus_context_pack focusFiles:[...]
4. nexus_dependency_graph file:...
5. nexus_snapshot (checkpoint)
6. Implement (using nexus_read_span, nexus_search)
7. nexus_test_run + nexus_diagnose
8. nexus_secret_scan
9. nexus_memory_write (record decisions)Refactor
1. nexus_index_build force:true
2. nexus_find_symbols name:"oldName"
3. nexus_impact_analysis target:"oldName" mode:"symbol"
4. nexus_snapshot
5. nexus_rename_symbol (preview!)
6. nexus_test_runDebug
1. nexus_diagnose
2. nexus_test_run
3. nexus_search pattern:"error message"
4. nexus_call_graph symbol:... direction:callers
5. nexus_memory_write (record the fix)Architecture Highlights
Zero native dependencies — pure JS regex-based parser works on any platform
20+ languages supported — TS/JS/Python/Go/Rust/Java/C/C++/C#/Ruby/PHP/Swift/Kotlin/Lua/Shell/...
Path jail — every file op goes through symlink-resolved boundary check
Sensitive file protection —
.env, keys, credentials blocked by defaultIndirect prompt injection guard — file contents/command outputs scanned for attack patterns
Secret redaction — 15+ detectors (AWS, GitHub, OpenAI, Anthropic, JWT, etc.)
Process-group kill — timeouts kill entire process trees, no leaks
Atomic persistence — tmp-file + rename for index, memory, snapshots
LRU memory caps — never unbounded growth
Tool annotations — truthful
readOnlyHint/destructiveHint/idempotentHint/openWorldHintMulti-workspace — run multiple NEXUS instances, each indexing a different project
Testing
npm run test:clientValidates all 31 tools via the full JSON-RPC protocol end-to-end. 100% pass rate.
License
MIT
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.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides AI coding agents with five intelligence layers (dependency graph, git history, documentation, architectural decisions, code health) via nine MCP tools, enabling deep codebase understanding and reducing exploration cost.Last updated2114,538AGPL 3.0
- Alicense-qualityDmaintenanceA semantic code retrieval engine for AI agents that enables hybrid search, graph expansion, and token-aware context packing, integrating with MCP to provide precise code context to LLMs.Last updated19293MIT
- Alicense-qualityCmaintenanceEnables AI agents to search code by meaning, explore codebase structure, store and query knowledge with temporal facts, and read source code through a set of MCP tools.Last updated4996MIT
- Alicense-qualityCmaintenanceProvides code intelligence for AI coding agents by indexing repositories into a hybrid knowledge graph, enabling agents to query dependencies, impact, and context through 28 MCP tools.Last updated2Apache 2.0
Related MCP Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Shared debugging memory for AI coding agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Senpai-Sama7/nexus-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server