Server federation
Register stdio, SSE and Streamable HTTP servers side by side. Local stdio servers are supervised as child processes and exposed over HTTP.
// 001 / 006Core · Connectivity
Expose every tool, service and MCP server through a single endpoint, so your agents get one consistent interface.
The problemEvery MCP client speaks to every MCP server on its own terms: separate URLs, transports, credentials and tool lists. Add a new agent and you re-wire all of it; upgrade a server and every client config drifts.
With PbjPbj terminates all of those connections at one endpoint. Agents connect once over Streamable HTTP or SSE; Pbj federates the upstream servers behind it, merges their tool catalogs into a single namespaced registry and keeps sessions alive across reconnects.
Register stdio, SSE and Streamable HTTP servers side by side. Local stdio servers are supervised as child processes and exposed over HTTP.
Tools, prompts and resources are merged into one catalog as `server.tool`, so two servers can both ship a `search` tool without colliding.
Wrap any REST or GraphQL API as MCP tools from an OpenAPI spec. Agents see typed tools; the upstream stays untouched.
Compose curated subsets of tools into a virtual server per team or per agent, each with its own URL and access policy.
Declare upstream servers in config, the CLI or the Admin API. Health checks start immediately.
Pbj calls tools/list on each upstream, namespaces the results and caches the merged catalog.
Agents point their MCP client at a single gateway URL and authenticate once.
Each call is routed to its owning server; responses and notifications stream back on the same session.
Everything is declarative. Check the file into Git, validate it in CI with Pasti Bahagia Jaya config check, and roll it out like any other change.
1servers:2 github:3 transport: stdio4 command: npx @modelcontextprotocol/server-github5 postgres:6 transport: http7 url: https://mcp.internal/postgres8 billing-api:9 openapi: ./specs/billing.yaml # REST → MCP tools10 11virtual_servers:12 support:13 tools: [github.search_issues, billing-api.*]Publish one approved catalog that every IDE assistant and internal agent consumes.
Turn existing REST services into agent tools without writing an MCP server per API.
Give support, sales and platform teams their own scoped endpoint from the same fleet.