ArchMCP
Allows importing OpenAPI/Swagger 3.0 specifications to create and update microservice entries, including API endpoints and ownership information.
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., "@ArchMCPfind which services depend on payment-service and show their API endpoints"
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.
šļø ArchMCP: Central Remote MCP Server for Microservices
Give your AI coding assistant an organizational brain.
ArchMCP is a lightweight, remote Model Context Protocol (MCP) server that connects your AI assistants (Google Antigravity, Claude Desktop, Cursor, VS Code) to your entire microservice architecture in real time.
š Read the Step-by-Step User Manual & Setup Guide
š The Story Behind ArchMCP
The Everyday Problem
Imagine you are writing a feature in order-service with your AI coding assistant. You ask the AI:
"Implement checkout and charge the customer."
Immediately, the AI hits a wall:
It has no idea what headers
payment-servicerequires for idempotency.It doesn't know what database columns exist in
inventory-serviceto reserve stock.It has no clue which upstream services will break if you modify an endpoint.
To fix this today, developers usually try one of two bad options:
Dumping entire repositories into the prompt: This easily wastes 100,000+ tokens per question, costs a lot of money, makes the AI slow, and causes hallucinations due to prompt clutter.
Cloning 20+ repos locally: Every developer on the team has to keep 20 repos updated on their laptop just so their local AI has context.
The Solution: A Shared Remote Brain
ArchMCP solves this by acting as a centralized, sub-millisecond architecture brain.
Instead of running as a private local command on one laptop, ArchMCP runs as a shared remote service. Any engineer on your team connects their AI assistant to the ArchMCP server URL with an authentication token.
When your AI assistant needs to know:
"Which service handles refunds?" $\rightarrow$ It calls
search_microservices."What tables does payment-service own?" $\rightarrow$ It calls
get_database_schema."If I change
/api/v1/orders, who breaks?" $\rightarrow$ It callsanalyze_blast_radius.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā AI Assistant Client ā
ā (Google Antigravity, Claude Desktop, Cursor) ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā HTTP / Server-Sent Events (SSE)
ā Authorization: Bearer <token>
ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ArchMCP Server ā
ā ā
ā āāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā MCP Tools ā ā MCP Resources ā ā MCP Prompts ā ā
ā ā ⢠search_services ā ā ⢠arch/overview ā ā ⢠cross_service_planner ā ā
ā ā ⢠blast_radius ā ā ⢠services/catalog ā ā ⢠incident_triage ā ā
ā ā ⢠sequence_diagram ā ā ⢠guidelines/docs ā ā ⢠contract_refactor ā ā
ā ā ⢠get_db_schema ā ā ⢠service docs ā ā ā ā
ā āāāāāāāāāāāā¬āāāāāāāāāāā āāāāāāāāāāāā¬āāāāāāāāāāā āāāāāāāāāāāāāā¬āāāāāāāāāāāāāā ā
ā ā ā ā ā
ā āāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāā ā
ā ā Microservice Intelligence Engine ā ā
ā ā ⢠Transitive Graph Traversal & Blast Radius Analyzer (BFS) ā ā
ā ā ⢠In-Memory Index & Token Search (< 2ms response time) ā ā
ā ā ⢠Dynamic OpenAPI / Swagger 3.0 Importer ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā Embedded Web Visualizer & Live Sandbox (/dashboard) ā ā
ā ā ⢠Interactive Service Topology Explorer & Token Economics Calculator ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāš” How I Designed It & Why
When designing ArchMCP, the goal was to keep it fast, clean, and practical without unnecessary complexity:
1. Why Remote HTTP/SSE instead of a local CLI process?
Standard MCP servers run as a local stdio subprocess. While that works for single-user desktop scripts, a company with 50 engineers working across 30 microservices needs one central source of truth. By hosting ArchMCP over HTTP/SSE, architectural updates and new API schemas are instantly available to everyone without local repository cloning.
2. Why In-Memory Graph Indexing instead of a Heavy Vector Database?
Many AI tools immediately jump to heavy vector databases (like Pinecone or Milvus). For structured architecture metadata (API routes, database tables, and service dependencies), graph traversal and fast lexical token matching are:
Deterministic: Exact matches for routes like
/api/v1/auth/loginor tableusers.Zero Overhead: Runs with ~38 MB of RAM and zero external API keys or GPU requirements.
Blazing Fast: Sub-2ms response time.
3. Trade-offs Considered
Approach | The Good | The Bad | The Decision |
Local CLI ( | Simple for one person. | Everyone has to clone every repo locally; no centralized updates. | Skipped |
Custom REST API | Familiar web endpoints. | Requires writing and maintaining custom plugins for every IDE. | Skipped (MCP is the open standard) |
Heavy Vector DB | Semantic search. | Slow cold-starts, high cost, requires embeddings infrastructure. | Deferred for simple in-memory graph index |
Remote MCP over SSE | Centralized, instant sync, authenticated, works with all major AI tools. | Requires running a lightweight server. | Adopted ā |
š Performance Benchmarks & Token Economics
We measured the difference between asking an AI assistant to analyze a microservice task by dumping repository context vs querying ArchMCP:
Benchmark Metric | Full Codebase Prompting | ArchMCP Query (Live) | Efficiency Gain |
Token Consumption | ~140,000 to 180,000 tokens | ~120 to 380 tokens | > 99.6% Reduction |
Execution Latency | N/A (Full file scans / manual) | ~1.8 ms to 16 ms | Sub-second real-time |
Memory Footprint | ~500 MB (Local clones + indexers) | ~38 MB | > 90% Less RAM |
Test Suite | N/A | 18/18 Passing in < 1.5s | Instant verification |
š” Real-Time Verification: You can test and observe these performance metrics live at any time using the built-in Interactive Dashboard Sandbox, which calculates query latency and token savings on every request.
š Surprises & Discoveries Along the Way
Building a remote MCP server in Python revealed a few fascinating technical details:
Type Hints Become AI Schemas: The official Python MCP SDK automatically reads Python type annotations and docstrings to generate JSON-Schema definitions that the LLM uses to pick tools. Good docstrings literally make the AI smarter.
DNS Rebinding Guard: The MCP 2.0 protocol automatically validates incoming
Hostheaders to protect internal developer networks from browser-based DNS attacks.The 2-Phase SSE Handshake: When an AI client connects to
GET /sse, the server opens the event stream and returns a unique session postback URL (/messages/?session_id=...). All subsequent JSON-RPC tool calls are posted to this session.
š„ļø Live Browser Visualizer & Sandbox
ArchMCP includes an embedded, responsive web dashboard at http://localhost:8000/dashboard (or /):

Interactive Topology: Click any service card (
auth-service,order-service,payment-service) to inspect its APIs, owned database tables, and dependency mapping.Live Tool Sandbox: Test any MCP tool in real time and see the JSON-RPC request/response with live token savings and latency metrics.
āØļø Developer CLI
ArchMCP comes with a handy command-line tool:
# 1. Start the Remote Server
archmcp run
# 2. Explore the Catalog in your Terminal
archmcp explore
# 3. Calculate Change Blast Radius
archmcp blast-radius auth-service
# 4. Import a live OpenAPI / Swagger Specification
archmcp import-openapi https://petstore.swagger.io/v2/swagger.json --owner "Commerce Team"š Connecting Your AI Assistant
Once ArchMCP is running (e.g. at http://127.0.0.1:8000/sse), configure your AI tool in seconds:
Google Antigravity IDE
Add to .agents/mcp_config.json:
{
"mcpServers": {
"archmcp": {
"url": "http://127.0.0.1:8000/sse",
"headers": {
"Authorization": "Bearer dev-token-secret-123"
}
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"archmcp": {
"url": "http://127.0.0.1:8000/sse",
"headers": {
"Authorization": "Bearer dev-token-secret-123"
}
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"archmcp": {
"url": "http://127.0.0.1:8000/sse?token=dev-token-secret-123"
}
}
}š 3-Step Quickstart
# 1. Clone & Install
git clone https://github.com/ShubhamScript/archmcp.git
cd archmcp
pip install -e .[dev]
# 2. Run Tests
pytest -v
# 3. Start Server
archmcp runOpen http://localhost:8000/dashboard in your browser to explore your architecture interactively.
š® What's Next on the Roadmap
If expanding ArchMCP for 500+ microservices in a large enterprise:
Semantic Concept Search: Adding
pgvectororsqlite-vecwith local embeddings so developers can ask conceptual questions ("Where does recurring billing live?").Backstage Integration: Auto-syncing from Spotify's Backstage
catalog-info.yaml.Redis Event Bus: Synchronizing active SSE sessions across horizontally scaled container replicas.
Git Webhooks: Automatically updating schemas whenever a PR merges.
š Project Structure
archmcp/
āāā README.md # Project guide & architecture story
āāā pyproject.toml # Dependencies, CLI scripts, and build config
āāā Dockerfile # Container build instructions
āāā docker-compose.yml # Container orchestration
āāā data/
ā āāā repositories.yaml # Sample microservices catalog
āāā src/
ā āāā archmcp/
ā āāā main.py # Server bootstrap
ā āāā cli.py # Developer CLI (run, explore, blast-radius, import-openapi)
ā āāā config/settings.py # Environment settings
ā āāā auth/ # Bearer token verification & ASGI middleware
ā āāā mcp/ # Tools, Resources, Prompts, and SSE route handlers
ā āāā services/ # Blast radius, graph traversal, and search logic
ā āāā ingestion/ # OpenAPI importer, markdown parser, dependency scanner
ā āāā storage/ # In-memory database & token search index
ā āāā web/ # Embedded visualizer and live testing playground
ā āāā models/ # Pydantic schemas (Architecture, BlastRadius, Services)
āāā tests/ # 18 unit & integration testsš License
MIT License. Free for open source and commercial use.
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 Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
MCP server for AI access to Swagger by SmartBear.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
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/ShubhamScript/archmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server