Cover image
Try Now
2025-03-24

Espejo de https: //github.com/davidlin2k/pox-mcp-server

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

POX MCP Server

Overview

A Model Context Protocol (MCP) server implementation that provides network control and management capabilities through the POX SDN controller. This server enables Python-based network programming, OpenFlow device management, and automated network analysis through POX's modular architecture. Perfect for educational environments, network prototyping, and SDN research.

Components

Resources

The server exposes two dynamic resources:

  • pox://network-config: A comprehensive POX controller configuration memo
    • Tracks active POX components and their configurations
    • Records network topology and flow rules
    • Maintains discovered network insights
  • pox://topology: Real-time network topology view
    • Shows active OpenFlow datapaths (switches)
    • Maps host locations and connections
    • Displays link status and port mappings

Prompts

The server provides three specialized prompts:

  • pox-network-manager: Interactive prompt for POX controller management

    • Required argument: topic - The network control aspect to focus on
    • Helps configure POX components and modules
    • Guides through network policy implementation
    • Integrates with network configuration memo
  • simple-hub: Basic L2 hub implementation using POX

    • Required argument: dpid - The datapath identifier
    • Demonstrates POX's event-driven programming
    • Shows basic packet handling and flooding
    • Explains POX's core mechanisms
  • learning-switch: L2 learning switch implementation

    • Required argument: dpid - The datapath identifier
    • Showcases POX's table management
    • Implements MAC learning and forwarding
    • Demonstrates POX's packet handling capabilities

Tools

The server offers five core tools:

Datapath Management Tools

  • get_switches

    • List all connected OpenFlow datapaths
    • No input required
    • Returns: Array of active POX-controlled switches
    • Includes connection status and capabilities
  • get_switch_desc

    • Get detailed datapath information
    • Input:
      • dpid (string): Datapath identifier
    • Returns: POX-managed switch details and features

Flow Management Tools

  • get_flow_stats

    • Retrieve POX flow statistics
    • Input:
      • dpid (string): Datapath identifier
      • match (object, optional): POX match structure
      • table_id (string, optional): OpenFlow table ID
      • out_port (string, optional): Output port filter
    • Returns: POX flow statistics including packet counts
  • set_table

    • Configure POX flow tables
    • Input:
      • dpid (string): Datapath identifier
      • flows (array): POX flow specifications
    • Returns: Flow table update confirmation

Analysis Tools

  • append_insight
    • Add network insights to POX configuration memo
    • Input:
      • insight (string): Network observation or analysis
    • Returns: Insight addition confirmation
    • Updates pox://network-config resource

Usage with Claude Desktop

uv

{
  "mcpServers": {
    "pox": {
      "command": "uv",
      "args": [
        "--directory",
        "parent_of_servers_repo/servers/src/mcp_server_pox",
        "run",
        "server.py"
      ],
      "env": {
        "POX_SERVER_URL": "http://localhost:8000"
      }
    }
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Contributing

Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest new features.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

    Reviews

    3 (1)
    Avatar
    user_bBf5M1re
    2025-04-16

    I have been using davidlin2k_pox-mcp-server by MCP-Mirror, and it has been a game-changer for my projects. The seamless integration and reliable performance have really impressed me. It's clear that a lot of thought and effort went into this tool, making it indispensable for anyone working on MCP-related applications. Highly recommend checking it out!