Cisco Secure Firewall FMC MCP Connector
OfficialProvides tools for managing Cisco Secure Firewall Management Center (FMC), including listing FMC profiles, searching access rules by IP or FQDN, resolving FTD devices to assigned policies, and performing FMC-wide rule searches with identity indicators such as SGT, realm user, or group.
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., "@Cisco Secure Firewall FMC MCP Connectorlist my FMC profiles"
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.
Cisco Secure Firewall FMC MCP Connector
MCP server that exposes high-level tooling for Cisco Secure Firewall Management Center (FMC). Core tools:
list_fmc_profiles– discover configured FMC instances.find_rules_by_ip_or_fqdn– search a specific access policy.find_rules_for_target– resolve an FTD device/HA/cluster to its assigned policies and search them.search_access_rules– FMC-wide searches with indicator + policy filters, including identity indicators (SGT, realm user/group).
1. Configure FMC access
Single FMC (env mode)
Copy .env.example to .env (or export env vars) and fill in at least:
FMC_BASE_URL=https://<fmc-host>
FMC_USERNAME=<api-user>
FMC_PASSWORD=<password>
FMC_VERIFY_SSL=falseMultiple FMCs (profile mode)
Define one env file per FMC under profiles/. Copy profiles/.env.example to a new filename (e.g., profiles/fmc-north-south.env) and fill it:
FMC_PROFILE_ID=fmc-north-south
FMC_PROFILE_DISPLAY_NAME=FMC North-South
FMC_PROFILE_ALIASES=north,north-south,10.0.0.5
FMC_BASE_URL=https://10.0.0.5
FMC_USERNAME=adminapi
FMC_PASSWORD=***
FMC_VERIFY_SSL=falsePoint the server at this directory:
FMC_PROFILES_DIR=profiles
FMC_PROFILE_DEFAULT=fmc-north-southWhen FMC_PROFILES_DIR is set, the server auto-loads every *.env file in that folder and exposes them via list_fmc_profiles. If it’s unset, the single-FMC env variables are used.
Logging and HTTP tracing
Logging levels can be set in the active profile file (profile mode) or in the root .env (single-FMC mode or Docker env). The default profile’s logging values are applied at startup.
LOG_LEVEL=DEBUG # overall app logging
HTTPX_TRACE=1 # log FMC request URLs and status codes
HTTPX_LOG_LEVEL=WARNING # httpx/httpcore verbosity (default WARNING)Notes:
In profile mode, put these in the default profile file (the one named by
FMC_PROFILE_DEFAULT).In Docker, the root
.env(ordocker-compose.ymlenvironment) must still provide server-level settings likeFMC_PROFILES_DIR,FMC_PROFILE_DEFAULT,MCP_HOST, andMCP_PORT.
Related MCP server: Cisco FMC MCP Server
2. Run the MCP server
Transport selection
The transport is chosen with the MCP_TRANSPORT environment variable:
| Behavior | Typical use |
| Server speaks MCP over stdin/stdout. No network port is opened. | Desktop MCP clients that spawn the server as a subprocess (Claude Desktop, VS Code, Cursor, etc.). |
| Server listens on | Shared/remote deployments, Docker, multiple concurrent agents. |
If MCP_TRANSPORT is unset, the server starts in stdio mode.
Docker
docker compose up -d --buildDocker deployments use the HTTP transport (set MCP_TRANSPORT=http, MCP_HOST, and MCP_PORT in .env or docker-compose.yml). The compose file expects your .env in the repo root (or point env_file at a specific profile file). Rebuild after changing requirements.txt or profile files.
Local Python (stdio)
stdio is the default transport and the simplest way to run the server locally — an MCP-aware client launches it as a subprocess and communicates over stdin/stdout, so no port is exposed.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
MCP_TRANSPORT=stdio python -m sfw_mcp_fmc.serverRunning the command above by hand will appear to “hang” — that is expected, because the process is waiting for an MCP client to talk to it over stdin/stdout. Normally you let your MCP client start it for you using a config like this:
{
"mcpServers": {
"cisco-fmc": {
"command": "python",
"args": ["-m", "sfw_mcp_fmc.server"],
"cwd": "/absolute/path/to/CiscoFMC-MCP-server-community",
"env": {
"MCP_TRANSPORT": "stdio",
"FMC_PROFILES_DIR": "profiles",
"FMC_PROFILE_DEFAULT": "fmc-north-south"
}
}
}
}Notes for stdio mode:
Point
commandat the interpreter from your virtualenv (e.g..venv/bin/python) so dependencies resolve, or ensurepythonis the right one onPATH.Set
cwdto the repo root so relative paths likeFMC_PROFILES_DIR=profilesresolve.For single-FMC mode, drop the profile vars and provide
FMC_BASE_URL/FMC_USERNAME/FMC_PASSWORDinstead (inenvor a root.env).In stdio mode the server must not print anything to stdout except MCP traffic; logging goes to stderr, so keep custom logging on stderr.
Local Python (HTTP)
To expose the server over the network instead, opt into the HTTP transport:
MCP_TRANSPORT=http MCP_HOST=0.0.0.0 MCP_PORT=8000 python -m sfw_mcp_fmc.serverThis serves the endpoint at http://0.0.0.0:8000/mcp for local/dev. When exposing it publicly, front it with HTTPS such as https://<host>:8000/mcp. Logs show which FMC profiles loaded.
Note on HTTP bearer auth
Prior README versions described MCP_AUTH_TOKEN, but current FastMCP clients do not enforce it reliably, so the server runs without bearer auth. If you want to continue experimenting with a token-backed flow, you can keep the env var and wire up proxy-level auth or contribute a working implementation in this repo.
3. Manual testing
client/test_client.py is an interactive harness that:
Calls
list_fmc_profilesto display the available FMCs and lets you select one.Invokes the tools with your inputs (indicator, target, policy filters).
Run it from your host while the MCP server is up:
python client/test_client.py4. Automated tests
Unit tests cover configuration parsing, profile discovery, and the rule-search engine (network + identity indicators). Execute locally or inside the container:
pip install -r requirements.txt # once per environment
python -m pytest tests5. Integrating with LLM agents
Because the server follows the MCP protocol (via FastMCP), any MCP-aware agent platform can consume it:
Register the MCP endpoint (stdio or HTTP). For stdio, configure the client to spawn
python -m sfw_mcp_fmc.serverwithMCP_TRANSPORT=stdio(see the stdio config example above). For HTTP, point tohttps://<host>:8000/mcpwhen exposed publicly (usehttp://localhost:8000/mcpfor local/dev).From the agent, call
list_fmc_profilesto pick an FMC (byidor alias).Call the other tools with
fmc_profileplus your indicator/filters.Consume the structured JSON responses to drive subsequent steps (summaries, remediation, follow-up searches).
This enables a single MCP instance to front multiple FMCs for humans or automated agents alike.
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.
Latest Blog Posts
- 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/CiscoDevNet/CiscoFMC-MCP-server-community'
If you have feedback or need assistance with the MCP directory API, please join our Discord server