
very99/cisco-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
🌐 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"]
}
}
}