graphyn-mcp 0.2.0

MCP server for Graphyn — exposes code intelligence tools to AI agents
docs.rs failed to build graphyn-mcp-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: graphyn-mcp-0.1.3

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_radius
  • get_dependencies
  • get_symbol_usages
  • refresh_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/db under the repo root.
  • Tool formatting for agent-readable output is handled in context_builder.