Model Context Protocol (MCP) Overview
Archon's MCP implementation follows a clear separation of concerns:
- The Server service contains ALL business logic, ML models, and data operations
- The MCP service is a lightweight HTTP-based wrapper that exposes Server functionality as MCP tools
- MCP communicates with Server exclusively via HTTP APIs - maintaining true microservices separation
What is MCP?โ
The Model Context Protocol (MCP) is an open standard that enables AI applications to securely access external data sources and tools. Archon implements both sides of MCP:
- MCP Server: Exposes 14 tools following action-based patterns for knowledge management and task organization
- MCP Client: Universal SSE-based client for connecting to any MCP server using Streamable HTTP transport
MCP Server
Archon as an MCP Server - Expose your knowledge base to AI clients
- 14 comprehensive tools using flexible action-based patterns
- Real-time Logfire monitoring of all tool calls
- Compatible with Cursor, Windsurf, Claude Desktop
- SSE transport for all clients (stdio via docker exec)
MCP Server Documentation
MCP Client
Universal MCP Client - Connect to any SSE-based MCP server from Archon's UI
- Connect to any MCP server using Streamable HTTP (SSE) transport
- Interactive tool testing with real-time results
- Socket.IO real-time updates for collaborative workflows
- Simple configuration - just provide the SSE endpoint URL
MCP Client Documentation
Archon MCP Architectureโ
Quick Start Guideโ
- Using Archon as MCP Server
- Using Universal MCP Client
Connect your AI client to Archon's knowledge base:
- Start Archon (Docker or local)
- Configure your AI client (Cursor, Windsurf, etc.)
- Begin using 14 comprehensive tools
For Cursor:
{
"mcpServers": {
"archon": {
"uri": "http://localhost:8051/sse"
}
}
}
For Claude Code:
claude mcp add --transport sse archon http://localhost:8051/sse
For Windsurf:
{
"mcp.servers": {
"archon": {
"uri": "http://localhost:8051/sse"
}
}
}
Available capabilities:
- RAG queries across your crawled knowledge
- Create and manage tasks/projects
- Search code examples with AI summaries
- Document management with versioning
Connect to any MCP server from Archon's UI:
- Open Archon UI โ Navigate to MCP Client tab
- Add MCP servers (Brave Search, GitHub, Filesystem, etc.)
- Test tools interactively with real-time results
- Monitor all connections with Socket.IO updates
Connect to Popular MCP Servers:
- Brave Search: Web search capabilities
- GitHub: Repository management
- Filesystem: Local file operations
- Archon: Your own knowledge base
- Custom: Any MCP-compatible server
๐ Tool Distributionโ
Archon provides 14 comprehensive MCP tools following modern patterns:
| Category | Tools | Description | Key Features |
|---|---|---|---|
| ๐ง RAG & Knowledge Management | 7 tools | Search, crawl, and manage knowledge | RAG queries, web crawling, document upload, code search, source management |
| ๐ Project & Task Management | 5 tools | Complete project lifecycle management | Consolidated action-based patterns for projects, tasks, documents, and versions |
| ๐ฅ System Health | 2 tools | Health monitoring and diagnostics | Comprehensive system status and session management |
Tool Categories Deep Diveโ
๐ง RAG & Knowledge Tools (7)
perform_rag_query- Semantic searchsearch_code_examples- Code-specific searchcrawl_single_page- Web page indexingsmart_crawl_url- Intelligent crawlingupload_document- Document processingget_available_sources- Source managementdelete_source- Source cleanup
๐ Project Tools (5)
manage_project- Create, list, get, delete projectsmanage_task- Create, list, get, update, delete, archive tasksmanage_document- Add, list, get, update, delete documentsmanage_versions- Create, list, get, restore versionsget_project_features- Retrieve project features
๐ฅ System & Monitoring (2)
health_check- System health diagnosticssession_info- Session management info- Real-time Logfire tracing for all tools
- Performance metrics and timing
- Client identification (Cursor, Windsurf, etc.)
- Error tracking and debugging
๐ฅ Why Choose Archon's MCP Implementation?โ
๐ Industry-Leading Featuresโ
โก Performance & Reliability
- ๐ Sub-second response times for most queries
- ๐ Automatic reconnection and error recovery
- ๐ Comprehensive monitoring with Logfire
- ๐ฅ Health checks and system diagnostics
- โ๏ธ Load balancing for high-volume usage
๐ก๏ธ Security & Scalability
- ๐ Encrypted credential storage in Supabase
- ๐ Multi-transport support (stdio, SSE)
- ๐ Real-time synchronization across clients
- ๐ Horizontal scaling ready
- ๐ฏ Rate limiting and abuse protection
๐ง Developer Experienceโ
Archon's MCP implementation prioritizes developer experience with comprehensive tooling, detailed documentation, and real-time debugging capabilities.
- ๐ Extensive Documentation: Every tool documented with examples
- ๐งช Interactive Testing: Test tools directly in the UI
- ๐ Real-time Debugging: Logfire traces for every operation
- โก Hot Reloading: Development-friendly configuration
- ๐ Universal Compatibility: Works with any MCP client
๐ Documentation Structureโ
๐ Detailed Guidesโ
| Document | Purpose | Audience |
|---|---|---|
| ๐ ๏ธ MCP Server Guide | Complete server setup, configuration, and troubleshooting | Developers using Archon as an MCP server |
| ๐ MCP Client Guide | Universal client usage, server connections, and testing | Developers connecting to MCP servers |
๐ฏ Quick Navigationโ
๐ Getting Started
๐ง Troubleshooting
๐ Advanced Usage
๐ Ready to Get Started?โ
Choose your path based on how you want to use Archon's MCP capabilities:
- ๐ ๏ธ Expose Archon as MCP Server
- ๐ Connect to MCP Servers
- ๐ Use Both Capabilities
You want to connect external AI clients (Cursor, Windsurf, etc.) to Archon's knowledge base
You want to use Archon's UI to connect to and test various MCP servers
You want to use Archon as both a server and client for maximum functionality
๐ Start with MCP Server, then MCP Client
๐ฅ Ready to experience the most powerful MCP implementation available?
Join thousands of developers already using Archon's MCP tools to supercharge their AI workflows!