agent-control-plane
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., "@agent-control-planeDeploy a production control plane for my agents with scoped grants and cost monitoring."
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.
š° agent-control-plane
The systems layer around an agent ā not another agent.
Anyone can wire up a model and some tools. What decides whether it survives production is the layer around it: a portable tool surface, scope grants the model cannot argue with, failure modes you can name and detect, and a bill you can predict before it arrives.
git clone https://github.com/sujithnsn953/agent-control-plane
cd agent-control-plane
python examples/demo.py # all four, ~0.1s, no API key
pytest # 55 testsZero runtime dependencies ā the MCP server, both transports and the HTTP conformance tests are standard library only. There is no framework between the code and the spec.
Three things, each enforced in code
1. A spec-correct MCP server ā protocol 2025-11-25
Not a wrapper around someone else's SDK. JSON-RPC 2.0 framing, lifecycle, and both standard transports, written against the spec's MUSTs with a conformance test for each rule that is easy to get wrong:
Rule | Where | Test |
stdout carries only MCP messages; logs go to stderr |
| |
Framing must never contain an embedded newline |
| |
|
|
|
|
|
|
Missing |
|
|
Unsupported version ā 400 |
|
|
|
|
|
Unknown/terminated session ā 404, so the client restarts |
|
|
Notification input ā 202, no body, never answered |
|
|
No server-initiated stream ā GET returns 405 |
|
|
Two decisions worth defending:
Version negotiation doesn't echo. If a client requests a version we don't speak, the server replies with its own latest rather than parroting the request back. Echoing claims support you don't have, and the client finds out the hard way.
Tool failure is a result, not a protocol error. A tool that raises returns
isError: true so the model can see it and adapt. JSON-RPC errors are reserved for
protocol faults ā which keeps "the agent misbehaved" separable from "the transport did".
2. Orchestration with failure modes that are detected, not described
A supervisor plans and delegates. Workers hold scoped tool grants. A critic reviews. The supervisor holds no tools at all ā so a confused supervisor wastes tokens rather than causing side effects, and every side effect traces to exactly one scoped worker.
Seven named pathologies, each detectable as a pure function of the run record, each
driven deliberately in test_failure_modes.py:
Mode | What it looks like |
| the same assignment reissued forever because the result won't parse |
| success reported with no content; emptiness propagates into the answer |
| the reviewer never signs off |
| every agent appends, none compacts; the run dies of context length |
| a worker reaches outside its grant ā OWASP LLM06 Excessive Agency |
| success claimed while subtasks failed ā the most dangerous, because nothing looks broken |
| planned, then never assigned or never returned |
critic_deadlock is the one I'd read first. Bounding the loop stops the budget bleeding,
but a run that exits early because the synthesis stopped changing is still a run whose
reviewer never accepted the answer. Flagging only on the round limit would hide exactly
the case the bound was added to handle ā so the detector covers both.
3. Cost governance ā the question that separates shipped from demoed
Hiring guides put it bluntly: someone who has never reasoned about inference cost has never shipped under a budget.
routing 8/10 calls down: $0.0738 vs $0.225 always-frontier (67.2% saved)
prefix reused 1x : caching LOSES money (breakeven at 1.278 calls)
prefix reused 2x : worth caching
per-run P&L : $0.044500 of $0.5 ceiling
supervisor:synthesis $0.042500
reader:t1 $0.002000Prompt-cache breakeven is independent of prefix size. Writing to cache costs more than a normal input token; reading costs far less. Set the two totals equal and the prefix length cancels:
N* = (cache_write ā cache_read) / (input ā cache_read)So "is my prompt big enough to cache?" is the wrong question. "Will I reuse it enough times?" is the right one ā and for a prefix you touch once, caching is a straight loss. There's a test for that.
Routing escalates on evidence, never on a guess ā a declared complexity or an actual failure ā and every decision records why. A routing layer you can't audit is one nobody will trust with production traffic.
The ceiling is enforced, not advisory. charge() raises when the budget is gone, and
a rejected charge is never recorded ā a ledger that logs charges it refuses can't be
reconciled against the provider's bill.
Related MCP server: production-grade-mcp-agentic-system
How this fits the other two repos
This is the platform; those are its components.
secure-rag-assistant ā a prompt instruction is not a security control: redaction before embedding, scope filtering before ranking, 39 security tests.
pharma-ops-agent ā a correct final answer is not a working agent: trajectory evaluation, budgets, loop detection, and a CI release gate.
pharma-supply-intelligence ā the data platform underneath: Event Hubs ā Databricks medallion ā XGBoost ā FastAPI, Terraform-provisioned and run live on Azure.
Three focused libraries and one platform composing them, which is how real teams build ā and a better signal than one repo trying to do everything.
Roadmap
Phase 1 is what's here. Next: OpenTelemetry GenAI tracing, working/episodic memory with write policies, hybrid retrieval (BM25 + vector) with recall@k, and a human-in-the-loop approval queue with a kill switch for irreversible actions.
A note on the numbers
Model prices move constantly. The table in pricing.py
is illustrative and configurable ā verify_prices_before_use exists so nobody ships a
cost model built on a stale constant. The arithmetic is the durable part; the rates are
data you supply.
License
MIT ā see LICENSE.
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 Servers
- Alicense-qualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.Last updated54MIT
- Alicense-qualityAmaintenanceA local-first control plane for AI agent tools, providing policy enforcement, spend caps, rate limiting, and audit trails for MCP servers.Last updated1Apache 2.0
- Alicense-qualityBmaintenanceCentralized MCP control plane that proxies multiple upstream MCP servers with tool namespacing, filtering, policy enforcement, audit logging, and health checks.Last updated7MIT
Related MCP Connectors
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
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/sujithnsn953/agent-control-plane'
If you have feedback or need assistance with the MCP directory API, please join our Discord server