Skip to main content
Glama
inbarajaldrin

NetworkX Graph MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_state_graphC

Create a new state/decision graph (directed, cycles allowed).

delete_state_graphC

Delete a state graph.

list_state_graphsB

List all available state graph files on disk (memory resets each session, so this scans for YAML/JSON files in graphs directories). Returns file paths that can be imported.

get_state_graph_infoC

Get graph metadata and stats.

add_nodeC

Add a node (action/decision/verification/loop/success/failure).

update_nodeC

Update node properties (label, phase, tool, properties).

remove_nodeD

Remove a node.

get_nodeD

Get node details.

list_nodesD

List all nodes.

add_edgeC

Add an edge with order and optional condition.

remove_edgeD

Remove an edge.

get_edgesC

Get edges (optionally filter by node).

set_edge_orderC

Set execution order for an edge.

set_edge_conditionC

Set condition label for an edge.

get_node_edgesC

Get incoming/outgoing edges for a node.

bulk_add_nodesB

Add multiple nodes at once (parents before children).

bulk_add_edgesC

Add multiple edges at once (with order/condition).

export_graphC

Export graph to YAML or JSON file.

import_graphC

Import graph from YAML or JSON file.

visualize_graphB

Render graph to PNG file (saves to disk, not base64).

validate_graphC

Validate graph structure (cycles allowed, warnings only).

get_graph_statsC

Get statistics: node counts by type, edges, phases, decision points, loops.

find_pathC

Find shortest path between two nodes.

get_execution_sequenceA

Get nodes in execution order from a start node, following edges by order attribute. Stops at first decision node by default. Returns sequence of nodes with their details.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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