Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_DOCS_DIR | No | Docs directory relative to the repo root. | docs |
| MCP_CODE_DIRS | No | Comma-separated directories to search for code. | src,config,routes,database,resources,tests |
| MCP_CODE_EXTS | No | Comma-separated file extensions for code search. | .php,.md,.json,.yml,.yaml,.xml,.ts,.js |
| MCP_DOCS_EXTS | No | Comma-separated list of document file extensions. | .md,.mdx |
| MCP_REPO_ROOT | No | Absolute path to the local repo checkout. Required unless MCP_TELEGRAPH_ROOT is provided. | |
| MCP_REPO_LABEL | No | Text label used in the prompts. Defaults to the basename of the repo root. | |
| MCP_URI_SCHEME | No | Resource URI scheme. Defaults to the tool prefix if not specified. | |
| MCP_TOOL_PREFIX | No | Tool name prefix used for the MCP tools. | repo |
| MCP_GIT_AUTO_FETCH | No | If set to 1, runs git fetch --prune --tags once at server start. | |
| MCP_MAX_FILE_BYTES | No | Maximum size of a file allowed to be read. | 512KB |
| MCP_TELEGRAPH_ROOT | No | Legacy fallback for MCP_REPO_ROOT. Absolute path to the local repo checkout. | |
| MCP_DEFAULT_MAX_CHARS | No | Default maximum characters returned for file reads/searches. | 50k chars |
| MCP_GIT_FETCH_TIMEOUT_MS | No | Timeout in milliseconds for the git fetch command. | 30000 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |