md2doc
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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 |
|---|---|
| convert_markdown_to_docxA | Convert a Markdown file to Word (.docx) with formatting. Applies Chinese government document formatting (公文格式规范) by default:
Args: input_path: Absolute path to the input Markdown file. output_path: Output .docx path. Defaults to /.docx. format_spec: Path to a format description markdown file (like 格式要求.md). Overrides the default format. The file defines fonts, sizes, spacing, and alignment per Word style (H1/H2/H3/正文/表格). reference_docx: Path to a .docx template whose styles overlay on top of the format spec. Useful for matching an existing document's styles. extract_media: Directory to extract media files to. skip_format: If True, bypass ALL formatting (pure pandoc output). no_cache_template: If True, force regeneration of the cached reference template (needed when format spec changes). auto_suggest: If True, automatically generate a modification suggestions report (xx-修改建议.md) after conversion. The report covers heading hierarchy, required sections, format issues, content problems, list continuity, and Chinese punctuation. Returns: Summary string with input path, output path, file size, and optionally the modification suggestions report path and issue count. |
| convert_markdown_to_xlsxA | Convert Markdown tables to an Excel (.xlsx) file. Extracts every HTML and Markdown pipe table from the document (in document order) and writes each to its own worksheet. Preserves colspan/rowspan merged cells, inline bold, and text-align alignment. Styling:
Args: input_path: Absolute path to the input Markdown file. output_path: Output .xlsx path. Defaults to /.xlsx. font_name: Optional font name override (default 微软雅黑). body_size: Optional body font size override (default 11). Returns: Summary string with input path, output path, file size, and sheet count. |
| analyze_and_suggestA | Analyze a Markdown document and generate modification suggestions. Performs semantic analysis across six categories:
Generates a structured report at /-修改建议.md with findings organized by category, each showing line numbers, severity, and specific suggestions. Args: input_path: Absolute path to the input Markdown file. Returns: Summary string with input path, suggestions file path, and issue count. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/fengredrum/md2doc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server