ONOS MCP Server
An MCP server for managing ONOS (Open Network Operating System) networks.
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
{
"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"
}
}
}
}
Contributing
Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest new features.
İlgili Sunucular
Kubernetes MCP Server
Provides safe, read-only access to Kubernetes cluster resources for debugging and inspection.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support and Cloudflare KV integration for data storage.
GCP Tools MCP Server
Automate Google Cloud Platform infrastructure setup and GitHub repository configuration for cloud-native projects.
Gdrive Cloudflare worker
Remote MCP server for Google Drive and Sheets running on Cloudflare Workers with full OAuth 2.0 support.
Remote MCP Server (Authless)
An authentication-free, remote MCP server designed for deployment on Cloudflare Workers.
Pangea MCP Server
An MCP server for integrating with Pangea's security APIs, including Secure Audit Log.
Strava MCP Server
A server that connects to the Strava API, allowing language models to access Strava data and features.
Rootly
Manage incidents on Rootly using your own API tokens via a Cloudflare Worker.
NASA MCP Server
An MCP server for interacting with various NASA APIs and data sources. Requires a NASA API key.
fal-ai/hidream-i1-full
Generate high-quality images using the fal-ai/hidream-i1-full model via the fal.ai API.