Skip to main content
Glama
Rajmohan80

Agentic Control Plane (ACP)

by Rajmohan80

Agentic Control Plane (ACP)

Rajmohan Mangattu | CCIE Collaboration #55207

LAB PROTOTYPE — built to demonstrate governed agentic AI architecture at enterprise scale, combining years of Cisco UC/CC/networking expertise with modern AI engineering.

---

What this is

The Agentic Control Plane (ACP) is a governed MCP (Model Context Protocol) server that sits between AI agents and domain knowledge — enforcing OAuth 2.1 scope checking, policy-driven access control, and a full audit trail on every tool call.

It is not a chatbot. It is the governance layer that enterprise AI deployments need before autonomous agents can be trusted in regulated industries.

---

Related MCP server: network-mcp-server

The A2A boundary — what this demonstrates

Natural language question
        ↓
network\_caller.py (MCP client)
  — grounds LLM with real inventory
  — Groq picks tool + parameters
  — validates against real topology
        ↓  real MCP protocol over HTTP
ACP on port 8100 (MCP server)
  — decodes JWT token
  — checks control\_hub.yaml policy
  — runs domain tool
  — writes audit line
        ↓
Prose answer + governed audit trail

Demo run:

Question : "What is the device in Mumbai branch?"
Groq picks: check\_device\_role(node=branch-cedge-01)
ACP says  : ALLOWED — governance passed
Answer    : Cisco ISR1100 IOS-XE SD-WAN cEdge, spoke role,
            5 peers, dual-transport MPLS + internet
Audit     : tool=check\_device\_role decision=ALLOWED written to audit.readable.log

---

Architecture

┌─────────────────────────────────────────────────────────┐
│  network\_caller.py — A2A caller                         │
│  Groq tool router + validation guard + prose writer     │
└──────────────────────────┬──────────────────────────────┘
                           │ MCP protocol (HTTP port 8100)
                           ▼
┌─────────────────────────────────────────────────────────┐
│  ACP governed MCP server                                │
│  ┌──────────────────┬──────────────────────────────┐   │
│  │ Track C          │ Track N                       │   │
│  │ search\_wxcc\_     │ describe\_topology             │   │
│  │ corpus           │ find\_path                     │   │
│  │                  │ check\_device\_role             │   │
│  └──────────────────┴──────────────────────────────┘   │
│  OAuth 2.1 scopes + control\_hub.yaml + audit trail      │
└─────────────────────────────────────────────────────────┘

Two domain modules

Track C — Contact Center Searches a corpus of 2,633 chunks of Cisco Webex Contact Center knowledge (BGE-M3/1024-dim embeddings, Qdrant Cloud). Returns Tier 1 sourced, grounded answers to specific deployment, compliance, and design questions — with provenance tracking so every answer traces back to its source document.

Track N — Network Three tools over a Cisco SD-WAN topology descriptor (9 nodes, 11 links):

  • describe\_topology — nodes, links, sites, SD-WAN hub/spoke summary

  • find\_path — BFS shortest L3 hop path between any two nodes

  • check\_device\_role — role, platform, and peer connections for a named node

Governance on every call

Every tool call goes through two checks before the domain function runs:

  1. Group policy — is this tool Allowed or Blocked for the caller's group in control\_hub.yaml?

  2. Scope check — does the JWT token carry the required scope (knowledge:read or diagnostics:run)?

Both refusal types write distinct audit lines to audit.readable.log with the reason. Allowed calls write an ALLOWED line. Nothing reaches the domain tool without passing both checks.

---

Key design decisions

ACP has its own direct path to the data Rather than routing through the WxCC SLM's API, ACP keeps its own database client and embedder. This means the two systems are independent — if the SLM goes down, ACP still works. They share the data, not the code.

Governance is a parameter, not a dependency The governance function is passed into each tool as an argument rather than imported directly. This keeps the code clean and avoids circular dependencies — the tool doesn't need to know anything about the server that hosts it.

The LLM proposes, the code decides When the A2A caller asks Groq to pick a tool parameter (like a node name), it doesn't just trust the answer blindly. Every parameter is checked against the real data before any call goes to ACP. If the LLM guesses a node that doesn't exist, the caller rejects it and shows what's actually available. This is the difference between a demo that works in a happy path and one that's safe in a real network.

One missing config line caused "Session terminated" FastMCP's HTTP transport needs its session manager wired into the Starlette app startup. Without lifespan=mcp\_app.lifespan, the server starts but immediately rejects every client connection. This is documented in docs/BLOCK\_5A\_MCP\_TRANSPORT.md so it never costs anyone else two hours.

---

How to run

Prerequisites

  • Python 3.11 (ACP venv)

  • Qdrant Cloud account — collection wxcc\_slm\_corpus

  • Groq API key — https://console.groq.com/keys

  • BGE-M3 cached at D:\\hf\_cache (or set HF\_HOME to your cache path)

Setup

git clone https://github.com/Rajmohan80/project-acp.git
cd project-acp
python -m venv .venv
.venv\\Scripts\\activate
pip install -e .
cp .env.example .env
# Fill in .env with your real values

Run the A2A demo (two terminals)

Terminal 1 — start ACP server:

python scripts\\run\_mcp\_server.py

Wait for: Uvicorn running on http://0.0.0.0:8100

Terminal 2 — run the A2A caller:

python scripts\\network\_caller.py --question "What is the device in Mumbai branch?"

Try --group viewers to see governance block the flow.

Run the WxCC corpus tool demo

python scripts\\demo\_wxcc.py --query "What are the WxCC data residency requirements for UAE?"

Run the Track N topology tools demo

python scripts\\demo\_network.py

---

Repository structure

src/
  core/
    mcp/
      server/app.py          — governed MCP server, all tools registered
      control\_hub.yaml       — allow/block policy per group per tool
      oauth/issuer.py        — JWT token minter (port 9000)
    audit/writer.py          — every decision → audit.readable.log
    common/config.py         — settings from .env, fails loud on missing vars
  domains/
    contact\_center/
      corpus\_client.py       — BGE-M3 + Qdrant client (Track C)
      tool.py                — search\_wxcc\_corpus governed tool
    network/
      topology\_store.py      — JSON topology loader, BFS path finder
      tool.py                — describe\_topology, find\_path, check\_device\_role
      topologies/
        sample\_sdwan\_branch.json  — 9-node SD-WAN topology descriptor
scripts/
  run\_mcp\_server.py          — starts ACP as standing HTTP service
  network\_caller.py          — A2A caller (grounded LLM + MCP client)
  demo\_wxcc.py               — Track C validation
  demo\_network.py            — Track N validation (6 runs)
docs/
  naming-map.md              — ACP ↔ Cisco concept mapping
  BLOCK\_5A\_MCP\_TRANSPORT.md  — how the MCP HTTP transport was wired
  BLOCK\_5\_A2A\_BOUNDARY.md    — A2A boundary design and validated output
  A2A\_FLOW\_DIAGRAM.md        — flow diagram + step-by-step explanation

---

Governance proof — what the audit log shows

After running the demo, audit.readable.log contains entries like:

{"actor": "demo.engineer", "tool": "check\_device\_role",
 "outcome": "ALLOWED", "refusal\_reason": "NONE", ...}

{"actor": "demo.viewer", "tool": "check\_device\_role",
 "outcome": "REFUSED", "refusal\_reason": "TOOL\_BLOCKED\_IN\_CONTROL\_HUB", ...}

Two callers, same tool, different outcomes — based purely on the signed JWT token's group claim. The governance layer cannot be bypassed.

---

---

Stack

Component

Technology

MCP server

FastMCP 3.4.5 (streamable-http)

OAuth issuer

FastAPI + python-jose (JWT)

Policy enforcement

control_hub.yaml (YAML, no code change needed)

Audit trail

TinyDB → audit.readable.log

Embeddings

BGE-M3 (BAAI/bge-m3, 1024-dim, sentence-transformers)

Vector DB

Qdrant Cloud

LLM

Groq Llama-3.3-70B-versatile

Runtime

Python 3.11, uvicorn

---

Rajmohan Mangattu | CCIE Collaboration #55207 Lab prototype — not production ready. Built to demonstrate governed agentic AI architecture for enterprise contact center and network domains.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    C
    maintenance
    A governed MCP server for integrating AI agents with customer data, featuring role-based access control, field redaction, and human-in-the-loop approval for secure support operations.
    Last updated
    1
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server that acts as a governance proxy for AI agents, evaluating each tool call against policies before execution, enabling secure and controlled access to systems like Slack, GitHub, and AWS without exposing credentials to the agent.
    Last updated
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

View all MCP Connectors

Latest Blog Posts

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/Rajmohan80/project-acp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server