Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTP_VERIFY | No | Verify SSL certificates (as needed) | |
| GITHUB_TOKEN | No | GitHub personal access token (recommended to avoid rate limits) | |
| PROJECT_ROOT | Yes | Local project root that the server is allowed to access (security boundary) | |
| KROKI_TIMEOUT | No | Kroki request timeout in seconds | 20 |
| KROKI_BASE_URL | Yes | The base URL for the Kroki API (e.g. https://kroki.io) | |
| MAX_FILE_CHARS | No | Max characters to read from a file (prevents huge reads) | 200000 |
| DIAGRAM_OUT_DIR | No | Where to save PNGs (must be inside PROJECT_ROOT) | diagrams |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_files | - |
| read_file | - |
| render_mermaid | - |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| generate_mermaid_canonical | Strict unified prompt: generates Mermaid flowcharts using ONLY the canonical style mermaid://styles/blue-flowchart. Supports GitHub repositories, local projects, OR user-provided content. Always renders PNG via render_mermaid. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| blue_flowchart_style | Canonical blue Mermaid flowchart style |