
Zed 的 MarkItDown MCP 服务器
概览
如果你遇到安装超时或 onnxruntime 依赖冲突,请在安装前阅读🛠️下面的 Python 3.14+ 快速修复部分。 该扩展将 MarkItDown 集成为 Zed 助手的模型上下文协议(MCP)服务器。 有关上游信息,请查看MarkItDown-MCP - 上传或引用任何文件,该扩展名将其转换为AI无需多模态即可理解和操作的干净Markdown。 它暴露了一个工具:convert_to_markdown(uri),其中 uri 可以是任何 http:、https:、file:,或数据:URI。 通过Zed的设置或助手配置界面访问: - : 指定 npm 包版本(默认:“最新”) - (由 Zed 自动处理)- (由 Zed 自动处理) - (用于初始包安装和网页调用)
概述(AI 翻译)
[!警告] Python 3.14+ / 基于Arch的用户: 如果你遇到安装超时或
onnxruntime依赖冲突,请在安装前阅读🛠️下面的Python 3.14+快速修复部分。
该扩展将 MarkItDown 集成为 Zed 助手的模型上下文协议(MCP)服务器。
有关上游信息,请查看MarkItDown-MCP
这个扩展的作用
将任何文档转化为AI上下文 - 上传或引用任何文件,这个扩展会将其转换为AI能理解和操作的干净Markdown,无需多模态。
支持的文件类型
它暴露了一个工具:convert_to_markdown(uri),其中uri可以是任意http:、https:、file:或data:的URI。
| 分类 | 格式 | 人工智能用例 |
|---|---|---|
| 文档PDF、Word(.docx)、Excel(.xlsx)、PowerPoint(.pptx) | 分析报告、总结演示文稿、提取数据 | |
| 图片 | JPG、PNG、GIF(含OCR) | 从截图中阅读文本,分析图表,描述图片 |
| 音频 | MP3,WAV(含转录) | 会议转录,分析语音内容 |
| Web | HTTP/HTTPS URL | 摘要文章,提取关键信息 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MarkItDown MCP Server for Zed
[!WARNING]
Python 3.14+ / Arch-based Users: If you encounter installation timeouts oronnxruntimedependency conflicts, please read the 🛠️ Python 3.14+ Quick Fix section below before installation.
This extension integrates MarkItDown as a Model Context Protocol (MCP) Server for for Zed’s Assistant.
for upstream information, check MarkItDown-MCP
What This Extension Does
Turn any Documents into AI Context - Upload or reference any file, and this extension converts it to clean Markdown that AI can understand and work with without Multimodality.
Supported File Types
It exposes one tool: convert_to_markdown(uri), where uri can be any http:, https:, file:, or data: URI.
| Category | Formats | AI Use Cases |
|---|---|---|
| Documents | PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx) | Analyze reports, summarize presentations, extract data |
| Images | JPG, PNG, GIF (with OCR) | Read text from screenshots, analyze charts, describe images |
| Audio | MP3, WAV (with transcription) | Transcribe meetings, analyze speech content |
| Web | HTTP/HTTPS URLs | Summarize articles, extract key information |
| Data | CSV, JSON, XML | Process structured data, generate insights |
| Archives | ZIP files | Analyze multiple files at once |
Quick Start
Installation (dev)
# Clone the repo
git clone [https://github.com/G36maid/zed-mcp-server-markitdown.git](https://github.com/G36maid/zed-mcp-server-markitdown.git)
cd zed-mcp-server-markitdown
# Build the extension
cargo build --release
# Add as a dev extension in Zed:
# In Zed, go to Extensions → Install Dev Extension → Select this directory
Usage Examples
Convert a PDF report:
Please analyze this PDF report and summarize the key findings.
Extract data from a spreadsheet:
Convert this Excel file to markdown and show me the top 5 entries.
Analyze a webpage:
Summarize the main points from this article form link in README.
Configuration
Optional Settings
Access through Zed’s settings or the Assistant configuration UI:
{
"context_servers": {
"mcp-server-markitdown": {
"settings": {
"package_version": "latest"
}
}
}
}
package_version: Specify npm package version (default: “latest”)
Prerequisites
- Node.js and npm (automatically handled by Zed)
- Rust (automatically handled by Zed)
- Internet connection (for initial package installation and web calls)
Local Development
# Clone the repo
git clone [https://github.com/G36maid/zed-mcp-server-markitdown.git](https://github.com/G36maid/zed-mcp-server-markitdown.git)
cd zed-mcp-server-markitdown
# Build the extension
cargo build --release
安装
uvx --python 3.13 markitdown-mcp