MCP.so
登录

ONOS MCP Server

@davidlin2k

基本信息

分类

其他

许可证

GPL-3.0

传输方式

stdio

作者

davidlin2k

关于 ONOS MCP Server

A Model Context Protocol (MCP) server implementation that provides network control and management capabilities through the ONOS SDN controller.

ONOS MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

ONOS MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is ONOS MCP Server?

A Model Context Protocol server that provides network control and management capabilities through the ONOS SDN controller, enabling AI assistants to access network devices, topology, flow rules, analytics, and applications via a structured API. It is designed for educational environments, network operations, SDN research, and AI-assisted network management.

How to use ONOS MCP Server?

Install Python 3.7+ and the required dependencies (httpx, mcp, and the uv package manager). Configure the server using environment variables (ONOS_API_BASE, ONOS_USERNAME, ONOS_PASSWORD) and run it with uv --directory <path> run server.py. Integrate with Claude Desktop by adding the provided JSON block to its MCP configuration.

Key features of ONOS MCP Server

  • Access network devices, links, hosts, and topology
  • Manage flow rules, intents, and applications
  • Retrieve statistics, metrics, and cluster health
  • Perform network summary and performance analytics
  • Compute optimal paths between network endpoints
  • Install, activate, deactivate, and uninstall ONOS applications

Use cases of ONOS MCP Server

  • Network diagnostics and troubleshooting connectivity issues
  • Intent-based connectivity configuration and policy implementation
  • Comprehensive network health analysis and status reporting
  • QoS configuration and traffic prioritization
  • Performance optimization and resource allocation

常见问题

1

What prerequisites are needed to run the server?

Python 3.7+, the `uv` package manager, a running ONOS controller, and the `httpx` and `mcp` libraries.

2

How do I configure authentication to the ONOS controller?

Set the `ONOS_USERNAME` and `ONOS_PASSWORD` environment variables. Defaults are `onos` and `rocks` respectively.

3

What ONOS REST API endpoints does the server expose?

It provides access to endpoints for devices, links, hosts, topology, flow rules, intents, applications, statistics, and system/cluster health.

4

How is the server invoked in a Claude Desktop setup?

Through a JSON entry in `mcpServers` specifying `uv` as the command, the server directory, and the necessary environment variables.

5

What transport and authentication does the server use?

The server communicates with ONOS via HTTP (REST API) and uses basic authentication with the provided username and password.

评论

其他 分类下的更多 MCP 服务器