NetworkX Graph MCP Server
Supports exporting and importing state graphs in YAML format for human-readable configuration and data storage.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NetworkX Graph MCP Servercreate a decision graph for user authentication flow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NetworkX Graph MCP Server
State/decision graph MCP server using NetworkX. Supports directed graphs (cycles allowed), explicit edge ordering, conditional branches, import/export, and visualization.
Setup
cd ~/Documents/networkx-graph-mcp-server
uv venv
source .venv/bin/activate
uv syncMCP client config (example)
Add to your mcp_config.json:
{
"mcpServers": {
"networkx-graph": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "~/Documents/networkx-graph-mcp-server/.venv/bin/python",
"args": ["-m", "networkx_graph"]
}
}
}Tools (summary)
Graph: create_state_graph, delete_state_graph, list_state_graphs, get_state_graph_info
Nodes: add_node, update_node, remove_node, get_node, list_nodes
Edges: add_edge, remove_edge, get_edges, set_edge_order, set_edge_condition, get_node_edges
Bulk: bulk_add_nodes, bulk_add_edges
Export/Visualize: export_graph (yaml/json), import_graph, visualize_graph (PNG)
Analysis: validate_graph (warnings only, cycles allowed), get_graph_stats, find_path
Web Visualization
Interactive web browser for visualizing graphs:
uv run app.pyThen open your browser to: http://localhost:5000
Features:
Load YAML/JSON graph files via file upload
Interactive graph visualization with zoom, pan, and node selection
View node details, statistics, and graph structure
Color-coded nodes by type (action, decision, verification, loop, success, failure)
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceEnables AI models to generate interactive, clickable code walkthrough diagrams using Mermaid code and node descriptions. It provides a web interface for viewing, persisting, and sharing these diagrams via a local database and a dedicated share server.Last updated163
- Flicense-qualityDmaintenanceEnables AI agents to create, manipulate, and manage BPMN 2.0 diagrams programmatically, with support for Mermaid conversion, auto-layout, and file persistence.Last updated9
- Alicense-qualityDmaintenanceEnables creating, manipulating, and managing Mermaid diagrams with automatic saving and multi-format conversion from JSON, CSV, Python, Markdown, and plain text.Last updated7MIT
- Alicense-qualityFmaintenanceComprehensive Model Context Protocol server for advanced graph analysis using NetworkX, enabling graph creation, manipulation, and algorithm execution through natural language.Last updated20MIT
Related MCP Connectors
Manage TTRPG campaigns: NPCs, locations, factions, quests, sessions, lore, and knowledge graphs.
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/inbarajaldrin/networkx-graph-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server