topolograph
MCP server for Topolograph service to talk to OSPF/IS-IS domains
claude mcp add --transport stdio vadims06-topolograph-mcp-server python mcp-server.py \ --env TOPOLOGRAPH_API_BASE="https://your-topolograph-api-url" \ --env TOPOLOGRAPH_API_TOKEN="your-api-token (optional)"
How to use
This MCP server provides programmatic access to the Topolograph API for analyzing OSPF and IS-IS network topologies. Through the MCP interface, you can query graphs, inspect nodes and edges, monitor events, and compute shortest paths with optional backup paths. Available tools include retrieval of all graphs, fetching graphs by time, querying network data within a graph, assessing graph health, and uploading new graphs. Use these capabilities to integrate network topology intelligence into AI agents, automate network analysis tasks, or augment decision-making with real-time topology data.
How to install
Prerequisites:
- Python 3.8+
- pip (comes with Python)
- Access to the Topolograph API and valid base URL (TOPOLOGRAPH_API_BASE)
Installation steps:
- Clone or obtain the MCP server repository and navigate to its directory.
- Install dependencies:
pip install -r requirements.txt
- Configure environment variables (example):
export TOPOLOGRAPH_API_BASE="https://your-topolograph-api-url"
export TOPOLOGRAPH_API_TOKEN="your-api-token" # optional
- Run the MCP server:
python mcp-server.py
The server will start and listen by default at http://0.0.0.0:8000/mcp.
Docker/Docker-Compose users (optional): The Topolograph project mentions docker-compose integration. If you prefer using Docker, follow the topolograph-docker setup from the referenced repository to deploy the MCP server as part of the stack.
Additional notes
Notes and tips:
- The MCP server expects environment variables to configure the Topolograph API endpoint and optional authentication token. Adjust TOPOLOGRAPH_API_BASE and TOPOLOGRAPH_API_TOKEN as needed.
- By default, the server exposes the MCP endpoint at /mcp on port 8000. If you need a different port, run the server with a different configuration or proxy settings.
- If you encounter connectivity issues, verify that the Topolograph API is reachable from the host where the MCP server is running and that any required CORS or firewall rules permit access.
- The available tools include get_all_graphs, get_graph_by_time, get_network_by_graph_time, get_graph_status, get_network_events, get_adjacency_events, get_nodes, get_edges, get_shortest_path, and upload_graph. Use these to build rich AI-assisted network analytics workflows.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP