Format Conversion
Bidirectional converter between GitHub-Flavored Markdown and AsciiDoc — headings, tables, code blocks, admonitions, links, task lists and more, with side-by-side output and conversion notes.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/markdown-asciidoc-converter' \
-H 'Content-Type: application/json' \
-d '{"direction":"md2ad","content":"# Release Notes\n\nVersion **2.4.0** — the _speed_ update.\n\n## Highlights\n\n- New `fast-run` command (3x faster)\n- Fixed the [login bug](https://example.com/issue/42)\n- Task list:\n - [x] ship the fix\n - [ ] update docs\n\n> **Note**\n> Restart the daemon after upgrading.\n\n| Module | Status |\n|:-------|:------:|\n| core | ✅ |\n| ui | ❌ |\n\n```python\nprint(\"hello\")\n```\n","promoteTitle":true,"keepUnresolved":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/markdown-asciidoc-converter| Name | Type | Required | Description |
|---|---|---|---|
| direction | select | No | — |
| content | textarea | Yes | — |
| promoteTitle | checkbox | No | — |
| keepUnresolved | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-markdown-asciidoc-converter": {
"name": "markdown-asciidoc-converter",
"description": "Bidirectional converter between GitHub-Flavored Markdown and AsciiDoc — headings, tables, code blocks, admonitions, links, task lists and more, with side-by-side output and conversion notes.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=markdown-asciidoc-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "markdown-asciidoc-converter",
"arguments": {
"direction": "md2ad",
"content": "# Release Notes\n\nVersion **2.4.0** — the _speed_ update.\n\n## Highlights\n\n- New `fast-run` command (3x faster)\n- Fixed the [login bug](https://example.com/issue/42)\n- Task list:\n - [x] ship the fix\n - [ ] update docs\n\n> **Note**\n> Restart the daemon after upgrading.\n\n| Module | Status |\n|:-------|:------:|\n| core | ✅ |\n| ui | ❌ |\n\n```python\nprint(\"hello\")\n```\n",
"promoteTitle": true,
"keepUnresolved": true
}
}
}Questions or issues? Contact [email protected]