Skip to main content
Glama

CodeGraph CLI MCP Server

by Jakedismo
edge.rs590 B
use codegraph_core::{EdgeType, NodeId}; #[derive(Debug, Clone)] pub struct CodeEdge { pub from: NodeId, pub to: NodeId, pub edge_type: EdgeType, pub metadata: std::collections::HashMap<String, String>, } impl CodeEdge { pub fn new(from: NodeId, to: NodeId, edge_type: EdgeType) -> Self { Self { from, to, edge_type, metadata: std::collections::HashMap::new(), } } pub fn with_metadata(mut self, key: String, value: String) -> Self { self.metadata.insert(key, value); self } }

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/Jakedismo/codegraph-rust'

If you have feedback or need assistance with the MCP directory API, please join our Discord server