Skip to main content
Glama
SiwarKhalfaoui

codegraph-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
index_codebaseA

Parse a TypeScript/JavaScript codebase into a call graph and import graph, using the real TypeScript type checker for symbol resolution (not regex matching). Run this first before using any query tool.

find_definitionA

Find the file and line where a function, method, or class is defined, by name.

find_callersA

Find every function/method that calls a given symbol, resolved via the real TypeScript type checker (handles cross-file calls correctly, not just same-file text matches). Use find_definition first to get the exact symbol id.

find_calleesB

Find every function/method called from within a given symbol.

get_file_dependenciesB

Show what a file imports, and what imports that file, directly (one hop).

impact_analysisA

Find every file that transitively depends on a given file, directly or indirectly, up to a depth limit. Answers 'what could break if I change this file' — the main practical use case for an AI agent about to edit code.

get_graph_summaryA

Summary stats: file/symbol/edge counts, most-called functions, most-depended-on files.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/SiwarKhalfaoui/codegraph-mcp'

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