Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Convert PDFs and other documents to structured formats via Docling, for AI applications.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DOCLING_MCP_CONVERSION_MODE, DOCLING_MCP_SERVICE_URL, DOCLING_MCP_SERVICE_API_KEY, DOCLING_MCP_SERVICE_TIMEOUT, DOCLING_MCP_SERVICE_MAX_RETRIES, DOCLING_MCP_FALLBACK_TO_LOCAL, DOCLING_MCP_KEEP_IMAGES, DOCLING_MCP_IMAGES_SCALE, DOCLING_MCP_DO_OCR, DOCLING_MCP_OCR_ENGINE, DOCLING_MCP_OCR_LANG, DOCLING_MCP_DO_TABLE_STRUCTURE, DOCLING_MCP_DO_PICTURE_DESCRIPTION, DOCLING_MCP_PICTURE_DESCRIPTION_PRESET, DOCLING_MCP_IMAGE_EXPORT_MODE, DOCLING_MCP_CACHE_MAX_DOCUMENTS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"docling": {
"command": "uvx",
"args": [
"docling-mcp"
],
"env": {
"DOCLING_MCP_CONVERSION_MODE": "your-value",
"DOCLING_MCP_SERVICE_URL": "your-value",
"DOCLING_MCP_SERVICE_API_KEY": "your-value",
"DOCLING_MCP_SERVICE_TIMEOUT": "your-value",
"DOCLING_MCP_SERVICE_MAX_RETRIES": "your-value",
"DOCLING_MCP_FALLBACK_TO_LOCAL": "your-value",
"DOCLING_MCP_KEEP_IMAGES": "your-value",
"DOCLING_MCP_IMAGES_SCALE": "your-value",
"DOCLING_MCP_DO_OCR": "your-value",
"DOCLING_MCP_OCR_ENGINE": "your-value",
"DOCLING_MCP_OCR_LANG": "your-value",
"DOCLING_MCP_DO_TABLE_STRUCTURE": "your-value",
"DOCLING_MCP_DO_PICTURE_DESCRIPTION": "your-value",
"DOCLING_MCP_PICTURE_DESCRIPTION_PRESET": "your-value",
"DOCLING_MCP_IMAGE_EXPORT_MODE": "your-value",
"DOCLING_MCP_CACHE_MAX_DOCUMENTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add docling --env DOCLING_MCP_CONVERSION_MODE=your-value --env DOCLING_MCP_SERVICE_URL=your-value --env DOCLING_MCP_SERVICE_API_KEY=your-value --env DOCLING_MCP_SERVICE_TIMEOUT=your-value --env DOCLING_MCP_SERVICE_MAX_RETRIES=your-value --env DOCLING_MCP_FALLBACK_TO_LOCAL=your-value --env DOCLING_MCP_KEEP_IMAGES=your-value --env DOCLING_MCP_IMAGES_SCALE=your-value --env DOCLING_MCP_DO_OCR=your-value --env DOCLING_MCP_OCR_ENGINE=your-value --env DOCLING_MCP_OCR_LANG=your-value --env DOCLING_MCP_DO_TABLE_STRUCTURE=your-value --env DOCLING_MCP_DO_PICTURE_DESCRIPTION=your-value --env DOCLING_MCP_PICTURE_DESCRIPTION_PRESET=your-value --env DOCLING_MCP_IMAGE_EXPORT_MODE=your-value --env DOCLING_MCP_CACHE_MAX_DOCUMENTS=your-value -- uvx docling-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"docling": {
"command": "uvx",
"args": [
"docling-mcp"
],
"env": {
"DOCLING_MCP_CONVERSION_MODE": "your-value",
"DOCLING_MCP_SERVICE_URL": "your-value",
"DOCLING_MCP_SERVICE_API_KEY": "your-value",
"DOCLING_MCP_SERVICE_TIMEOUT": "your-value",
"DOCLING_MCP_SERVICE_MAX_RETRIES": "your-value",
"DOCLING_MCP_FALLBACK_TO_LOCAL": "your-value",
"DOCLING_MCP_KEEP_IMAGES": "your-value",
"DOCLING_MCP_IMAGES_SCALE": "your-value",
"DOCLING_MCP_DO_OCR": "your-value",
"DOCLING_MCP_OCR_ENGINE": "your-value",
"DOCLING_MCP_OCR_LANG": "your-value",
"DOCLING_MCP_DO_TABLE_STRUCTURE": "your-value",
"DOCLING_MCP_DO_PICTURE_DESCRIPTION": "your-value",
"DOCLING_MCP_PICTURE_DESCRIPTION_PRESET": "your-value",
"DOCLING_MCP_IMAGE_EXPORT_MODE": "your-value",
"DOCLING_MCP_CACHE_MAX_DOCUMENTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"docling": {
"type": "stdio",
"command": "uvx",
"args": [
"docling-mcp"
],
"env": {
"DOCLING_MCP_CONVERSION_MODE": "your-value",
"DOCLING_MCP_SERVICE_URL": "your-value",
"DOCLING_MCP_SERVICE_API_KEY": "your-value",
"DOCLING_MCP_SERVICE_TIMEOUT": "your-value",
"DOCLING_MCP_SERVICE_MAX_RETRIES": "your-value",
"DOCLING_MCP_FALLBACK_TO_LOCAL": "your-value",
"DOCLING_MCP_KEEP_IMAGES": "your-value",
"DOCLING_MCP_IMAGES_SCALE": "your-value",
"DOCLING_MCP_DO_OCR": "your-value",
"DOCLING_MCP_OCR_ENGINE": "your-value",
"DOCLING_MCP_OCR_LANG": "your-value",
"DOCLING_MCP_DO_TABLE_STRUCTURE": "your-value",
"DOCLING_MCP_DO_PICTURE_DESCRIPTION": "your-value",
"DOCLING_MCP_PICTURE_DESCRIPTION_PRESET": "your-value",
"DOCLING_MCP_IMAGE_EXPORT_MODE": "your-value",
"DOCLING_MCP_CACHE_MAX_DOCUMENTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DOCLING_MCP_CONVERSION_MODE envDOCLING_MCP_SERVICE_URL envDOCLING_MCP_SERVICE_TIMEOUT envDOCLING_MCP_SERVICE_MAX_RETRIES envDOCLING_MCP_FALLBACK_TO_LOCAL envDOCLING_MCP_KEEP_IMAGES envDOCLING_MCP_IMAGES_SCALE envDOCLING_MCP_DO_OCR envDOCLING_MCP_OCR_ENGINE envDOCLING_MCP_OCR_LANG envDOCLING_MCP_DO_TABLE_STRUCTURE envDOCLING_MCP_DO_PICTURE_DESCRIPTION envDOCLING_MCP_PICTURE_DESCRIPTION_PRESET envDOCLING_MCP_IMAGE_EXPORT_MODE envDOCLING_MCP_CACHE_MAX_DOCUMENTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 docling-project 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:DOCLING_MCP_SERVICE_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.5.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Detailing Manager
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Connect your auto detailing studio's tasks, cars, clients and revenue to Claude or ChatGPT.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A document processing service using the Docling-MCP library and MCP (Model Context Protocol) for tool integration.
Docling MCP is a service that provides tools for document conversion, processing and generation. It uses the Docling library to convert PDF documents into structured formats and provides a caching mechanism to improve performance. The service exposes functionality through a set of tools that can be called by client applications.
| docling-mcp | MCP Python SDK |
|---|---|
>=3.0.0 | mcp>=2.0.0 |
>=2.0.0,<3.0.0 | mcp>=1.9.4,<2.0.0 |
If your MCP client application has not yet migrated to MCP SDK v2, pin:
pip install "docling-mcp<3.0.0"
See MIGRATION.md for the full migration guide.
For users with access to Docling Serve API:
Getting Docling Serve: Visit docling-serve for installation guides. You can deploy it from published container images or look for managed Docling SaaS offerings.
pip install docling-mcp
Then configure your environment:
export DOCLING_MCP_SERVICE_URL=https://your-docling-service.example.com
export DOCLING_MCP_SERVICE_API_KEY=your-api-key-here export DOCLING_MCP_CONVERSION_MODE=remote
For users who need local conversion or don't have Docling Serve access:
pip install docling-mcp[local]
Then configure your environment:
export DOCLING_MCP_CONVERSION_MODE=local
Install with local support and enable automatic fallback:
pip install docling-mcp[local]
Configure for remote with fallback:
export DOCLING_MCP_SERVICE_URL=https://your-docling-service.example.com
export DOCLING_MCP_CONVERSION_MODE=remote export DOCLING_MCP_FALLBACK_TO_LOCAL=true
All settings use the DOCLING_MCP_ prefix and can be supplied as environment variables, in a .env file in the working directory, or via the env block of your MCP client config. Copy .env.example as a starting point.
| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_CONVERSION_MODE | remote | remote or local |
DOCLING_MCP_CONVERSION_MODE=remote)| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_SERVICE_URL | — | URL of the Docling Serve instance |
DOCLING_MCP_SERVICE_API_KEY | — | API key for the service |
DOCLING_MCP_SERVICE_TIMEOUT | 300.0 | Timeout in seconds for a whole conversion job |
DOCLING_MCP_SERVICE_MAX_RETRIES | 3 | Max retry attempts |
DOCLING_MCP_FALLBACK_TO_LOCAL | false | Fall back to local if service is unreachable (requires docling-mcp[local]) |
| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_KEEP_IMAGES | false | Retain page images in output |
DOCLING_MCP_IMAGES_SCALE | 1.0 | Image scale factor (increase to avoid tensor padding errors) |
DOCLING_MCP_DO_OCR | true | Run OCR pipeline |
DOCLING_MCP_OCR_ENGINE | auto | OCR engine by its docling engine kind: auto, easyocr, tesseract (system binary), tesserocr (Python bindings), ocrmac, rapidocr. The engine must be installed on the conversion backend. In remote mode it is sent as the Docling Serve ocr_preset, so server-defined preset names also work there |
DOCLING_MCP_OCR_LANG | — | Comma-separated OCR languages, passed to the engine unchanged. iso:en,iso:de works with any engine (docling ≥ 2.127, recommended with auto); bare codes are engine-specific (eng for Tesseract, en for EasyOCR or Docling Serve). Unset means the engine's defaults |
DOCLING_MCP_DO_TABLE_STRUCTURE | true | Detect table structure |
DOCLING_MCP_DO_PICTURE_DESCRIPTION | false | Run a vision-language model to generate textual descriptions for figures and pictures |
DOCLING_MCP_PICTURE_DESCRIPTION_PRESET | — | Preset ID for the picture-description VLM (e.g. smolvlm, granite_vision). When unset the backend default is used. Only applies when DOCLING_MCP_DO_PICTURE_DESCRIPTION=true |
[!TIP]
Enabling
DOCLING_MCP_DO_PICTURE_DESCRIPTION=trueadds a VLM inference step for every figure in the document. On resource-constrained hardware (e.g. a laptop running the model on CPU) this can significantly increase conversion time.
- Remote mode — increase
DOCLING_MCP_SERVICE_TIMEOUT(in seconds) to give the remote service enough time to complete. The default is300.0(5 minutes).
- Local mode / MCP client timeout — the MCP client itself may also enforce a request timeout. For example, in LM Studio set the
timeoutfield (in milliseconds) in yourmcp.json:
`json
{
"mcpServers": {
"docling": {
"url": "http://localhost:8000/mcp",
"timeout": 300000
}
}
}
`
| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_IMAGE_EXPORT_MODE | placeholder | How images are rendered in Markdown output: placeholder (emits ), embedded (base64 data-URI), referenced (file path / URL) |
| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_CACHE_MAX_DOCUMENTS | 10 | Maximum number of documents to keep in the in-memory cache. When the limit is reached the least-recently-used document is evicted. |
--tools llama-index-rag)| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_LI_API_BASE | http://127.0.0.1:1234/v1 | OpenAI-compatible LLM endpoint |
DOCLING_MCP_LI_API_KEY | none | API key for the LLM endpoint |
DOCLING_MCP_LI_MODEL_ID | ibm/granite-3.2-8b | LLM model identifier |
DOCLING_MCP_LI_EMBEDDING_MODEL | BAAI/bge-base-en-v1.5 | HuggingFace embedding model |
--tools llama-stack-rag / --tools llama-stack-ie)| Variable | Default | Description |
|---|---|---|
DOCLING_MCP_LLS_URL | http://localhost:8321 | LlamaStack server URL |
DOCLING_MCP_LLS_VDB_EMBEDDING | all-MiniLM-L6-v2 | Embedding model for vector DB |
DOCLING_MCP_LLS_EXTRACTION_MODEL | openai/gpt-oss-20b | Model used for structured extraction |
{
"mcpServers": { "docling": { "command": "uvx", "args": [ "--from=docling-mcp", "docling-mcp-server" ], "env": { "DOCLING_MCP_CONVERSION_MODE": "remote", "DOCLING_MCP_SERVICE_URL": "https://your-docling-service.example.com", "DOCLING_MCP_SERVICE_API_KEY": "your-api-key-here" } } } }
The easiest way to install Docling MCP and connect it to your client is by launching it via uvx.
Depending on the transfer protocol required, specify the argument --transport, for example
sh uvx --from docling-mcp docling-mcp-server --transport stdio
sh uvx --from docling-mcp docling-mcp-server --transport sse
sh uvx --from docling-mcp docling-mcp-server --transport streamable-http
More options are available, e.g. the selection of which toolgroup to launch. Use the --help argument to inspect all the CLI options.
For developing the MCP tools further, please refer to the Developing section of CONTRIBUTING.md for instructions.
One of the easiest ways to experiment with the tools provided by Docling MCP is to leverage an AI desktop client with MCP support. Most of these clients use a common config interface. Adding Docling MCP in your favorite client is usually as simple as adding the following entry in the configuration file.
{
"mcpServers": { "docling": { "command": "uvx", "args": [ "--from=docling-mcp", "docling-mcp-server" ] } } }
When using [Claude for Desktop](https://claude.ai/download), simply edit the config file claude_desktop_config.json with the snippet above or the example provided here.
In [LM Studio](https://lmstudio.ai/), edit the mcp.json file with the appropriate section or simply click on the button below for a direct install.
Other integrations are described in the [integrations] page.
Example of prompt for converting PDF documents:
Convert the PDF document at <provide file-path> into DoclingDocument and return its document-key.
Example of prompt for generating new documents:
I want you to write a Docling document. To do this, you will create a document first by invoking `create_new_docling_document`. Next you can add a title (by i只显示了开头部分;其余内容请在仓库中阅读