code-index-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| set_project_pathC | Set the base project path for indexing. |
| search_code_advancedA | Search for code pattern with pagination. Auto-selects best search tool (ugrep/ripgrep/ag/grep). Supports glob file_pattern (e.g., "*.py"), explicit regex mode, and fuzzy matching (ugrep only). Regex matching requires passing regex=True and may require an external search tool. |
| find_filesA | Find files matching glob pattern using in-memory index. Supports path patterns (.py, test_.js) and filename-only matching (README.md). |
| get_file_summaryB | |
| get_symbol_bodyA | |
| refresh_indexA | Manually rebuild the project file index. Use after git operations or when index seems stale. |
| build_deep_indexA | |
| get_settings_infoB | Get information about the project settings. |
| create_temp_directoryA | Create the temporary directory used for storing index data. |
| check_temp_directoryA | Check the temporary directory used for storing index data. |
| clear_settingsB | Clear all settings and cached data. |
| refresh_search_toolsA | Manually re-detect the available command-line search tools on the system. This is useful if you have installed a new tool (like ripgrep) after starting the server. |
| get_file_watcher_statusA | Get file watcher service status and statistics. |
| configure_file_watcherA | Configure file watcher service settings. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/johnhuang316/code-index-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server