search_project
Search across project files to find references, callers, or signatures by substring matching.
Instructions
Plain-text (substring) search across project files. Use to find references, callers, or signatures across the codebase. Default fileTypes is ["gd","tscn","cs","gdshader"]; caseSensitive default false; maxResults default 100. Skips hidden entries and the .mcp directory. Returns: matches[] (project-relative file, 1-indexed lineNumber, line text) and truncated:true when maxResults was hit — consider raising it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| pattern | Yes | Plain-text string to search for | |
| fileTypes | No | File extensions to search (default: ["gd", "tscn", "cs", "gdshader"]) | |
| caseSensitive | No | Case-sensitive search (default: false) | |
| maxResults | No | Maximum matches to return (default: 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | No | ||
| truncated | No |