onos-mcp-server

onos-mcp-server

2

ONOS MCP Server is a Model Context Protocol server that enhances network control through the ONOS SDN controller by offering comprehensive analytics and structured API access. It's ideal for network operations, research, and AI-assisted management tasks.

Overview

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. Ideal for educational environments, network operations, SDN research, and AI-assisted network management.

Features

Network Resources

  • Access to ONOS REST API endpoints: Network devices, links, hosts, topology, flow rules, intents, applications, services, statistics, system and cluster health.

Analytics Tools

  • Network Summary: Overview of devices, links, and clusters.
  • Network Analytics: Performance metrics and traffic patterns.
  • System Health: Monitor memory usage and cluster status.
  • Application Management: Manage ONOS applications.
  • Flow Configuration: Manage flow rules.
  • Path Computation: Optimal path finding.

Specialized Prompts

  • Network Diagnostics: Troubleshoot issues.
  • Intent-Based Configuration: Implement policies.
  • Network Health Analysis: Status reports.
  • QoS Configuration: Traffic service levels.
  • Performance Optimization: Resource allocation.

Requirements

  • Python 3.7+
  • ONOS controller
  • httpx and mcp libraries.

Configuration

Configure via environment variables: ONOS_API_BASE, ONOS_USERNAME, ONOS_PASSWORD.