Onos Mcp Server MCP Server

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.

Local serverstdio

What is the Onos Mcp Server?

Onos Mcp Server is an MCP project maintained in the ortega-kb/onos-mcp-server repository. The maintainer describes its purpose as “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”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using java. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares ONOS_CONTROLLER_HOST, ONOS_CONTROLLER_USERNAME, ONOS_CONTROLLER_PASSWORD. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Onos Mcp Server

{
  "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": "YOUR_ONOS_CONTROLLER_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ONOS_CONTROLLER_HOSTDeclared in the maintainer’s client configuration.Check documentation
ONOS_CONTROLLER_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
ONOS_CONTROLLER_PASSWORDDeclared in the maintainer’s client configuration.Check documentation