Skip to main content

MCP Servers Overview

Benchmarked against: Anthropic — MCP in the API / MCP connector Protocol: Model Context Protocol (MCP) — open standard Architecture: Multiple concurrent MCP servers per agent session

SuperPortia agents connect to multiple MCP servers simultaneously. Each server exposes a set of tools for a specific domain — knowledge management, infrastructure, database operations, browser automation, and more. This page describes the server architecture and how they fit together.


Server architecture

All servers run concurrently. The agent chooses which tool to call based on the task at hand — the MCP protocol handles routing to the correct server.


Server catalog

ServerTypeTransportToolsPurpose
Local UBICustomstdio~30Knowledge base, WO system, dispatch, file ops, intel
Cloud UBCustomHTTP~20Cloud knowledge base, WO system, messaging, fleet ops
CloudflareOfficialHTTP2Infrastructure API search + execute
SupabaseOfficialHTTP~25Database management, migrations, edge functions
ChromeExtensionWebSocket~15Browser automation, screenshots, page interaction
Claude PreviewBuilt-instdio~15Dev server management, preview, testing
MemoryBuilt-instdio~8Knowledge graph (entities, relations, observations)
FilesystemBuilt-instdio~10File system read/write/search

Custom vs official servers

Custom servers (built by SuperPortia)

ServerCodebaseMaintained by
Local UBIub/ directory — Python MCP serverEngineering team
Cloud UBss3-cloud-ub/ — Cloudflare Worker (TypeScript)Engineering team

These are the core servers that implement SuperPortia-specific functionality: the Universal Brain, Work Order system, Agent Messaging, Intelligence Operations, and Dispatch Engine.

Official servers (third-party)

ServerProviderConfiguration
CloudflareCloudflareAPI token in MCP config
SupabaseSupabaseProject ref + API key in MCP config
ChromeClaude in Chrome extensionBrowser extension
Claude PreviewClaude CodeBuilt into Claude Code
MemoryClaude CodeKnowledge graph MCP
FilesystemClaude CodeFilesystem access MCP

Official servers are configured in the Claude Code MCP settings and used as-is. They provide infrastructure access without custom code.


Server deployment model

LayerServersShared?
Per-shipLocal UBI, Chrome, Preview, Memory, FilesystemNo — each ship runs its own
Cloud (shared)Cloud UB, Cloudflare, SupabaseYes — all ships connect to same instance

This architecture means:

  • Local UBI has access to the ship's filesystem (for file ops, code search, local dispatch)
  • Cloud UB is the single source of truth for knowledge, work orders, and messaging
  • Both expose similar UB tools — the agent uses Cloud UB for cross-ship data, Local UBI for ship-specific operations

Configuration

MCP servers are configured in the Claude Code settings file. Each server definition includes:

{
"mcpServers": {
"server-name": {
"command": "python",
"args": ["-m", "ub.mcp_server"],
"env": {
"SP_SHIP_ID": "SS1",
"SP_AGENT_ID": "Mac CLI 小克"
}
}
}
}
FieldPurpose
commandExecutable to start the server
argsCommand-line arguments
envEnvironment variables (ship ID, agent ID, API keys)

For HTTP-based servers (Cloud UB, Cloudflare, Supabase), configuration includes the remote URL and authentication tokens.


Tool naming convention

When multiple servers expose tools, the full tool name includes the server identifier:

mcp__{server-id}__{tool-name}

Examples:

  • mcp__ubi__search_brain — Local UBI's search
  • mcp__ss3-cloud-ub__search_brain — Cloud UB's search
  • mcp__5595db01-...__search_brain — Local UBI (by UUID)

The agent sees all tools from all servers and chooses based on context.


PageRelationship
MCP Tools OverviewComplete tool catalog across all servers
How to Add an MCP ToolAdding tools to existing servers
Cloud UB MCPCloud knowledge base server
Local UBI MCPShip-local MCP server
UB GovernanceRules governing UB operations