get_code_context
Retrieve a comprehensive overview of a project's codebase, including directory structure and code symbols, to quickly understand its architecture and components. Ideal for starting new tasks or analyzing unfamiliar projects.
Instructions
Returns Complete Context of a given project directory, including directory tree, and code symbols. Useful for getting a quick overview of a project. Use this tool when you need to get a comprehensive overview of a project's codebase. Useful at the start of a new task.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
absolutePath | Yes | Absolute path to the directory to analyze. For windows, it is recommended to use forward slashes to avoid escaping (e.g. C:/Users/username/Documents/project/src) | |
analyzeJs | No | Whether to analyze JavaScript/TypeScript and Python files. Returns the count of functions, variables, classes, imports, and exports in the codebase. | |
includeSymbols | No | Whether to include code symbols in the response. Returns the code symbols for each file. | |
maxDepth | No | Maximum directory depth for code analysis (default: 5 levels). Directory tree will still be built for all levels. Reduce the depth if you only need a quick overview of the project. | |
symbolType | No | Type of symbols to include if includeSymbols is true. Otherwise, returns only the directory tree. | all |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Code Context Provider MCP
Related Tools
- @jurasofish/mcpunk
- @adhikasp/mcp-git-ingest
- @ryanjoachim/mcp-rtfm
- @skydeckai/mcp-server-aidd
- @admica/FileScopeMCP