2 releases
| new 0.1.1 | Apr 17, 2026 |
|---|---|
| 0.1.0 | Apr 12, 2026 |
#1655 in Development tools
Used in graphyn-cli
115KB
3K
SLoC
graphyn-mcp
MCP server crate for exposing Graphyn queries to coding agents.
graphyn-mcp loads a persisted graph and registers MCP tools so agents can ask blast-radius, dependencies, and symbol-usage questions over standard MCP transports.
Exposed tools
get_blast_radiusget_dependenciesget_symbol_usagesrefresh_graph_index
refresh_graph_index lets agents trigger a re-analysis and update the in-memory graph without restarting the MCP server.
Main entrypoint
use std::path::PathBuf;
use graphyn_mcp::server;
# async fn run() -> Result<(), Box<dyn std::error::Error>> {
server::serve_stdio(PathBuf::from(".")) .await?;
# Ok(())
# }
Notes
- The server expects a graph store at
.graphyn/dbunder the repo root. - Tool formatting for agent-readable output is handled in
context_builder.
Dependencies
~70MB
~1.5M SLoC