mcp-server
v1.6.2Model Context Protocol server for Markdy diagram validation, transpilation, and generation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_markdy_code
Validates MarkdyScript diagram syntax, detects architectural rule violations, and outputs diagnostic suggestions with AI healing prompts.
| Parameter | Type | Description |
|---|---|---|
code * | string | The complete MarkdyScript (.markdy) diagram code starting with 'scene'. |
checkArchitecture | boolean | Whether to run Well-Architected governance rule checks (e.g. layer boundaries, cycle detection, gateway checks). Default: true. |
diagnose_markdy_syntax
Deep diagnostic tool that analyzes MarkdyScript diagram syntax, detects typos in keywords/node kinds/operators/nodes, identifies flow cycle overlaps, unquoted strings, and provides 'Did you mean?' suggestions with auto-repaired code.
| Parameter | Type | Description |
|---|---|---|
code * | string | The MarkdyScript (.markdy) diagram code to inspect. |
checkArchitecture | boolean | Whether to include Well-Architected governance rules in the report. Default: true. |
fix_markdy_code
Automatically repairs common MarkdyScript syntax errors, typos, missing colons, invalid flow operators, unquoted strings, cycle return edges, and wraps top-level bare cues into a valid scene.
| Parameter | Type | Description |
|---|---|---|
code * | string | The broken or draft MarkdyScript diagram code to automatically repair. |
transpile_to_markdy
Converts external infrastructure or diagram code (Mermaid, Docker Compose, Kubernetes manifests, Terraform state, or Draw.io XML) into animated MarkdyScript scenes.
| Parameter | Type | Description |
|---|---|---|
format * | string | The source format to transpile from. Must be exactly one of: 'mermaid', 'docker-compose', 'k8s', 'terraform', 'drawio'. |
source * | string | The source code or markup content to transpile into MarkdyScript. |
title | string | Optional human-readable title for the generated scene header. |
explain_architecture
Analyzes a MarkdyScript AST to output structural topology summaries, component role counts, and governance health metrics.
| Parameter | Type | Description |
|---|---|---|
code * | string | The MarkdyScript diagram code to inspect. |
generate_markdy_prompt
Generates optimal LLM system prompts and grammar constraints for building high-quality, hallucination-resistant Markdy architecture animations.
| Parameter | Type | Description |
|---|---|---|
userGoal * | string | The architecture, workflow, or system flow description the user wants to visualize. |
get_architecture_catalog
Returns the catalog of production-grade golden architecture templates (Microservices, RAG, Kafka, Kubernetes Ingress, GitOps CI/CD, OAuth2, HA Multi-Region, Flowcharts) with full runnable MarkdyScript code.
| Parameter | Type | Description |
|---|---|---|
filterCategory | string | Optional filter string (e.g. 'Cloud', 'AI', 'Messaging', 'Security', 'DevOps'). |
get_markdy_intellicode
Provides zero-dependency intelligent code completion, predictive ghost-text next-line suggestions, and Well-Architected proactive recommendations for MarkdyScript diagrams.
| Parameter | Type | Description |
|---|---|---|
code * | string | The MarkdyScript diagram code. |
column | number | Optional 0-indexed column character where the cursor is positioned. |
line | number | Optional 0-indexed line number where the cursor is positioned. |