Cisco Hyperfabric MCP
An MCP server that enables LLMs to interact with Cisco Intersight APIs.
Hyperfabric MCP Server
An MCP (Model Context Protocol) server that enables LLMs to interact with Hyperfabric APIs. This server exposes all 79 Hyperfabric OpenAPI endpoints as tools for comprehensive infrastructure management and automation.
š§ Dynamic Tool Generation: Automatically parses Hyperfabric OpenAPI specs and creates MCP tools
š”ļø Secure Authentication: Handles Hyperfabric API token authentication with proper security
š Complete API Coverage: Exposes all 79 available Hyperfabric endpoints for infrastructure management
⨠Clean Tool Names: Tools display with intuitive names like fabricsGetAllFabrics for easy discovery
Prerequisites
- Node.js 18+ installed
- VSCode with GitHub Copilot or Claude Desktop
- Hyperfabric API credentials (API Token)
- Hyperfabric OpenAPI specification file
1. Build the Server
npm install
npm run build
2. Configure LLM Client
For VSCode with GitHub Copilot
-
Open VSCode Settings:
Cmd+Shift+Pā "Preferences: Open User Settings (JSON)" -
Add this configuration to your
settings.json:
{
"github.copilot.chat.mcp.servers": {
"hyperfabric": {
"command": "node",
"args": ["/path/to/hyperfabric-mcp-server/dist/main.js"],
"env": {
"HYPERFABRIC_API_TOKEN": "your-api-token",
"LOG_LEVEL": "info"
}
}
}
}
- Reload VS Code:
Cmd+Shift+Pā "Developer: Reload Window"
For Claude Desktop
-
Locate your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add this configuration to
claude_desktop_config.json:
{
"mcpServers": {
"hyperfabric": {
"command": "node",
"args": ["/path/to/hyperfabric-mcp-server/dist/main.js"],
"env": {
"HYPERFABRIC_API_TOKEN": "your-api-token",
"LOG_LEVEL": "info"
}
}
}
}
- Restart Claude Desktop application



Available Tools and Capabilities
The MCP server automatically generates 79 tools from the complete Nexus Hyperfabric REST API v1.1.0 specification:
ļæ½ Authentication & User Management (9 tools)
-
Bearer Token Management: Secure API authentication
authGetBearerTokens- List all bearer tokens for the userauthCreateBearerTokens- Create new bearer tokensauthGetBearerToken- Get specific bearer token detailsauthDeleteBearerToken- Delete a specific bearer token
-
User Management: User account operations
authGetUsers- List all users in organizationauthGetUser- Get specific user detailsauthSetUsers- Create or update usersauthUpdateUser- Update existing userauthDeleteUser- Delete a user account
š„ļø Device Management (3 tools)
- Device Operations: Physical device management and binding
devicesGetDevices- List all devices (bound and unbound)devicesBindDevice- Bind a device to a fabric nodedevicesUnbindDevice- Unbind device from a fabric node
šļø Fabric Management (16 tools)
-
Fabric Configuration: Core fabric operations
fabricsGetAllFabrics- List all fabrics in organizationfabricsAddFabrics- Create new fabricsfabricsGetFabric- Get specific fabric detailsfabricsUpdateFabric- Update fabric configurationfabricsDeleteFabric- Delete a fabric
-
Connection Management: Fabric network connections
fabricsGetFabricConnections- List all connections in fabricfabricsAddFabricConnections- Add new connectionsfabricsGetFabricConnection- Get specific connection detailsfabricsSetFabricConnections- Replace all connectionsfabricsDeleteFabricConnections- Delete all connectionsfabricsDeleteFabricConnection- Delete specific connection
-
Configuration Management: Candidate configurations and deployment
fabricsGetFabricCandidates- List candidate configurationsfabricsGetFabricCandidate- Get specific candidate configfabricsCommitFabricCandidate- Deploy candidate to running configfabricsRevertFabricCandidate- Discard candidate configurationfabricsReviewFabricCandidate- Add comments to candidate config
š Network Configuration (3 tools)
- Spanning Tree Protocol: Global STP settings
networksGetFabricStp- Get fabric STP configurationnetworksUpdateFabricStp- Update STP settingsnetworksResetFabricStp- Reset STP to defaults
ļæ½ Node Management (25 tools)
-
Node Operations: Fabric node configuration
nodesGetFabricNodes- List all nodes in fabricnodesAddFabricNodes- Add new nodes to fabricnodesGetNamedFabricNode- Get specific node detailsnodesUpdateFabricNode- Update node configurationnodesDeleteFabricNode- Remove node from fabric
-
Port Management: Node port configuration
nodesGetPorts- List all ports for a nodenodesGetPort- Get specific port detailsnodesUpdatePort- Update port configurationnodesSetPorts- Replace all port configurationsnodesResetPort- Reset port to defaults
-
Management Ports: Out-of-band management interfaces
nodesGetManagementPorts- List management portsnodesAddManagementPorts- Add management portsnodesGetManagementPort- Get specific management portnodesUpdateManagementPort- Update management port config
-
Loopback Interfaces: Virtual interfaces for routing
nodesGetNodeLoopbacks- List loopback interfacesnodesAddNodeLoopbacks- Create loopback interfacesnodesGetNodeLoopback- Get specific loopback detailsnodesUpdateNodeLoopback- Update loopback configurationnodesDeleteNodeLoopback- Delete loopback interface
-
Sub-Interfaces: VLAN and sub-interface configuration
nodesGetNodeSubInterfaces- List sub-interfacesnodesAddNodeSubInterfaces- Create sub-interfacesnodesGetNodeSubInterface- Get specific sub-interfacenodesUpdateNodeSubInterface- Update sub-interface confignodesDeleteNodeSubInterface- Delete sub-interface
ļæ½ Port Channel Management (5 tools)
- Link Aggregation: Port channel operations
portchannelsGetAllPortChannels- List all port channelsportchannelsAddPortChannels- Create port channelsportchannelsGetPortChannel- Get specific port channelportchannelsUpdatePortChannel- Update port channel configportchannelsDeletePortChannel- Delete port channel
š·ļø VNI Management (9 tools)
-
Virtual Network Identifiers: VXLAN network segmentation
vnisGetFabricVnis- List all VNIs in fabricvnisAddFabricVnis- Create new VNIsvnisGetFabricVni- Get specific VNI detailsvnisUpdateFabricVni- Update VNI configurationvnisDeleteFabricVni- Delete VNI
-
VNI Membership: Member interface management
vnisGetFabricVniMembers- List VNI membersvnisAddFabricVniMembers- Add members to VNIvnisGetFabricVniMember- Get specific member detailsvnisDeleteFabricVniMember- Remove member from VNI
ļæ½ļø VRF Management (9 tools)
-
Virtual Routing and Forwarding: Layer 3 network isolation
vrfsGetFabricVrfs- List all VRFs in fabricvrfsAddFabricVrfs- Create new VRFsvrfsGetFabricVrf- Get specific VRF detailsvrfsUpdateFabricVrf- Update VRF configurationvrfsDeleteFabricVrf- Delete VRF
-
Static Routing: Static route management within VRFs
vrfsGetFabricStaticRoutes- List static routes in VRFvrfsAddFabricStaticRoutes- Add static routesvrfsGetFabricStaticRoute- Get specific route detailsvrfsUpdateFabricStaticRoute- Update static routevrfsDeleteFabricStaticRoute- Delete static route
Environment Variables
| Variable | Description | Default | Required |
|---|---|---|---|
HYPERFABRIC_API_TOKEN | Your Hyperfabric API token | - | ā |
LOG_LEVEL | Logging level (debug, info, warn, error) | info | ā |
OPENAPI_SPEC_PATH | Path to OpenAPI spec file | hf_spec_modified.json | ā |
Development Setup
Project Structure
hyperfabric-mcp-server/
āāā src/main.ts # Main server implementation
āāā dist/ # Compiled JavaScript
āāā .vscode/ # VS Code configuration
āāā package.json # Dependencies & scripts
āāā tsconfig.json # TypeScript config
āāā hf_spec_modified.json # Complete Nexus Hyperfabric REST API v1.1.0 spec
āāā cisco_nexus_hyperfabric_rest_api_1_1_0_rev_2025_10_29_838_c_8.yaml # Original YAML spec file
āāā README.md # This documentation
Troubleshooting
Common Issues
Missing API Token
# Check environment file
cat .env | grep HYPERFABRIC_API_TOKEN
Missing OpenAPI Spec
# Verify spec file exists
ls -la hf_spec_modified.json
Compilation Errors
# Check compilation
npm run build
Related Servers
Descope MCP Server
Interact with Descope's Management APIs to search and retrieve project information.
AWS Cost Explorer & Bedrock Logs
Retrieve AWS spend data from Cost Explorer and Amazon Bedrock usage data from CloudWatch logs.
Bitpin Exchange
Interact with the Bitpin cryptocurrency exchange API to manage wallets, view market data, and execute orders.
Realize MCP - Taboola
Interact with the Taboola advertising platform using natural language via the Taboola Realize API.
Google Analytics
Access Google Analytics 4 (GA4) data using the Model Context Protocol.
CoinGecko Server
An MCP server for accessing real-time cryptocurrency data from the CoinGecko Pro API.
SafetyCulture MCP Server
Ask natural language questions about your SafetyCulture data using the SafetyCulture API.
Unsplash MCP Server
An MCP server for accessing the Unsplash API to search for and retrieve photos.
Bybit API
An interface to interact with the Bybit cryptocurrency exchange API.
Keycloak MCP Server
Administer Keycloak users and realms using a Model Context Protocol server.