Cisco FMC MCP Server

Cisco FMC MCP Server

A read-only Model Context Protocol server that enables LLMs to query Cisco Firepower Management Center (FMC) for firewall configurations, network objects, and deployment status. It features automatic token management and built-in rate limiting to safely interact with FMC 7.4.x instances through natural language.

Category
Visit Server

README

MCP Server for Cisco FMC

A read-only Model Context Protocol (MCP) server for Cisco Firepower Management Center (FMC) 7.4.x.

This server allows LLMs like Claude to query your firewall configuration, search for network objects, and check deployment status—all through natural language.

Features

  • Read-Only Access: Safe exploration of FMC configuration without modification risk
  • Rate Limiting: Built-in token bucket rate limiter (120 req/min, 10 concurrent connections)
  • Automatic Token Refresh: Handles FMC's 30-minute token expiration and 3-refresh limit
  • Transparent Pagination: Automatically fetches all pages from large datasets

MCP Resources

Resource Description
fmc://system/info FMC server version and system information
fmc://devices/list List of all managed firewall devices
fmc://objects/network All network objects (IPs, subnets)
fmc://deployment/status Devices with pending changes

MCP Tools

Tool Description
search_object_by_ip Find network objects containing a specific IP
get_deployment_status Check if devices are in sync

Installation

Prerequisites

  • Python 3.10+
  • uv (recommended) or pip
  • Access to a Cisco FMC 7.4.x instance

Using uv (Recommended)

# Clone the repository
git clone https://github.com/your-org/fmc-mcp.git
cd fmc-mcp

# Install dependencies
uv sync

Using pip

pip install -e .

Configuration

  1. Copy the example configuration:
cp .env.example .env
  1. Edit .env with your FMC credentials:
FMC_HOST=fmc.example.com
FMC_USERNAME=api_user
FMC_PASSWORD=your_password_here

Configuration Options

Variable Required Default Description
FMC_HOST Yes - FMC hostname or IP
FMC_USERNAME Yes - API username
FMC_PASSWORD Yes - API password
FMC_VERIFY_SSL No false SSL certificate verification
FMC_DOMAIN_UUID No auto Domain UUID (auto-discovered)
FMC_TIMEOUT No 60 Request timeout in seconds

Usage

Running the Server

# Using uv
uv run python -m fmc_mcp

# Or using the CLI entry point
uv run mcp-server-fmc

Testing Connection

uv run python -c "from fmc_mcp.client import FMCClient; import asyncio; asyncio.run(FMCClient().test_connection())"

Claude Desktop Integration

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "fmc": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/fmc-mcp", "python", "-m", "fmc_mcp"]
    }
  }
}

Then restart Claude Desktop and try:

  • "What version is my FMC running?"
  • "List all firewall devices"
  • "Find the network object for IP 10.10.10.5"
  • "Are there any pending deployments?"

MCP Inspector Testing

# Install MCP Inspector
npx @anthropic/mcp-inspector

# Run the server
uv run python -m fmc_mcp

Development

Running Tests

# Run all tests
uv run pytest -v

# Run with coverage
uv run pytest --cov=src/fmc_mcp --cov-report=term-missing

Code Quality

# Linting
uv run ruff check src/ tests/

# Type checking
uv run mypy src/

API Rate Limits

The FMC API has strict rate limits that this server respects:

Limit Value How We Handle It
Requests per minute 120 Token bucket rate limiter
Concurrent connections 10 Connection semaphore
Token lifetime 30 min Auto-refresh on 401
Max token refreshes 3 Full re-authentication after 3

The server logs warnings when approaching rate limits:

  • WARNING when token bucket drops below 20%
  • ERROR on 429 (rate limited) responses

Security Notes

  • Read-Only: This server only performs GET requests
  • SSL: Disabled by default for lab environments; enable in production
  • Credentials: Store in .env, never commit to version control
  • API User: Create a dedicated read-only API user in FMC

License

Apache 2.0

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured