home / mcp / hyperfabric mcp server
An MCP (Model Context Protocol) server that enables LLMs to interact with Cisco Hyperfabric APIs. This server exposes all Hyperfabric OpenAPI endpoints as tools for comprehensive infrastructure management and automation.
Configuration
View docs{
"mcpServers": {
"jim-coyne-hyperfabric_mcp": {
"command": "node",
"args": [
"/path/to/hyperfabric-mcp-server/dist/main.js"
],
"env": {
"LOG_LEVEL": "info",
"OPENAPI_SPEC_PATH": "hf_spec_modified.json",
"HYPERFABRIC_API_TOKEN": "your-api-token"
}
}
}
}You deploy an MCP server that automatically exposes Hyperfabric OpenAPI endpoints as actionable tools for LLMs. This server lets you manage Fabrics, Nodes, VNIs, VRFs, and more through a consistent MCP interface, with secure token authentication and straightforward integration into your MCP clients.
You run the local MCP server and connect your MCP client to it. The server presents a comprehensive set of tools derived from the Hyperfabric REST API, enabling you to list, get, create, update, and delete resources across fabrics, nodes, networks, and virtual networks. Use the client to invoke the tools by name, pass the required parameters, and receive structured responses that your agent can interpret and act on.
Prerequisites: you need Node.js 18+ installed.
Install dependencies and build the server.
npm install
npm run buildConfigure your MCP client to run the local server as a stdio process. The client should spawn Node and pass the path to the compiled entry, along with the required environment variables.
Environment variables shown for running the server include the API token for authentication and a log level to control verbosity.
When you start the server, ensure the path to the built main script is correct in your client configuration, and provide the required API token so all tools can authenticate with Hyperfabric.
Use a secure API token to authenticate against Hyperfabric. Treat the token like any other sensitive credential and provide it only to trusted clients and processes.
Limit token scope and rotate credentials periodically to minimize risk from potential exposure.
List all bearer tokens for the user
Create new bearer tokens
Get specific bearer token details
Delete a specific bearer token
List all users in organization
Get specific user details
Create or update users
Update existing user
Delete a user account
List all devices (bound and unbound)
Bind a device to a fabric node
Unbind device from a fabric node
List all fabrics in organization
Create new fabrics
Get specific fabric details
Update fabric configuration
Delete a fabric
List all connections in fabric
Add new connections
Get specific connection details
Replace all connections
Delete all connections
Delete specific connection
List candidate configurations
Get specific candidate config
Deploy candidate to running config
Discard candidate configuration
Add comments to candidate config
Get fabric STP configuration
Update STP settings
Reset STP to defaults
List all nodes in fabric
Add new nodes to fabric
Get specific node details
Update node configuration
Remove node from fabric
List all ports for a node
Get specific port details
Update port configuration
Replace all port configurations
Reset port to defaults
List management ports
Add management ports
Get specific management port
Update management port config
List loopback interfaces
Create loopback interfaces
Get specific loopback details
Update loopback configuration
Delete loopback interface
List sub-interfaces
Create sub-interfaces
Get specific sub-interface
Update sub-interface config
Delete sub-interface
List all port channels
Create port channels
Get specific port channel
Update port channel config
Delete port channel
List all VNIs in fabric
Create new VNIs
Get specific VNI details
Update VNI configuration
Delete VNI
List VNI members
Add members to VNI
Get specific member details
Remove member from VNI
List all VRFs in fabric
Create new VRFs
Get specific VRF details
Update VRF configuration
Delete VRF
List static routes in VRF
Add static routes
Get specific route details
Update static route
Delete static route