ONOS Network Controller
STDIOMCP server providing network control through ONOS SDN controller with AI assistance.
MCP server providing network control through ONOS SDN controller with AI assistance.
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.