Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| render_diagram | Render the first diagram found in a Markdown file or raw text. Args: file_path: Path to a .md file containing a diagram block. raw_markdown: Raw markdown string with a diagram code block. output_format: "svg" (default), "png", "jpeg", or "pdf". theme: "light" (default) or "dark". look: "default" or "handDrawn" (Mermaid sketch mode). scale: Resolution multiplier for PNG/JPEG (default 2). Returns: Dict with diagram_type, output_format, and base64-encoded output. |
| render_all_diagrams | Render ALL diagram blocks found in a Markdown file. Parses the entire document, finds every diagram block, renders each separately, and optionally saves output files. Args: file_path: Path to a .md file. raw_markdown: Raw markdown string. output_format: "svg", "png", "jpeg", or "pdf". theme: "light" or "dark". look: "default" or "handDrawn". scale: Resolution multiplier for raster output. output_dir: Directory to save rendered files. Files are named {stem}{type}{index}.{format}. Returns: List of result dicts, each with diagram_type, index, and base64 output. |
| list_diagrams | List all detected diagram blocks without rendering them. Args: file_path: Path to a .md file. raw_markdown: Raw markdown string. Returns: List of dicts with diagram_type, line_start, and line_end for each block. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |