KM

korigamik/markitdown_mcp_server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

88 stars 16 forks 质量 59 趋势 0MIT

korigamik/markitdown_mcp_server 是一个从 https://github.com/korigamik/markitdown_mcp_server. 导入的 MCP 服务器候选

概览

korigamik/markitdown_mcp_server 是一个从 https://github.com/korigamik/markitdown_mcp_server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,利用 MarkItDown 工具将各种文件格式转换为 Markdown。

支持的格式

  • PDF
  • PowerPoint
  • 词
  • Excel
  • 图像(EXIF 元数据和 OCR)
  • 音频(EXIF元数据和语音转录)
  • HTML
  • 基于文本的格式(CSV、JSON、XML)
  • ZIP 文件(对内容进行迭代)

安装

通过Smithery安装

通过Smithery自动安装Claude Desktop的MarkItDown MCP Server:

手动安装

  1. 克隆此仓库
  2. 安装依赖:

用途

作为MCP服务器

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

Zed 编辑

在你的settings.json中添加以下内容:

命令

服务器响应以下MCP命令:

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

示例:

支持的MCP客户端

与 modelcontextprotocol.io/clients 中列出的任何符合MCP标准的客户合作,包括:

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

许可证

麻省理工学院许可证。详情请参见许可证。

致谢

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

本页由 AI 翻译,技术细节请以原文为准。

README

MarkItDown MCP Server

A Model Context Protocol (MCP) server that converts various file formats to Markdown using the MarkItDown utility.

Supported Formats

  • PDF
  • PowerPoint
  • Word
  • Excel
  • Images (EXIF metadata and OCR)
  • Audio (EXIF metadata and speech transcription)
  • HTML
  • Text-based formats (CSV, JSON, XML)
  • ZIP files (iterates over contents)

Installation

Installing via Smithery

To install MarkItDown MCP Server for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone this repository
  2. Install dependencies:
uv install

Usage

As MCP Server

The server can be integrated with any MCP client. Here are some examples:

Zed Editor

Add the following to your settings.json:

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

Commands

The server responds to the following MCP commands:

  • /md - Convert the specified file to Markdown

Example:

/md document.pdf

Supported MCP Clients

Works with any MCP-compliant client listed at modelcontextprotocol.io/clients, including:

  • Zed Editor
  • Any other MCP-compatible editors and tools

License

MIT License. See LICENSE for details.

Acknowledgements

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

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @KorigamiK/markitdown_mcp_server --client claude
新手?先看 mcpskill.org 教程 →