
用于Cisco Nexus Dashboard(英语:Cisco Nexus Dashboard)的综合模型上下文协议(MCP)服务器,使克洛德等AI代理能够与Nexus Dashboard APIS互动,实现智能网络自动化和管理.
概览
用于Cisco Nexus Dashboard(英语:Cisco Nexus Dashboard)的综合模型上下文协议(MCP)服务器,使克洛德等AI代理能够与Nexus Dashboard APIS互动,实现智能网络自动化和管理. - 访问 5 Nexus Dashboard API 的638+操作 - 管理 API (146个端点): Fabrics, 开关, VLAN, VRF, 网络, 接口 - 分析 API: 遥测, 透视, 异常, 合规 - 基础设施 API: 系统健康, 许可,用户管理 - 单一管理 API: 设备库存, 地貌 - Orchestration API: 工作流程和自动化 -: - HTTPS 有自签名证书(自动生成) - 多用户认证 有基于角色的访问控制(RBAC) - 默认只读模式,并带有明确的编辑模式授权 - Fernet加密的证书存储 - 用客户端IP跟踪完成审计记录 - Granular operation whiteload per specification 下一个.
概述(AI 翻译)
用于Cisco Nexus Dashboard(英语:Cisco Nexus Dashboard)的综合模型上下文协议(MCP)服务器,使克洛德等AI代理能够与Nexus Dashboard APIS互动,实现智能网络自动化和管理.
□ 特性
- 核心能力
-
** API覆盖完成**:进入5 Nexus Dashboard API的638+操作
-
管理 API (146个端口): Fabrics, 开关, VLANs, VRF, 网络, 接口
-
分析API:遥测、透视、异常、合规
-
基础设施 API:系统保健、许可证发放、用户管理
-
OneManage API:设备库存、地形
-
Orchestration API:工作流程和自动化
-
安全第一**:
-
HTTPS 自签名证书(自动生成)
-
多用户认证和基于角色的出入控制
-
默认只读模式,并带有明确的编辑模式
-
Fernet加密的证书存储
-
完成客户IP跟踪的审计记录
-
将每个角色的颗粒式操作列入白名单
-
网络管理UI:
-
下一个基于 HTTPS 的管理界面
-
用户和角色管理
-
实时系统健康监测
-
有 CSV 导出的审计日志查看器
-
集群管理与连接测试
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Nexus Dashboard MCP Server
A comprehensive Model Context Protocol (MCP) server for Cisco Nexus Dashboard, enabling AI agents like Claude to interact with Nexus Dashboard APIs for intelligent network automation and management.
Features
Core Capabilities
-
Complete API Coverage: Access to 638+ operations across 5 Nexus Dashboard APIs
- Manage API (146 endpoints): Fabrics, switches, VLANs, VRFs, networks, interfaces
- Analyze API: Telemetry, insights, anomalies, compliance
- Infrastructure API: System health, licensing, user management
- OneManage API: Device inventory, topology
- Orchestration API: Workflows and automation
-
Security First:
- HTTPS with self-signed certificates (auto-generated)
- Multi-user authentication with role-based access control (RBAC)
- Read-only mode by default with explicit edit mode enablement
- Fernet-encrypted credential storage
- Complete audit logging with client IP tracking
- Granular operation whitelisting per role
-
Web Management UI:
- Next.js-based management interface with HTTPS
- User and role management
- Real-time system health monitoring
- Audit log viewer with CSV export
- Cluster management with connection testing
- Security configuration dashboard
- API guidance and workflow management
-
Enterprise Ready:
- PostgreSQL database for persistence
- Docker-based deployment with host networking
- Complete audit trail for compliance
- LDAP integration support
Quick Start
Prerequisites
- Docker 20.10+ and Docker Compose 2.0+
- Cisco Nexus Dashboard 4.1+ with NDFC 12.x
- Node.js 18+ (for remote MCP access via mcp-remote)
1. Clone and Configure
git clone https://github.com/beye91/nexus-dashboard-mcp.git
cd nexus-dashboard-mcp
# Create environment file with your server's IP address
echo "CERT_SERVER_IP=YOUR_SERVER_IP" > .env
Replace YOUR_SERVER_IP with your server’s actual IP address (e.g., 192.168.1.213).
2. Start Services
docker compose up -d --build
This will:
- Generate self-signed SSL certificates automatically
- Start PostgreSQL database (port 15432)
- Start Web API with HTTPS (port 8444)
- Start Web UI with HTTPS (port 7443)
- Start MCP Server for Claude integration
3. Initial Setup
-
Open your browser and navigate to:
https://YOUR_SERVER_IP:7443 -
Accept the self-signed certificate warning
-
Complete the initial admin setup:
- Username:
admin - Email:
[email protected] - Password:
Admin123!(or your preferred password)
- Username:
安装
npx mcp-remote@latest https://YOUR_SERVER_IP:8444/mcp/sse --transport sse-only配置
{
"mcpServers": {
"nexus-dashboard": {
"command": "npx",
"args": [
"mcp-remote@latest",
"https://YOUR_SERVER_IP:8444/mcp/sse",
"--transport",
"sse-only"
]
}
}
}