onos mcp server
A Model Context Protocol server that provides programmatic access to ONOS SDN controller's network management capabilities, enabling device control, topology management, and analytics through ONOS's REST API.
A Model Context Protocol server that provides programmatic access to ONOS SDN controller's network management capabilities, enabling device control, topology management, and analytics through ONOS's REST API.
A Model Context Protocol (MCP) server implementation that provides network control and management capabilities through the ONOS SDN controller. This server enables AI assistants to access ONOS network management, OpenFlow device control, and comprehensive analytics through a structured API interface. The server is ideal for educational environments, network operations, SDN research, and AI-assisted network management.
The server provides access to ONOS REST API endpoints, including:
Configure the server using environment variables:
ONOS_API_BASE
: Base URL for ONOS API (default: http://localhost:8181/onos/v1)ONOS_USERNAME
: Username for ONOS API authentication (default: onos)ONOS_PASSWORD
: Password for ONOS API authentication (default: rocks){
"mcpServers": {
"onos": {
"command": "uv",
"args": [
"--directory",
"parent_of_servers_repo/servers/src/onos-mcp-server",
"run",
"server.py"
],
"env": {
"ONOS_API_BASE": "http://localhost:8181/onos/v1",
"ONOS_USERNAME": "onos",
"ONOS_PASSWORD": "rocks"
}
}
}
}
Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest new features.