Skip to main content
Glama

MarkItDown MCP 服务器

铁匠徽章

模型上下文协议 (MCP) 服务器使用 MarkItDown 实用程序将各种文件格式转换为 Markdown。

支持的格式

  • PDF

  • 微软幻灯片软件

  • 单词

  • Excel

  • 图像(EXIF 元数据和 OCR)

  • 音频(EXIF 元数据和语音转录)

  • HTML

  • 基于文本的格式(CSV、JSON、XML)

  • ZIP 文件(迭代内容)

Related MCP server: flexberry-markitdown-mcp

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 MarkItDown MCP 服务器:

npx -y @smithery/cli install @KorigamiK/markitdown_mcp_server --client claude

手动安装

  1. 克隆此存储库

  2. 安装依赖项:

uv install

用法

作为 MCP 服务器

该服务器可以与任何 MCP 客户端集成。以下是一些示例:

Zed 编辑器

将以下内容添加到您的settings.json :

"context_servers": {
  "markitdown_mcp": {
    "settings": {},
    "command": {
      "path": "uv",
      "args": [
        "--directory",
        "/path/to/markitdown_mcp_server",
        "run",
        "markitdown"
      ]
    }
  }
}

命令

服务器响应以下 MCP 命令:

  • /md <file> - 将指定文件转换为 Markdown

例子:

/md document.pdf

支持的 MCP 客户端

可与modelcontextprotocol.io/clients上列出的任何符合 MCP 的客户端配合使用,包括:

  • Zed 编辑器

  • 任何其他与 MCP 兼容的编辑器和工具

执照

MIT 许可证。详情请参阅许可证。

致谢

https://github.com/microsoft/markitdown#readme

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Converts documents (PDF, DOCX, images, etc.) to Markdown using Microsoft's Markitdown library, with no local setup required. Integrates with AI agents via MCP for seamless document conversion.
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    Converts documents, web pages, media, and more to Markdown via an MCP server with tools for conversion, inspection, vault capture, and format listing, all running locally with privacy-first design.
    5
    1
    MIT