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.

コメント

「その他」の他のコンテンツ