ACI MCP Server
Provides tools to read and configure a live Cisco ACI fabric through the APIC REST API, including fabric health, tenants, application profiles, EPGs, bridge domains, VRFs, contracts, and static path bindings.
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., "@ACI MCP ServerList all tenants on the fabric"
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.
ACI MCP Server
A Model Context Protocol (MCP) server that gives Claude (or any MCP-compatible AI client) natural-language tools to read and configure a live Cisco ACI fabric through the APIC REST API — with confirmation required before any state-changing action, and structural safety checks that can't be bypassed by confirmation alone.
Built and tested against Cisco's free DevNet "ACI Simulator Always-On" sandbox. Full build write-up: (link to HackerNoon article here once published).
Why this exists
Most AI assistants can explain Cisco ACI's object model. This gives Claude the ability to actually operate one — read fabric state, build a real Tenant → Application Profile → EPG → Bridge Domain → VRF hierarchy, apply contracts between EPGs, and audit the result — through conversation, with every write gated behind explicit confirmation.
Related MCP server: EVE-NG MCP Server
Features
15 tools spanning fabric visibility, tenant/application management, the full ACI object hierarchy, and policy enforcement via contracts
Dry-run by default — every state-changing tool describes what it would do and requires a second call with
confirm=Trueto actually apply itUnconditional guardrails where they matter —
delete_tenantrefuses to touchcommon,infra, ormgmtregardless ofconfirmPre-flight dependency checks —
create_bridge_domainandapply_contractverify their target VRF/contract actually exists before creating a reference to it, rather than silently accepting a dangling one (see CHANGELOG.md for the real bug this fixed)A structural audit tool, not just a lister —
get_tenant_detailwalks an entire tenant's object tree in one call and flags anything incomplete
Tool reference
Tool | Type | Description |
| Read | List every tenant on the fabric |
| Read | Fabric-wide health score |
| Read | Active faults filtered by severity |
| Read | EPG static binding + AAEP for a pod/node/interface |
| Read | Full-subtree audit of a tenant, flags incomplete objects |
| Write | Create a tenant |
| Write | Delete a tenant — hard-refuses |
| Write | Create an AP inside a tenant |
| Write | Create an EPG inside an AP, optional BD binding |
| Write | Create a BD with a VRF (pre-flight checked) |
| Write | Bind an existing EPG to an existing BD |
| Write | Create a VRF (Context) inside a tenant |
| Write | Create a contract + filter, optional port restriction |
| Write | Apply a contract between provider and consumer EPGs (pre-flight checked) |
| Write | Bind an EPG to a physical port with a VLAN |
All Write tools require confirm=True to actually execute; called
without it, they return a description of the intended change instead.
Requirements
Python 3.10+ (the
mcpSDK requires it — 3.9 will fail to install it)Access to an APIC controller (a free DevNet sandbox works fine — get current credentials at devnetsandbox.cisco.com, search "ACI Simulator")
An MCP-compatible client (Claude Code, Claude Desktop, etc.)
Setup
git clone https://github.com/<your-username>/aci-mcp-server.git
cd aci-mcp-server
pip install -r requirements.txt
cp .env.example .env
# edit .env with your real APIC_URL / APIC_USER / APIC_PASSWORDSanity check before wiring in an AI client — confirm the server starts cleanly on its own:
python3 aci_mcp_server.pyIt should hang silently (waiting on stdio) with no traceback — that's
success. Ctrl+C to stop.
Registering with Claude Code
claude mcp add aci-lab --scope user -- python3 /full/path/to/aci_mcp_server.pyIf your APIC/environment is only reachable from a remote host (e.g. behind SSH, or inside a container), pass credentials explicitly and route through that instead:
claude mcp add aci-lab --scope user -- ssh user@host docker exec -i \
-e APIC_URL=https://your-apic \
-e APIC_USER=admin \
-e "APIC_PASSWORD=your-password" \
container-name python3 /path/in/container/aci_mcp_server.pyStart a fresh Claude Code session, run /mcp to confirm aci-lab shows
connected with 15 tools, then try:
"List all tenants"
"Check fabric health"
A worked example
docs/testcase_app_to_db.md walks through a
complete test case: building a fresh tenant from nothing — VRF, two Bridge
Domains, an Application Profile, an App-tier EPG and a DB-tier EPG — then
applying a contract that permits only TCP/5432 between them, with the DB
tier correctly configured as the provider and the App tier as the
consumer.
Design notes
MCP is a protocol, not an AI feature. This server works unmodified with any MCP-compatible client — Claude, ChatGPT via its Agents SDK, Gemini, or a local model — since nothing in the code is Claude-specific.
The dry-run/confirm pattern is enforced in code, not by the model's judgment. A write tool called without
confirm=Truecannot reach APIC — the check happens before any network call, not after.Not every guardrail is the same strength on purpose. Most writes are soft-gated (confirm and proceed); deleting a system tenant is hard-gated (no confirmation path exists at all). See
delete_tenant.
Security
.envis git-ignored — never commit real credentials.This is built and tested against a free, shared DevNet sandbox. If you point this at a production APIC, review the credential-handling pattern first — storing a real password as a plaintext environment variable passed on a command line (as shown in the SSH example above) is acceptable for a lab, not for production. Use a proper secrets manager instead.
License
Author
Built by Real Paul — network automation engineer, NetDevOps. More at GitHub and HackerNoon.
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 Model Context Protocol server that provides access to ACI.dev functions (tools) through either direct app-specific tools or a unified interface with dynamic tool discovery and execution based on user intent.251MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables LLMs to manage network topologies, labs, nodes, and configurations in the EVE-NG network emulation platform through a standardized interface.2614
- Alicense-quality-maintenanceA Model Context Protocol server that provides safe, intelligent read/write access to NetBox instances, designed with safety-first principles for Large Language Model automation.4
- AlicenseBqualityDmaintenanceA Model Context Protocol server that integrates with Nautobot to provide network automation and infrastructure data to AI assistants like Claude, allowing them to query and interact with network Source of Truth systems.51MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI dialogue using various LLM models via AceDataCloud
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/realpaul3907/aci-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server