┌─────────────────────────────────────────────────────────────────┐
│ MCP Clients │
│ (Claude Desktop, Cursor, VS Code, Claude Code, Codex, Goose)│
└─────────────────────────────┬───────────────────────────────────┘
│ MCP Protocol (stdio/HTTP)
▼
┌─────────────────────────────────────────────────────────────────┐
│ Ultra │
│ │
│ ┌───────────────────────────────────────────────────────────┐ │
│ │ Transport Layer │ │
│ │ (stdio, HTTP/SSE, Streamable HTTP) │ │
│ └───────────────────────────┬───────────────────────────────┘ │
│ │ │
│ ┌───────────────────────────▼───────────────────────────────┐ │
│ │ Pipeline (Interceptors) │ │
│ │ │ │
│ │ ┌───────┐ ┌─────────┐ ┌───────┐ ┌─────────┐ │ │
│ │ │ Trace │→ │ Logging │→ │ Audit │→ │ Metrics │ │ │
│ │ │ (0) │ │ (75) │ │ (75) │ │ (100) │ │ │
│ │ └───────┘ └─────────┘ └───────┘ └─────────┘ │ │
│ └───────────────────────────┬───────────────────────────────┘ │
│ │ │
│ ┌───────────────────────────▼───────────────────────────────┐ │
│ │ Aggregator │ │
│ │ (Tool namespacing, routing, OAuth) │ │
│ └──┬──────────────┬──────────────┬──────────────┬───────────┘ │
│ │ │ │ │ │
└─────┼──────────────┼──────────────┼──────────────┼──────────────┘
│ │ │ │
▼ ▼ ▼ ▼
┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
│ Upstream │ │ Upstream │ │ Upstream │ │ Upstream │
│ Server 1 │ │ Server 2 │ │ Server 3 │ │ Server N │
│ (stdio) │ │ (HTTP) │ │ (SSE) │ │ ... │
└───────────┘ └───────────┘ └───────────┘ └───────────┘
Storage Layer
┌─────────────────────────────────────────────┐
│ ┌─────────┐ ┌─────────┐ ┌─────────────┐ │
│ │ Memory │ │ SQLite │ │ PostgreSQL │ │
│ │ (test) │ │ (local) │ │ (cloud) │ │
│ └─────────┘ └─────────┘ └─────────────┘ │
└─────────────────────────────────────────────┘