MCP Integrations
Connect SourcePrep to your favorite AI editors using the Model Context Protocol.
Agentic IDEs
→Give Cursor, Windsurf, Copilot, and Zed deep structural codebase awareness and graph-based trace intelligence.
Terminal Agents
→Connect command-line workflows like Claude Code and Gemini CLI directly to your local SourcePrep index.
Paperclip Plugin
NewGive every Paperclip agent structural codebase intelligence. 5 tools, dashboard widgets, and event-driven context — installed as a native Paperclip plugin.
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI models to interact with external data and tools.
SourcePrep runs a local MCP server that exposes your indexed codebase as a set of tools. It supports both Stdio (recommended for local editors) and SSE (for remote/containerized setups). When you connect an editor like Cursor or Windsurf, their internal AI agents gain the ability to:
- Get Oriented: Call
prepwith no arguments to get ambient context — module structures, hub files, and your selected focus areas formatted perfectly for internal understanding. - Search Semantically: Use
prep_searchto find code by meaning ("auth logic") rather than just keywords, expanding structurally to provide required imports automatically. - Code Graph: Follow import paths and function calls (Rust-powered graph) defensively. Use
prep_impactto see exact blast radiuses before modifying a file. - Persistent Memory: Use
prep_observeto write cross-session notes that get automatically flagged as `[STALE]` when the underlying files are modified. - Audit Codebase: Use
prep_auditto get a health report with architecture findings, tech debt, dead code, and test coverage gaps. Learn more →
Tools Reference
| Tool | Purpose |
|---|---|
| prep | Ambient context — hub files, module summaries, focus areas (no arguments needed) |
| prep_search | Semantic search with trace expansion, atlas routing, LOD compression |
| prep_impact | Blast radius analysis — what depends on a file or symbol |
| prep_observe | Save or retrieve cross-session notes about the codebase (with stale flags) |
| prep_audit | Run or retrieve codebase health audits (action = scan, refactor, verify, report) |
Live Dashboard Preview
These are live, interactive previews of the SourcePrep dashboard panels your agents interact with.
