The MCP server provides several tools to analyze and navigate code relationships.

Code graph

Code graph support is available for TypeScript.
index
tool
Index or re-index the code in a directory.
analyze_function
tool
Analyze a function with a given name in the project.Returns code graph information about the function.

LSP

LSP support is available for C/C++, C#, Go, Java, JavaScript, Python, PHP, Ruby, Rust, and TypeScript. See here which LSP servers we use.
list_files
tool
List files in the current workspace.
read_source
tool
Read source code for a file. Omit range to read the entire file; provide start/end lines to limit the output.
definitions_in_file
tool
Retrieves symbol definitions for a specified file.
find_definition
tool
Finds the definition of a symbol for a given position in a file. Includes the definition’s source code.
find_identifier
tool
Finds an identifier by name within a file.
find_referenced_symbols
tool
Retrieves any symbols and their definitions within the function body of the provided position. Great for retrieving functions invoked within a target function’s body.
find_references
tool
Retrieves a symbol’s references. Can optionally specify the number of context lines before and after the reference symbol’s location.

License management

activate_subscription
tool
Validate a license key and activate the MCP server.
resume_subscription
tool
Re-activate a resumed subscription using the previously expired license key.