ghh1125/graph-theory
0
graph-theory MCP Service
This deployment packages graph-theory behind a FastMCP service.
Available MCP Tools
health_checklist_moduleslist_symbolscall_functioncreate_instanceshortest_pathbreadth_first_searchmaximum_flow
Local stdio usage (Claude Desktop / CLI)
cd graph-theory/mcp_output/mcp_plugin
python main.pyor
python graph-theory/mcp_output/start_mcp.py(default transport is stdio)
HTTP usage (Docker / HF Spaces)
The Docker entry point starts FastMCP directly in HTTP mode and serves MCP at /mcp.
MCP_TRANSPORT=http MCP_PORT=7860 python graph-theory/mcp_output/start_mcp.pyClient MCP endpoint:
https://<your-host>/mcp
Files
graph-theory/mcp_output/mcp_plugin/mcp_service.py: MCP tool definitionsgraph-theory/mcp_output/mcp_plugin/adapter.py: dynamic module adaptergraph-theory/mcp_output/start_mcp.py: transport-aware launcherapp.py: supplementary FastAPI info app (not Docker entrypoint)
