MCP Server
Access noodlbox through the Model Context Protocol
The MCP (Model Context Protocol) server connects noodlbox to agents like Claude Code, Cursor, Codex, and OpenCode, enabling intelligent code exploration and analysis.
What is MCP?
MCP is a protocol that allows agents to access external tools and data. The noodlbox MCP server exposes your code knowledge graph through:
- Tools - Execute operations like queries and searches
- Resources - Access structured data like maps and schemas
Quick Setup
The installer runs noodl init automatically, which configures MCP for all your agents. The MCP server uses STDIO transport - your agent launches it automatically when needed.
Agent-first workflow: After setup, your agent can analyze repositories directly via MCP tools - no CLI commands needed.
For manual configuration:
Install the noodlbox plugin:
claude plugin marketplace add noodlbox/noodlbox-claude-plugins
claude plugin install noodlbox@noodlboxThe plugin auto-updates when you run noodl update --install.
Path: .cursor/mcp.json
{
"mcpServers": {
"noodlbox": {
"command": "noodl",
"args": ["mcp"]
}
}
}Path: ~/.codex/config.toml
[mcp_servers.noodlbox]
command = "noodl"
args = ["mcp"]Path: ~/.config/opencode/opencode.json
{
"mcp": {
"noodlbox": {
"type": "local",
"command": ["noodl", "mcp"]
}
}
}Tools
The MCP server provides tools for interacting with noodlbox.
Query Tools
Context Search
Find relevant code with natural language queries
Symbol Context
Get 360-degree context for a symbol: references, community, docs
Document Search
Search documentation with semantic, linked, or hybrid modes
Cypher Query
Execute graph queries to explore code relationships
Impact Detection
Analyze git changes to understand impact
Refactoring Tools
Management Tools
Analyze
Index a repository and build its knowledge graph
Delete
Remove an analyzed repository from noodlbox
Resources
Access structured data through MCP resources using @noodlbox:uri syntax:
Repositories
List analyzed repositories
Database Schema
Knowledge graph structure
Codebase Map
Communities, processes, and navigation
Tools vs Resources
| Use | When |
|---|---|
| Tools | Custom queries, searching patterns, analyzing impact |
| Resources | Structured data, exploring communities, viewing processes |
Example Session
You: "Show me my repositories"
→ Uses @noodlbox:repository://list
You: "What communities are in owner/my-app?"
→ Uses @noodlbox:map://owner/my-app
You: "Find code related to authentication"
→ Uses noodlbox_query_with_context tool
You: "Show me everything about the authenticateUser function"
→ Uses noodlbox_symbol_context tool
You: "Rename getUserById to findUserById"
→ Uses noodlbox_rename_symbol tool
You: "What would be affected if I change the login function?"
→ Uses noodlbox_detect_impact toolSecurity
MCP operations are:
- Authenticated - Requires valid authentication via
noodl auth - Local - Data stays on your machine
- Code-safe - Cannot modify your source code
Management tools (analyze, delete) modify the knowledge graph but never touch your source files.
Learn More
- Setup Guide - Installation and configuration
- Context Search - Natural language code search
- Cypher Query - Graph query examples