Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_LINES_PER_PAGE | No | Lines per page when reading files | 500 |
| MCP_MAX_SEARCH_RESULTS | No | Search results per page | 100 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_directory | List contents of a directory with metadata including file sizes and line counts |
| read_file | Read file contents. For large files (>500 lines), use start_line to read in chunks (e.g., 0, 500, 1000). Each call returns up to 500 lines. Binary files return metadata only. |
| search_code | Search for code patterns using ripgrep (very fast). Supports regex patterns and advanced filtering. PATTERN EXAMPLES:
COMMON USE CASES:
TIPS:
|
| search_in_file | Search for patterns within a specific file using ripgrep. Like Ctrl+F but with regex support. Useful for finding specific sections in a known file. |
| find_files | Find files by name using fast pattern matching. PATTERN EXAMPLES:
TIPS:
|
| get_file_info | Get file metadata without reading contents. Useful to check size/line count before reading. For large files, provides reading strategy recommendations. |
| list_allowed_directories | Show which directories this server can access (security boundaries). No parameters required. |