Catalyst Center MCP Server logo

Catalyst Center MCP Server

Community
richbibby

A Python-based MCP (Model Context Protocol) server for Cisco Catalyst Center (formerly DNA Center) that provides tools for device management and monitoring.

Publisherrichbibby
Repositorycatalyst-center-mcp
LanguagePython
Forks
12
Stars
16
Available tools
0
Transport typestdio
Categories
LicenseUnlicense
Links
  • Connect tools to AI workflows

    Catalyst Center MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    16 stars and 12 forks from the linked repository.

Catalyst Center MCP Server

A Python-based MCP (Model Context Protocol) server for Cisco Catalyst Center (formerly DNA Center) that provides tools for device management, client information retrieval, and network monitoring.

Features

  • Secure authentication with Cisco Catalyst Center.
  • Device discovery, listing, and detailed information retrieval.
  • Site information retrieval, including hierarchy and details.
  • Network interface information for specific devices.
  • Client listing with comprehensive filtering options.
  • Detailed client information retrieval by MAC address.
  • Client count retrieval with filtering.
  • Helper tool for API-compatible time range conversion.
  • Implemented using FastMCP for a robust and extensible MCP server.
  • Configuration via .env file for easy setup.

Installation

  1. Clone the repository:
bash
git clone https://github.com/richbibby/catalyst-center-mcp.git
cd catalyst-center-mcp
  1. Create a virtual environment and activate it:
bash
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
bash
pip install -r requirements.txt

Configuration

  1. Copy the example environment file:
bash
cp .env.example .env
  1. Update the .env file with your Catalyst Center credentials:
env
CCC_HOST=your-catalyst-center-host
CCC_USER=your-username
CCC_PWD=your-password

Usage With Claude Desktop Client

  1. Configure Claude Desktop to use this MCP server:
  • Open Claude Desktop
  • Go to Settings > Developer > Edit Config
  • Add the following configuration (adjust paths as needed, see claude_desktop_config.json for an example structure):
json
{
  "mcpServers": {
    "catalyst-center-mcp": {
      "command": "/path/to/your/venv/bin/fastmcp",
      "args": [
        "run",
        "/path/to/your/catalyst-center-mcp/catalyst-center-mcp.py"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}
  • Replace /path/to/your/... with the absolute paths relevant to your local environment.
  • The PYTHONUNBUFFERED environment variable is recommended for Stdio transport.
  1. Restart Claude Desktop

  2. Interact with Claude Desktop:

  • Ask Claude to perform actions like "Show me the devices in my Cisco Catalyst Center"
  • Claude will use the MCP server to authenticate and fetch device information

Claude Desktop with Catalyst Center MCP

Claude Desktop with Catalyst Center MCP

Usage With VScode

  1. Configure VSCode to use this MCP server:
  • Open VScode
  • Open the command pallet : Command + Shift + P in Visual Studio Code on macOS (or Ctrl + Shift + P on Windows and Linux)
  • Type: MCP: Open User Configuration
  • Add the following configuration (adjust paths as needed, see claude_desktop_config.json for an example structure):
json
{
  "servers": {
    "catalyst-center-mcp": {
      "type": "stdio",
      "command": "/path/to/your/venv/bin/fastmcp",
      "args": [
        "run",
        "/path/to/your/catalyst-center-mcp/catalyst-center-mcp.py"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}
  • Replace /path/to/your/... with the absolute paths relevant to your local environment.
  • The PYTHONUNBUFFERED environment variable is recommended for Stdio transport.
  1. Restart VSCode

You can also

  • open the command pallet : Command + Shift + P in Visual Studio Code on macOS (or Ctrl + Shift + P on Windows and Linux)
  • Execute Developer: Reload Window
  1. Interact in Chat window:
  • Ask questions like "Show me the devices in my Cisco Catalyst Center"
  • VSCode will use the MCP server to authenticate and fetch device information

VSCode with Catalyst Center MCP

Example Questions

Here are some example questions you can ask Claude to interact with your Catalyst Center:

Device Information

  • "Show me all devices in my network"
  • "List all switches in my network"
  • "What devices are currently unreachable?"
  • "Show me devices with hostname containing 'switch'"
  • "What's the status of device with IP 10.1.1.1?"

Interface Information

  • "Show me all interfaces for device X"
  • "What interfaces are down on device Y?"
  • "List all Gigabit interfaces on device Z"
  • "Show me interfaces with IP addresses"
  • "What's the status of interface GigabitEthernet1/0/1 on device X?"

Site Information

  • "Show me all sites in my network"
  • "What devices are in site X?"
  • "List all buildings in my network"
  • "Show me the site hierarchy"
  • "What's the address of site Y?"

Client Information

  • "How many clients are currently connected?"
  • "List all wireless clients."
  • "Show me clients connected to SSID 'Corporate-WiFi'."
  • "What are the details for client with MAC address aa:bb:cc:dd:ee:ff?"
  • "Are there any clients with an OS type of 'macOS'?"
  • "List clients active in the last hour."

Combined Queries

  • "Show me all devices in site X and their interfaces"
  • "List all down interfaces across all devices"
  • "What devices in building Y have unreachable interfaces?"
  • "Show me the network topology for site Z"
  • "What's the status of all devices in area A?"

Available Tools

  • fetch_devices: Fetches a list of devices from Cisco Catalyst Center, with filtering options.
  • fetch_sites: Fetches a list of sites from Cisco Catalyst Center, returning a compact JSON structure.
  • fetch_interfaces: Fetches interface information for a specific device ID.
  • get_api_compatible_time_range: Converts natural language time inputs (e.g., "last 24 hours", "yesterday") or specific timestamps into API-compatible epoch millisecond start and end times.
  • get_clients_list: Retrieves a list of clients from Cisco Catalyst Center with comprehensive filtering options (e.g., by client type, OS, site, MAC/IP address, SSID). Returns a maximum of 100 clients per call.
  • get_client_details_by_mac: Fetches detailed information for a specific client by their MAC address.
  • get_clients_count: Retrieves the total count of clients matching specified filters.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "richbibby-catalyst-center-mcp": {
      "command": "",
      "args": []
    }
  }
}

Use Catalyst Center MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Catalyst Center MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Catalyst Center MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Catalyst Center MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "richbibby-catalyst-center-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "catalyst-center-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Catalyst Center MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Catalyst Center MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Catalyst Center MCP Server to help me with this task?
Catalyst Center MCP Server
Sure. I read it.
Here is what I found using Catalyst Center MCP Server.

Frequently asked questions

What is the Catalyst Center MCP Server MCP server used for?

Catalyst Center MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Catalyst Center MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Catalyst Center MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Catalyst Center MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Catalyst Center MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Catalyst Center MCP Server MCP to TypingMind?

Catalyst Center MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Catalyst Center MCP Server MCP provide in TypingMind?

Catalyst Center MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Catalyst Center MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Catalyst Center MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇