An implementation of the Model Context Protocol (MCP) for the ONOS SDN controller. This server exposes the network state (topology, flows, statistics) to AI agents, facilitating automation and intelligent monitoring of SDN networks.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"onos-mcp-server": {
"env": {
"ONOS_CONTROLLER_HOST": "http://localhost:8181",
"ONOS_CONTROLLER_PASSWORD": "rocks",
"ONOS_CONTROLLER_USERNAME": "onos"
},
"args": [
"-jar",
"/path/to/onos-mcp-server.jar"
],
"command": "java"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
ONOS MCP Server is a powerful bridge between the Model Context Protocol (MCP) and the Open Network Operating System (ONOS). It enables AI models to interact directly with your SDN (Software-Defined Networking) infrastructure, allowing for intelligent network management, monitoring, and automation.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform. It provides a set of tools that interact with Yunxiao's API, allowing AI assistants to manage Codeup repository, Project, Pipeline, Packages etc.
Enhanced MCP server for GitLab: group projects listing and activity tracking
MCP Server for kubernetes management commands
MCP Security Weekly
Get CVE alerts and security updates for Onos Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
ONOS MCP Server is a powerful bridge between the Model Context Protocol (MCP) and the Open Network Operating System (ONOS). It enables AI models to interact directly with your SDN (Software-Defined Networking) infrastructure, allowing for intelligent network management, monitoring, and automation.
./mvnw).The server connects to ONOS via its REST API. You can configure the connection details in src/main/resources/application.yaml or via environment variables.
onos:
controller:
host: ${ONOS_CONTROLLER_HOST:http://localhost:8181}
username: ${ONOS_CONTROLLER_USERNAME:onos}
password: ${ONOS_CONTROLLER_PASSWORD:rocks}
| Variable | Description | Default |
|---|---|---|
ONOS_CONTROLLER_HOST | URL of the ONOS controller | http://localhost:8181 |
ONOS_CONTROLLER_USERNAME | ONOS user (requires REST access) | onos |
ONOS_CONTROLLER_PASSWORD | ONOS password | rocks |
./mvnw clean install
./mvnw spring-boot:run
To use this server with an MCP client (such as Claude Desktop or Antigravity), add the following configuration to your mcp_config.json (or equivalent configuration file):
{
"mcpServers": {
"onos-mcp-server": {
"command": "java",
"args": [
"-jar",
"/path/to/onos-mcp-server.jar"
],
"env": {
"ONOS_CONTROLLER_HOST": "http://localhost:8181",
"ONOS_CONTROLLER_USERNAME": "onos",
"ONOS_CONTROLLER_PASSWORD": "rocks"
}
}
}
}
[!NOTE] Make sure to build the project first with
./mvnw clean installto generate the JAR file in thetarget/directory.
The server exposes several tools to the AI model:
list-applications: List all installed applications and their status.get-application: Get details about a specific application.activate-application: Activate a specific application by name.deactivate-application: Deactivate a specific application.list-devices: Get a list of all devices (switches, routers).get-device: Get detailed info on a specific device.list-hosts: List all discovered end-node hosts.get-host: Get details on a specific host.list-flows: List all network flows.list-device-flows: List flows for a specific device.add-flow: Push a new flow rule to a device.Created with ❤️ by ortegakb