Skip to main content
Glama

CodeGraph CLI MCP Server

by Jakedismo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_HOMENoHuggingFace cache directory
HF_TOKENNoHuggingFace access token for private models
RUST_LOGNoRust logging configuration
OPENAI_API_KEYNoOpenAI API key for embeddings
CODEGRAPH_CONFIGNoPath to CodeGraph configuration file
CODEGRAPH_DB_PATHNoCustom path for CodeGraph database
CODEGRAPH_ONNX_EPNoONNX Runtime execution provider (cpu, coreml)
CODEGRAPH_HTTP_PORTNoHTTP port for CodeGraph server
CODEGRAPH_LOG_LEVELNoLog level for CodeGraph (debug, info, warn, error)
CODEGRAPH_LOCAL_MODELNoPath to local ONNX model file or HuggingFace model name
CODEGRAPH_EMBEDDING_PROVIDERNoThe embedding provider to use (onnx, local, openai, etc.)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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