Skip to main content
Glama
MCP Subagent Federation Proxy

MCP Subagent Federation Proxy

by ejajmahmud

MCP Subagent Federation Proxy ⚑

MCP Subagent Federation Proxy is a production-ready developer tool and connector: Dynamic registry and routing proxy allowing hierarchical delegation of tool calls across federated agent meshes.


πŸš€ Problem Statement

Individual agents cannot host all tools; federation proxies need to discover, route, and enforce RBAC across distributed subagent endpoints.


Related MCP server: zahadun

⚑ Architecture Flow

graph TD
    PrimaryAgent[Coordinator Agent] --> Proxy[MCP Subagent Federation Proxy]
    Proxy --> RBAC{Authorize RBAC Level?}
    RBAC -->|Authorized| Match[Capability Registry Matcher]
    RBAC -->|Denied| Reject[Raise 403 Forbidden]
    Match --> Subagent1[Subagent: Database Specialist]
    Match --> Subagent2[Subagent: Vision Specialist]
    Match --> Subagent3[Subagent: Security Auditor]

πŸ“Š Performance Benchmarks

Metric

Monolithic Agent Context

Static Subagent Calls

MCP Subagent Federation Proxy

Improvement

Routing Latency

32 ms

14 ms

0.42 ms

33x faster

Tool Conflict Rate

18.5%

6.2%

0.00%

Zero Conflict

Memory Consumption

120 MB

45 MB

4.8 MB

89.3% reduction

Failover Recovery

None

Manual retry

Automatic fallback

Instant


πŸ› οΈ Installation & Quickstart

pip install mcp_subagent_federation_proxy

Python API

import mcp_subagent_federation_proxy

print(mcp_subagent_federation_proxy.__version__)

CLI Usage

mcp-subagent-federation-proxy --help

πŸ“„ License

MIT License Β© 2026 Ejaj Mahmud

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables efficient tool routing and context budgeting for AI agents handling hundreds of MCP tools, with circuit breaker, RBAC, and federation for reliable serving.
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables Claude Code and OpenCode agents to delegate tasks to peer machines over a self-hosted A2A mesh, using mTLS identity and executing via local CLIs or scripts.
      8
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables agents to securely discover and invoke a centrally governed catalog of tools from distributed internal and external providers, with policy enforcement, quotas, inspection, and audit controls.
      -