search_files
Locate files and directories by name pattern recursively within a specified directory. Supports case-insensitive searches, excludes hidden items by default, and returns relative paths. Ideal for organizing and accessing project files efficiently.
Instructions
Search for files and directories matching a pattern. The search is recursive and case-insensitive. Only searches within the allowed directory. Returns paths relative to the allowed directory. Searches in file and directory names, not content. For searching within file contents, use the tree_sitter_map tool which can locate specific code elements like functions and classes. Example: pattern='.py' finds all Python files, pattern='test' finds all items with 'test' in the name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_hidden | No | Whether to include hidden files and directories (defaults to false) | |
path | No | Starting directory for the search (defaults to allowed directory) | |
pattern | Yes | Pattern to search for in file and directory names |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from AiDD MCP Server
- create_directory
- delete_file
- directory_tree
- edit_file
- execute_code
- execute_shell_script
- get_allowed_directory
- get_file_info
- get_system_info
- git_add
- git_checkout
- git_commit
- git_create_branch
- git_diff
- git_diff_staged
- git_diff_unstaged
- git_init
- git_log
- git_reset
- git_show
- git_status
- list_directory
- move_file
- read_file
- read_multiple_files
- search_files
- tree_sitter_map
- update_allowed_directory
- write_file
Related Tools
- @shariqriazz/vertex-ai-mcp-server
- @jurasofish/mcpunk
- @auchenberg/claude-code-mcp
- @Alihkhawaher/everything-search-server
- @ryanjoachim/mcp-rtfm