Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | Path to write log file (e.g. logs/mcp.log). Highly recommended for debugging | |
| CACHE_TTL | No | Time-to-live for cache items (optional) | |
| LOG_LEVEL | No | Logging verbosity. Options: debug, info, warn, error, silent | info |
| GIT_BRANCH | No | Default Git branch to clone | main |
| MCP_GROUPS | No | Comma-separated list of prompt groups to load (e.g. laravel,vue). If unset, checks System Repo or default behaviors | |
| WATCH_MODE | No | Enable auto-reloading when changes are detected in the repository | false |
| STORAGE_DIR | No | Directory to store cloned repositories | .prompts_cache |
| MCP_LANGUAGE | No | Output language. Options: en, zh | en |
| CACHE_PROVIDER | No | Caching mechanism. Options: local, redis | local |
| TRANSPORT_TYPE | No | Communication method. Options: stdio, http, sse | stdio |
| GIT_MAX_RETRIES | No | Number of retries for failed Git operations | 3 |
| PROMPT_REPO_URL | No | Primary Git repository URL or local path (required if PROMPT_REPO_URLS is not set) | |
| SYSTEM_REPO_URL | No | Separate repository URL for system-level prompts (e.g. common prompts) | |
| PROMPT_REPO_URLS | No | Comma-separated list of multiple repository URLs (e.g. url1,url2) | |
| GIT_POLLING_INTERVAL | No | Interval (ms) to check for updates when WATCH_MODE=true | 300000 |
| CACHE_CLEANUP_INTERVAL | No | Interval (ms) to clean up expired cache items | 10000 |
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 | |