MCP Server
Access noodlbox through the Model Context Protocol
The MCP (Model Context Protocol) server connects noodlbox to AI assistants like Claude and Cursor, enabling intelligent code exploration and analysis.
What is MCP?
MCP is a protocol that allows AI assistants to access external tools and data. The noodlbox MCP server exposes the knowledge graph through:
- Tools - Execute operations like queries and searches
- Resources - Access structured data like maps and schemas
Quick Setup
{
"mcpServers": {
"noodlbox": {
"command": "npx",
"args": ["-y", "@noodlbox/mcp-server"],
"env": {
"NOODLBOX_API_KEY": "your-api-key"
}
}
}
}Tools
The MCP server provides three tools for interacting with noodlbox:
Cypher Query
Execute graph queries to explore code relationships
Context Search
Find relevant code with context-aware search
Impact Detection
Analyze git changes to understand impact
Resources
Access structured data through MCP resources:
Repositories
List available repositories
Database Schema
Knowledge graph structure
Codebase Map
Maps, communities, and processes
Tools vs Resources
Use Tools when:
- You need custom queries
- Searching for specific patterns
- Analyzing changes or impact
- Complex graph traversals
Use Resources when:
- You need structured, predefined data
- Exploring standard views
- Building on consistent responses
Example Workflow
- List repositories - Find available repos with the repositories resource
- View the map - Get an overview with the codebase map resource
- Explore communities - Dive into specific areas
- Query details - Use Cypher for specific questions
- Analyze impact - Check changes before committing
Security
All MCP operations are:
- Read-only - Cannot modify code or graph
- Authenticated - Requires valid API key
- Logged - All queries are auditable
Learn More
- Setup Guide - Installation and configuration