md2doc
md2doc — MCP-сервер для преобразования Markdown в DOCX
Сервер протокола контекста модели (MCP), который преобразует текст в формате Markdown в формат DOCX с использованием внешнего сервиса конвертации.
Функции
Преобразование текста Markdown в формат DOCX
Поддержка пользовательских шаблонов
Многоязычная поддержка (английский, китайский и др.)
Автоматическая загрузка файлов в папку «Загрузки» пользователя
Просмотр и управление шаблонами
Related MCP server: flexberry-markitdown-mcp
Использование
Cherry Studio
Откройте Cherry Studio
Перейдите в «Настройки» → «MCP»
Добавьте конфигурацию сервера:
{ "mcpServers": { "md2doc": { "command": "uvx", "args": ["md2doc"], "env": { "DEEP_SHARE_API_KEY": "your-api-key-here" } } } }
Claude Desktop
Откройте файл конфигурации Claude Desktop:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Добавьте сервер md2doc:
{ "mcpServers": { "md2doc": { "command": "uvx", "args": ["md2doc"], "env": { "DEEP_SHARE_API_KEY": "your-api-key-here" } } } }Перезапустите Claude Desktop
Командная строка (быстрый старт)
Для немедленного использования без настройки клиента:
# Install and run the server
uvx md2doc
# Or with environment variable
DEEP_SHARE_API_KEY="your-api-key-here" uvx md2docИнтеграция с Python
Вы также можете использовать md2doc напрямую в своих проектах на Python:
import asyncio
from md2doc.api_client import ConversionAPIClient
from md2doc.models import ConvertTextRequest
async def convert_markdown():
client = ConversionAPIClient()
request = ConvertTextRequest(
content="# Hello World\n\nThis is **markdown** content.",
filename="example",
language="zh",
template_name="templates",
remove_hr=False,
compat_mode=True
)
response = await client.convert_text(request)
if response.success:
print(f"File saved to: {response.file_path}")
# Run the conversion
asyncio.run(convert_markdown())Другие MCP-клиенты
Сервер работает с любым MCP-совместимым клиентом. Настройте его запуск:
uvx md2docС переменными окружения:
DEEP_SHARE_API_KEY="your-api-key-here" uvx md2docОблачное развертывание (удаленный сервер)
При развертывании этого MCP-сервера на облачном сервере (VPS/Docker) установите MCP_SAVE_REMOTE=true, чтобы получать временную ссылку для скачивания вместо сохранения в локальную директорию:
# In your cloud environment
export DEEP_SHARE_API_KEY="your-api-key-here"
export MCP_SAVE_REMOTE=true
uvx md2docСервер предоставит ссылку для скачивания преобразованного документа.
API-ключ
Бесплатный пробный API-ключ
Используйте этот ключ для тестирования:
f4e8fe6f-e39e-486f-b7e7-e037d2ec216fПокупка API-ключа
Доступные инструменты
convert_markdown_to_docx: преобразование текста markdown в DOCXlist_templates: получение доступных шаблонов по языку
Лицензия
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that enables bidirectional conversion between Markdown and PDF formats, including text extraction from specific pages and metadata retrieval. It supports customizable PDF output sizes and document processing through standard MCP tools.51-
- AlicenseNot gradedqualityCmaintenanceMCP server for converting various file formats (PDF, DOCX, images, audio, etc.) to Markdown using Microsoft MarkItDown, with support for large files and Cyrillic text.1MIT
- AlicenseCqualityDmaintenanceA unified MCP server for document processing that enables creating, editing, and converting Word documents (DOCX), PDFs, Markdown, and images, with support for templates, formatting, and batch operations.100MIT
- FlicenseAqualityDmaintenanceMCP server for generating professionally formatted Word documents (.docx). Supports corporate templates (colors, fonts, logo), headers/footers, and Markdown conversion.4-
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yorick-Ryu/md2doc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server