ACI MCP Server

ACI MCP Server

Enables management and configuration of Cisco ACI (Application Centric Infrastructure) fabrics through the APIC REST API, providing 35+ tools for tenant management, network policies, EPGs, bridge domains, VRFs, contracts, and health monitoring.

Category
访问服务器

README

ACI Model Context Protocol (MCP) Server

A comprehensive MCP server for configuring and managing Cisco ACI (Application Centric Infrastructure) fabrics through the APIC REST API.

Overview

This MCP server provides 35+ tools for complete ACI fabric management, including:

  • Tenant Management: Create, list, get, update, and delete tenants
  • Application Profiles: Manage application profiles within tenants
  • Endpoint Groups (EPGs): Configure and manage endpoint groups
  • Bridge Domains: Create and manage Layer 2 domains
  • VRFs: Manage Virtual Routing and Forwarding instances
  • Contracts: Define and manage security policies
  • Health Monitoring: Monitor fabric health and faults
  • Node Management: Manage fabric nodes and interfaces

Installation

Prerequisites

  • Node.js 18+ and npm
  • Access to a Cisco APIC controller
  • Valid APIC credentials (username/password or certificate)

Setup

  1. Clone and Install:

    cd aci-mcp-server
    npm install
    
  2. Configure Authentication:

    Option A: Environment Variables

    cp .env.example .env
    # Edit .env with your APIC details
    export ACI_APIC_URL="https://your-apic.domain.com"
    export ACI_USERNAME="admin"
    export ACI_PASSWORD="your_password"
    

    Option B: Configuration Files

    cp aci-config.json.example aci-config.json
    # Edit aci-config.json with your settings
    

    Option C: Certificate Authentication

    export ACI_APIC_URL="https://your-apic.domain.com"
    export ACI_USERNAME="admin"
    export ACI_CERT_NAME="your-cert-name"
    export ACI_PRIVATE_KEY_PATH="/path/to/private.key"
    
  3. Build the Server:

    npm run build
    
  4. Test Connection:

    npm start
    # Should connect to APIC and display available tools
    

Configuration

Authentication Methods

The server supports two authentication methods:

  1. Username/Password: Standard APIC login
  2. Certificate: X.509 certificate-based authentication (recommended for production)

Tool Configuration

Configure which tools are available using aci-mcp-config.json:

{
  "serverConfig": {
    "name": "aci",
    "toolSelectionMode": "whitelist",
    "enableAllTools": false,
    "tenantFocus": "production"
  },
  "toolConfiguration": {
    "enabledTools": ["list_tenants", "get_fabric_health", ...],
    "disabledTools": []
  }
}

Tool Modes:

  • core: Essential tools (35 tools) - Default
  • all: All available tools (50+ tools)

Environment Variable Configuration:

export ACI_TOOL_MODE=core          # or 'all'
export ACI_TENANT_FOCUS=production # Focus on specific tenant

Available Tools

Tenant Management (5 tools)

  • list_tenants - List all tenants
  • get_tenant - Get specific tenant details
  • create_tenant - Create new tenant
  • update_tenant - Update tenant configuration
  • delete_tenant - Delete tenant

Application Profile Management (5 tools)

  • list_application_profiles - List application profiles
  • get_application_profile - Get specific application profile
  • create_application_profile - Create new application profile
  • update_application_profile - Update application profile
  • delete_application_profile - Delete application profile

Endpoint Group Management (6 tools)

  • list_endpoint_groups - List endpoint groups
  • get_endpoint_group - Get specific EPG details
  • create_endpoint_group - Create new EPG
  • update_endpoint_group - Update EPG configuration
  • delete_endpoint_group - Delete EPG
  • get_endpoint_group_stats - Get EPG statistics

Bridge Domain Management (5 tools)

  • list_bridge_domains - List bridge domains
  • get_bridge_domain - Get specific bridge domain
  • create_bridge_domain - Create new bridge domain
  • update_bridge_domain - Update bridge domain
  • delete_bridge_domain - Delete bridge domain

VRF Management (5 tools)

  • list_vrfs - List VRFs
  • get_vrf - Get specific VRF details
  • create_vrf - Create new VRF
  • update_vrf - Update VRF configuration
  • delete_vrf - Delete VRF

Contract Management (8 tools)

  • list_contracts - List contracts
  • get_contract - Get contract details
  • create_contract - Create new contract
  • update_contract - Update contract
  • delete_contract - Delete contract
  • list_filters - List filters
  • create_filter - Create new filter
  • delete_filter - Delete filter

Health & Monitoring (8 tools)

  • get_fabric_health - Get overall fabric health
  • list_faults - List fabric faults
  • get_fault_summary - Get fault summary by severity
  • list_nodes - List fabric nodes
  • get_node_health - Get node health status
  • list_interfaces - List fabric interfaces
  • get_interface_stats - Get interface statistics
  • get_system_info - Get APIC system information

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选