Skip to content

Commit e5cd702

Browse files
royderksRoy Derksceberam
authored
docs: Add instructions for using Docling with MCP to README (#2219)
* docs: Add instructions for using Docling with MCP to README * DCO Remediation Commit for Roy Derks <[email protected]> Signed-off-by: Roy Derks <[email protected]> * DCO Remediation Commit for Roy Derks <[email protected]> I, Roy Derks <[email protected]>, hereby add my Signed-off-by to this commit: 4b9ba1d Signed-off-by: Roy Derks <[email protected]> * docs: reorganize documentation on MCP server Signed-off-by: Cesar Berrospi Ramis <[email protected]> * docs: align README with documentation index page Signed-off-by: Cesar Berrospi Ramis <[email protected]> --------- Signed-off-by: Roy Derks <[email protected]> Signed-off-by: Cesar Berrospi Ramis <[email protected]> Co-authored-by: Roy Derks <[email protected]> Co-authored-by: Cesar Berrospi Ramis <[email protected]>
1 parent 55f5f37 commit e5cd702

File tree

4 files changed

+44
-1
lines changed

4 files changed

+44
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,20 @@ Docling simplifies document processing, parsing diverse formats — including ad
3838
* 🔍 Extensive OCR support for scanned PDFs and images
3939
* 👓 Support of several Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview))
4040
* 🎙️ Audio support with Automatic Speech Recognition (ASR) models
41+
* 🔌 Connect to any agent using the [MCP server](https://docling-project.github.io/docling/usage/mcp/)
4142
* 💻 Simple and convenient CLI
4243

4344
### What's new
4445
* 📤 Structured [information extraction][extraction] \[🧪 beta\]
46+
* 📑 New layout model (**Heron**) by default, for faster PDF parsing
47+
* 🔌 [MCP server](https://docling-project.github.io/docling/usage/mcp/) for agentic applications
4548

4649
### Coming soon
4750

4851
* 📝 Metadata extraction, including title, authors, references & language
4952
* 📝 Chart understanding (Barchart, Piechart, LinePlot, etc)
5053
* 📝 Complex chemistry understanding (Molecular structures)
54+
* 📝 Parsing of Web Video Text Tracks (WebVTT) files
5155

5256
## Installation
5357

@@ -73,7 +77,7 @@ result = converter.convert(source)
7377
print(result.document.export_to_markdown()) # output: "## Docling Technical Report[...]"
7478
```
7579

76-
More [advanced usage options](https://docling-project.github.io/docling/usage/) are available in
80+
More [advanced usage options](https://docling-project.github.io/docling/usage/advanced_options/) are available in
7781
the docs.
7882

7983
## CLI

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,20 @@ Docling simplifies document processing, parsing diverse formats — including ad
3030
* 🔍 Extensive OCR support for scanned PDFs and images
3131
* 👓 Support of several Visual Language Models ([SmolDocling](https://huggingface.co/ds4sd/SmolDocling-256M-preview))
3232
* 🎙️ Support for Audio with Automatic Speech Recognition (ASR) models
33+
* 🔌 Connect to any agent using the [Docling MCP](https://docling-project.github.io/docling/usage/mcp/) server
3334
* 💻 Simple and convenient CLI
3435

36+
### What's new
37+
* 📤 Structured [information extraction][extraction] \[🧪 beta\]
38+
* 📑 New layout model (**Heron**) by default, for faster PDF parsing
39+
* 🔌 [MCP server](https://docling-project.github.io/docling/usage/mcp/) for agentic applications
40+
3541
### Coming soon
3642

3743
* 📝 Metadata extraction, including title, authors, references & language
3844
* 📝 Chart understanding (Barchart, Piechart, LinePlot, etc)
3945
* 📝 Complex chemistry understanding (Molecular structures)
46+
* 📝 Parsing of Web Video Text Tracks (WebVTT) files
4047

4148
## Get started
4249

docs/usage/mcp.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
New AI trends focus on Agentic AI, an artificial intelligence system that can accomplish a specific goal with limited supervision.
2+
Agents can act autonomously to understand, plan, and execute a specific task.
3+
4+
To address the integration problem, the [Model Context Protocol](https://modelcontextprotocol.io) (MCP) emerges as a popular standard for connecting AI applications to external tools.
5+
6+
## Docling MCP
7+
8+
Docling supports the development of AI agents by providing an MCP Server. It allows you to experiment with document processing in different MCP Clients. Adding [Docling MCP](https://github.com/docling-project/docling-mcp) in your favorite client is usually as simple as adding the following entry in the configuration file:
9+
10+
```json
11+
{
12+
"mcpServers": {
13+
"docling": {
14+
"command": "uvx",
15+
"args": [
16+
"--from=docling-mcp",
17+
"docling-mcp-server"
18+
]
19+
}
20+
}
21+
}
22+
```
23+
24+
When using [Claude on your desktop](https://claude.ai/download), just edit the config file `claude_desktop_config.json` with the snippet above or the example provided [here](https://github.com/docling-project/docling-mcp/blob/main/docs/integrations/claude_desktop_config.json).
25+
26+
In **[LM Studio](https://lmstudio.ai/)**, edit the `mcp.json` file with the appropriate section or simply clik on the button below for a direct install.
27+
28+
[![Add MCP Server docling to LM Studio](https://files.lmstudio.ai/deeplink/mcp-install-light.svg)](https://lmstudio.ai/install-mcp?name=docling&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyItLWZyb209ZG9jbGluZy1tY3AiLCJkb2NsaW5nLW1jcC1zZXJ2ZXIiXX0%3D)
29+
30+
31+
Docling MCP also provides tools specific for some applications and frameworks. See the [Docling MCP](https://github.com/docling-project/docling-mcp) Server repository for more details. You will find examples of building agents powered by Docling capabilities and leveraging frameworks like [LlamaIndex](https://www.llamaindex.ai/), [Llama Stack](https://github.com/llamastack/llama-stack), [Pydantic AI](https://ai.pydantic.dev/), or [smolagents](https://github.com/huggingface/smolagents).

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ nav:
6565
- Supported formats: usage/supported_formats.md
6666
- Enrichment features: usage/enrichments.md
6767
- Vision models: usage/vision_models.md
68+
- MCP server: usage/mcp.md
6869
- FAQ:
6970
- FAQ: faq/index.md
7071
- Concepts:

0 commit comments

Comments
 (0)