FastMCP server for the Cisco Catalyst SD-WAN Manager (vManage) API, generated dynamically from the official OpenAPI specs.
Project description
catalyst-sdwan-super-mcp
A FastMCP server that exposes the Cisco Catalyst SD-WAN Manager (vManage) REST API as MCP tools, so any MCP-compatible LLM client (Claude Desktop, Claude Code, Cursor, …) can query and manage your SD-WAN overlay.
Tools are generated dynamically from the official OpenAPI specs — drop in a new spec, the tools rebuild themselves. No per-version Python.
Documentation: https://thomaschristory.github.io/catalyst-sdwan-super-mcp/
Try it in 60 seconds against the Cisco DevNet sandbox
git clone https://github.com/thomaschristory/catalyst-sdwan-super-mcp.git
cd catalyst-sdwan-super-mcp
uv sync
# Credentials for Cisco's public always-on SD-WAN sandbox
cat > .env <<'EOF'
VMANAGE_USERNAME=devnetuser
VMANAGE_PASSWORD=RG!_Yw919_83
EOF
uv run sdwan-mcp # stdio, read-only, adaptive tool splitting (default)
The shipped sdwan-mcp.yaml points at sandbox-sdwan-2.cisco.com and ships specs for vManage 20.15, 20.16, and 20.18 in specs/. 20.18 is the default. You don't need a vManage of your own to try it.
Supported vManage versions: 20.15+. Older releases are out of scope — see issue #13.
Install from PyPI
uv tool install catalyst-sdwan-super-mcp
sdwan-mcp --help
The PyPI package ships the server only — no bundled specs. On first run the loader auto-fetches the spec for sdwan.active_version from developer.cisco.com and writes it under sdwan.specs_dir (set sdwan.auto_fetch: false to opt out, e.g. for air-gapped deployments). For predictable behaviour you can pre-warm with sdwan-mcp fetch --version 20.18. Full instructions: docs/getting-started/install.md.
What you get
- Adaptive tool splitting. A size-driven splitter (
max_actions_per_tool, default 150) chops huge OpenAPI sections into right-sized tools — 360 tools on 20.18 RW out of the box, all under the cap. See docs/guides/tool-splitting.md. - Read-only by default.
--read-writeregisters POST/PUT/DELETE/PATCH explicitly. - Two auth modes to vManage: JWT (vManage 20.18.1+) and JSESSIONID + XSRF (older).
- Three transports: stdio, SSE, streamable-HTTP. The HTTP transports ship with first-class bearer-token auth (
transport.auth.type: bearer) and auto-demote non-loopback binds to127.0.0.1when no auth is configured. See docs/guides/mcp-clients.md. - Response pagination for bulk endpoints. The dispatcher auto-follows scroll and offset endpoints up to a configurable cap and returns a stitched payload with a resumable cursor. See docs/guides/pagination.md.
- Configurable retry + timeout on the httpx client. Transient
5xxand connection errors retry with exponential backoff + jitter; mutating verbs are skipped by default. See docs/reference/configuration.md. - Auto-fetch specs. Bump
sdwan.active_versionand the loader pulls the matching spec fromdeveloper.cisco.comon startup. Pre-warm explicitly withsdwan-mcp fetch --version <V>or list known versions withsdwan-mcp list-versions. See docs/guides/spec-versions.md. - Version diff:
sdwan-mcp --diff 20.15 20.18shows added/removed/changed operations before upgrade. - Docker: multi-stage image, specs mounted as a volume so versions ship without rebuilding.
Project layout
sdwan_mcp/ source package
server.py entrypoint, CLI, subcommands (fetch, list-versions)
config.py YAML + env interpolation
loader.py spec loading, adaptive splitting, indexing
auth.py JWT + session login to vManage
transport_auth.py bearer-token middleware for SSE / streamable-HTTP
dispatcher.py httpx client, retry + timeout, param routing
pagination.py scroll + offset auto-follow
fetcher/ live spec ingestion from developer.cisco.com (20.16+)
tools.py dynamic MCP tool registration
diff.py version diff utility
tests/ pytest suite (respx for HTTP)
docs/ mkdocs-material site, deployed to GitHub Pages
specs/{version}/ OpenAPI YAML/JSON, one folder per vManage version
.github/workflows/ lint, test, docker, docs, release
Architecture quick look
See docs/architecture/overview.md. At a glance:
LLM ──(MCP)──► FastMCP ──► tools.py ──► dispatcher.py ──► httpx ──► vManage
▲ │
│ auth.py ◄───────┘
loader.py
▲
specs/{version}/*.{yaml,json}
Status
Pre-1.0. Read-only is the safe default and the recommended starting posture; --read-write opt-in is exercised against the DevNet sandbox. Released versions are tagged on PyPI and tracked in CHANGELOG.md. Open work is on the issue tracker.
License: Apache 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file catalyst_sdwan_super_mcp-0.2.2.tar.gz.
File metadata
- Download URL: catalyst_sdwan_super_mcp-0.2.2.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6af16e61d885a97363701d33d24201091ec863fda2e396e638c28c75fe057a
|
|
| MD5 |
7a7b53624a7219285dbd713043f9e9ca
|
|
| BLAKE2b-256 |
7bda04df93276042f2c97d7201c16ffc79c3b42adbd1c076b157760b65f6b5ee
|
Provenance
The following attestation bundles were made for catalyst_sdwan_super_mcp-0.2.2.tar.gz:
Publisher:
release.yml on thomaschristory/catalyst-sdwan-super-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
catalyst_sdwan_super_mcp-0.2.2.tar.gz -
Subject digest:
1b6af16e61d885a97363701d33d24201091ec863fda2e396e638c28c75fe057a - Sigstore transparency entry: 1790161488
- Sigstore integration time:
-
Permalink:
thomaschristory/catalyst-sdwan-super-mcp@11fce7423bc890757e749b3975f268df5a76babf -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/thomaschristory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@11fce7423bc890757e749b3975f268df5a76babf -
Trigger Event:
push
-
Statement type:
File details
Details for the file catalyst_sdwan_super_mcp-0.2.2-py3-none-any.whl.
File metadata
- Download URL: catalyst_sdwan_super_mcp-0.2.2-py3-none-any.whl
- Upload date:
- Size: 49.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c41c5cecd6e2ab00289e1f39e05fe13912746bc5f01711e504a9a5de8fa89a
|
|
| MD5 |
c924c8108f606dc68b0f67fefedabd37
|
|
| BLAKE2b-256 |
d13ee87fb532c53e57e6f04c1fe95b2231a6aa5b25405d04cf448e47e792e1f5
|
Provenance
The following attestation bundles were made for catalyst_sdwan_super_mcp-0.2.2-py3-none-any.whl:
Publisher:
release.yml on thomaschristory/catalyst-sdwan-super-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
catalyst_sdwan_super_mcp-0.2.2-py3-none-any.whl -
Subject digest:
e8c41c5cecd6e2ab00289e1f39e05fe13912746bc5f01711e504a9a5de8fa89a - Sigstore transparency entry: 1790161654
- Sigstore integration time:
-
Permalink:
thomaschristory/catalyst-sdwan-super-mcp@11fce7423bc890757e749b3975f268df5a76babf -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/thomaschristory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@11fce7423bc890757e749b3975f268df5a76babf -
Trigger Event:
push
-
Statement type: