
very99/cisco-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
🌐 A comprehensive MCP server for Cisco device management via SSH/Telnet. Execute commands and manage Cisco routers, switches, and firewalls through AI assistants.
Обзор
A comprehensive MCP (Model Context Protocol) server for Cisco device management via SSH/Telnet. Execute commands and manage Cisco routers, switches, and firewalls through AI assistants like Claude and Amazon Q. - : Connect via SSH or Telnet - : Maintain long-lived connections for efficient command execution - : Execute any Cisco command through a single interface - : Automatic switching between user, enable, and configuration modes - : Manage multiple Cisco devices simultaneously - : Natural language command translation through AI assistants - : Track active connections and their status 3. Add to your MCP configuration (e.g., Claude Desktop): Establish a connection to a Cisco device.
README
Показан фрагмент оригинального README. Открыть оригинал.
Cisco MCP Server
English
A comprehensive MCP (Model Context Protocol) server for Cisco device management via SSH/Telnet. Execute commands and manage Cisco routers, switches, and firewalls through AI assistants like Claude and Amazon Q.
✨ Features
- 🔌 Dual Protocol Support: Connect via SSH or Telnet
- 🔄 Persistent Connections: Maintain long-lived connections for efficient command execution
- 🎯 Universal Command Execution: Execute any Cisco command through a single interface
- 🔐 Mode Management: Automatic switching between user, enable, and configuration modes
- 🌐 Multi-Device Support: Manage multiple Cisco devices simultaneously
- 🤖 AI-Friendly: Natural language command translation through AI assistants
- 📊 Connection Monitoring: Track active connections and their status
🚀 Quick Start
-
Clone and Install
git clone https://github.com/very99/cisco-mcp.git cd cisco-mcp npm install -
Build the Project
npm run build -
Configure MCP Client
Add to your MCP configuration (e.g., Claude Desktop):
{ "mcpServers": { "cisco-mcp": { "command": "node", "args": ["/path/to/cisco-mcp/dist/index.js"] } } }
🛠 Available Tools
connect_cisco_device
Establish a connection to a Cisco device.
Parameters:
host(required): IP address or hostnameusername(required): Authentication usernamepassword(required): Authentication passwordprotocol(optional): “ssh” or “telnet” (default: “ssh”)port(optional): Custom port numberenable_password(optional): Enable password for privileged mode
Example:
{
"host": "192.168.1.1",
"username": "admin",
"password": "password123",
"protocol": "ssh",
"enable_password": "enable123"
}
execute_cisco_command
Execute a command on a connected Cisco device.
Parameters:
host(required): Target device IP/hostnamecommand(required): Cisco command to executemode(optional): “user”, “enable”, or “config” (default: “user”)
Example:
{
"host": "192.168.1.1",
"command": "show version",
"mode": "user"
}
disconnect_cisco_device
Disconnect from a Cisco device.
Parameters:
host(required): Device IP/hostname to disconnect
list_connections
List all active connections.
💡 Usage Examples
Basic Device Information
AI: "Connect to router 192.168.1.1 and show me the device information"
The AI will:
- Use
connect_cisco_deviceto establish connection - Use
execute_cisco_commandwith “show version”
Interface Configuration
AI: "Configure interface GigabitEthernet0/1 with IP 10.1.1.1/24"
The AI will:
- Use
execute_cisco_commandwith mode “config” - Execute: “interface GigabitEthernet0/1”
- Execute: “ip address 10.1.1.1 255.255.255.0”
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"cisco-mcp": {
"command": "node",
"args": ["/path/to/cisco-mcp/dist/index.js"]
}
}
}