# canlgz
## 基本信息
- Slug: `canlgz-markitdown_mcp_server`
- Source: modelscope
- Publisher: @canlgz/markitdown_mcp_server
- Categories: documentation-access / file-systems
- Hosted: No
- License: MIT License
- Source URL: https://www.modelscope.cn/mcp/servers/@canlgz/markitdown_mcp_server
## 简介
暂无描述。
## MCP Server 详情

# MarkItDown MCP 服务器

[![smithery 徽章](https://smithery.ai/badge/@KorigamiK/markitdown_mcp_server)](https://smithery.ai/server/@KorigamiK/markitdown_mcp_server)

这是一个使用 MarkItDown 工具将各种文件格式转换为 Markdown 的 Model Context Protocol (MCP) 服务器。

<a href="https://glama.ai/mcp/servers/sbc6bljjg5"><img width="380" height="200" src="https://glama.ai/mcp/servers/sbc6bljjg5/badge" alt="MarkItDown 服务器 MCP 服务器" /></a>

## 支持的格式

- PDF
- PowerPoint
- Word
- Excel
- 图像（EXIF 元数据和 OCR）
- 音频（EXIF 元数据和语音转录）
- HTML
- 基于文本的格式（CSV、JSON、XML）
- ZIP 文件（遍历内容）

## 安装

### 通过 Smithery 安装

要通过 [Smithery](https://smithery.ai/server/@KorigamiK/markitdown_mcp_server) 自动安装适用于 Claude Desktop 的 MarkItDown MCP 服务器：

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


### 手动安装

1. 克隆此仓库
2. 安装依赖项：
bash
uv install


## 使用方法

### 作为 MCP 服务器

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

#### Zed 编辑器

在 `settings.json` 中添加以下内容：

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


### 命令

服务器响应以下 MCP 命令：

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

示例：
bash
/md document.pdf


## 支持的 MCP 客户端

支持 [modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients) 列出的所有符合 MCP 标准的客户端，包括：

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

## 许可证

MIT 许可证。详情请参阅 [LICENSE](LICENSE)。

## 致谢

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

