ONOS MCP Server
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. The server is ideal for educational environments, network operations, SDN research, and AI-assisted network management.
Features
Network Resources
The server provides access to ONOS REST API endpoints, including:
- Network devices, links, and hosts
- Topology information
- Flow rules and intents
- Applications and services
- Statistics and metrics
- System and cluster health
Analytics Tools
- Network Summary: Get a comprehensive overview of devices, links, hosts, and clusters with detailed device information
- Network Analytics: Analyze performance metrics, traffic patterns, and utilization statistics
- System Health: Monitor memory usage, cluster status, and component health
- Application Management: Install, activate, deactivate, and uninstall ONOS applications
- Flow Configuration: Create and manage flow rules and intents
- Path Computation: Find optimal paths between network endpoints
Specialized Prompts
- Network Diagnostics: Troubleshoot connectivity issues and service degradation
- Intent-Based Configuration: Implement connectivity objectives and policies
- Network Health Analysis: Generate comprehensive status reports
- QoS Configuration: Set up traffic prioritization and service levels
- Performance Optimization: Improve resource allocation and scalability
Requirements
- Python 3.7+
- uv for dependency management
- Running ONOS controller
- httpx library
- mcp library
Configuration
Configure the server using environment variables:
ONOS_API_BASE
: Base URL for ONOS API (default: http://localhost:8181/onos/v1)ONOS_USERNAME
: Username for ONOS API authentication (default: onos)ONOS_PASSWORD
: Password for ONOS API authentication (default: rocks)
Usage with Claude Desktop
Contributing
Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest new features.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that provides programmatic access to ONOS SDN controller's network management capabilities, enabling device control, topology management, and analytics through ONOS's REST API.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables enhanced file system operations including reading, writing, copying, moving files with streaming capabilities, directory management, file watching, and change tracking.Last updated 18 days ago1215TypeScriptMIT License
- AsecurityFlicenseAqualityA server that allows you to control and interact with Sonos devices on your network through the Model Context Protocol, providing functionalities for discovering devices, controlling playback, retrieving device states, and managing queues.Last updated 2 months ago183Python
- AsecurityFlicenseAqualityA Model Context Protocol server that enables interaction with Service Nervous System (SNS) DAOs on the Internet Computer, allowing users to list proposals, view neurons, get system parameters, manage wallets, and vote on proposals.Last updated 4 months ago65TypeScript
- -securityAlicense-qualityA Model Context Protocol server that provides network control and management capabilities through the POX SDN controller, enabling Python-based network programming, OpenFlow device management, and automated network analysis.Last updated 4 months ago1PythonMIT License