Cisco Nso MCP Server

[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that standardizes how AI models interact with

Local serverstdioPython

What is the Cisco Nso MCP Server?

Model Context Protocol (MCP) is an open protocol that standardizes how AI models interact with external tools and

The short version

  • Stdio Transport — By default, this MCP server uses stdio transport for process-bound communication
  • Tool-First Design — Network operations are defined as discrete tools with clear interfaces
  • Asynchronous Processing — All network operations are implemented asynchronously for better performance
  • Structured Responses — Consistent response format with status, data, and metadata sections
  • Environment Resources — Provides contextual information about the NSO environment
  • NSO Integration — Uses cisco-nso-restconf library for a clean, Pythonic interface to NSO's RESTCONF API

What it needs from you

  • Python 3.12+ - Cisco NSO with RESTCONF API enabled - Network connectivity to NSO RESTCONF API

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_device_ned_idsRetrieves Network Element Driver (NED) IDs from Cisco NSO
get_device_groupsRetrieves device groups from Cisco NSO
get_device_platformGets platform information for a specific device in Cisco NSO
get_device_configGets full configuration for a specific device in Cisco NSO
get_device_stateGets state for a specific device in Cisco NSO
check_device_syncChecks sync status for a specific device in Cisco NSO
sync_from_deviceSyncs from a specific device in Cisco NSO
get_service_typesGets service types in Cisco NSO
get_servicesGets services for a specific service type in Cisco NSO

How to install the Cisco Nso MCP Server

{
  "mcpServers": {
    "nso": {
      "command": "uvx",
      "args": [
        "cisco-nso-mcp-server",
        "--nso-address=127.0.0.1",
        "--nso-port=8080",
        "--nso-username=admin",
        "--nso-password=admin"
      ],
      "env": {
        "LOG_FILE": "/path/to/your/logs/nso-mcp.log"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.12+ - Cisco NSO with RESTCONF API enabled - Network connectivity to NSO RESTCONF API
VariableDescriptionRequired
LOG_FILEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Cisco Nso to get device ned ids.”
  • “Use Cisco Nso to get device groups.”
  • “Use Cisco Nso to get device platform.”

Frequently asked questions

[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol that standardizes how AI models interact with external tools and Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.