π Documentation
Learn how to use MarkdownTree and integrate with our API and MCP endpoints.
Editor Guide
Learn how to use the visual markdown editor with graph visualization.
API Reference
OpenAPI specification for programmatic access.
MCP Client
Connect to AI agents via the Model Context Protocol.
π MCP Integration
MarkdownTree is fully compatible with the Model Context Protocol (MCP). Connect agents, LLM workflows, and automation tools to MarkdownTree's real Markdown parsing, graph, outline, stats, and export capabilities.
π MCP Discovery Endpoint
GET https://markdown.platphormnews.com/.well-known/mcp.json
π€ MCP Client Portal
Use the Platphorm MCP Client to connect agents and tools:
mcp.platphormnews.comπ Available MCP Tools
- β’
parse_markdownβ Parse Markdown content into graph, outline, and stats data - β’
export_htmlβ Export sanitized standalone HTML - β’
export_jsonβ Export structured Markdown graph JSON - β’
generate_table_of_contentsβ Generate a deterministic TOC from real headings - β’
export_pdf/export_pngβ Return degraded unavailable states until implemented
β‘ Quick Start
π Transform Markdown to Graph
curl -X POST https://markdown.platphormnews.com/api/v1/transform \
-H "Content-Type: application/json" \
-d '{"markdown": "# Hello\n\nWorld"}'π€ Export Document
curl -X POST https://markdown.platphormnews.com/api/v1/export \
-H "Content-Type: application/json" \
-d '{"markdown": "# Doc", "format": "html"}'π€ AI Enhancement
curl -X POST https://markdown.platphormnews.com/api/v1/ai/enhance \
-H "Content-Type: application/json" \
-d '{"markdown": "# Draft", "action": "improve"}'This returns an honest model-unavailable state unless a backend provider is configured. Deterministic table-of-contents generation is available at /api/v1/ai/toc.
π‘ Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/health | π Health check |
GET | /api/docs | π OpenAPI spec |
POST | /api/v1/parse | Parse Markdown to graph, outline, and stats |
POST | /api/v1/transform | Transform Markdown to graph |
POST | /api/v1/export | Export Markdown, HTML, JSON, or degraded PDF/PNG state |
POST | /api/v1/ai/enhance | Model-backed enhancement when configured; degraded otherwise |
POST | /api/v1/ai/chat | π¬ AI chat assistant |
π Internationalization
MarkdownTree includes built-in I18N support. The interface automatically detects your browser language and supports: