opendockit-mcp 0.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: opendockit-mcp
|
|
3
|
+
Version: 0.3.2
|
|
4
|
+
Summary: MCP server that lets an agent read local documents (PDF, Office, HWP and more) as Markdown. Launcher for opendockit[mcp].
|
|
5
|
+
Project-URL: Homepage, https://github.com/hyeonsang010716/OpenDocKit
|
|
6
|
+
Project-URL: Documentation, https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md
|
|
7
|
+
Project-URL: Repository, https://github.com/hyeonsang010716/OpenDocKit
|
|
8
|
+
Project-URL: Issues, https://github.com/hyeonsang010716/OpenDocKit/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/hyeonsang010716/OpenDocKit/blob/main/CHANGELOG.md
|
|
10
|
+
Author: OpenDocKit contributors
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: docx,hwp,hwpx,llm,markdown,mcp,mcp-server,pdf,pptx,rag,xlsx
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Topic :: Text Processing :: Markup :: Markdown
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
|
+
Requires-Dist: opendockit[mcp]==0.3.2
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
# opendockit-mcp
|
|
27
|
+
|
|
28
|
+
An [MCP](https://modelcontextprotocol.io) server that lets an agent — Claude Desktop, Claude Code, Cursor, VS Code, or
|
|
29
|
+
anything else that speaks the protocol — read the documents on your machine as Markdown: PDF, Word, PowerPoint, Excel,
|
|
30
|
+
CSV, **HWP / HWPX**, OpenDocument, RTF, EPUB, HTML and email. Tables keep their rows and columns, merged cells are
|
|
31
|
+
repeated in every row they cover, and a long document can be read one page, slide or sheet at a time, so it does not fill
|
|
32
|
+
the context.
|
|
33
|
+
|
|
34
|
+
The server is part of [OpenDocKit](https://github.com/hyeonsang010716/OpenDocKit) (MIT, pure Python, no models, offline).
|
|
35
|
+
This package holds no code: it installs `opendockit[mcp]` at the same version and gives the server a name that can be
|
|
36
|
+
run directly.
|
|
37
|
+
|
|
38
|
+
<!-- mcp-name: io.github.hyeonsang010716/opendockit -->
|
|
39
|
+
|
|
40
|
+
## Use
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"mcpServers": {
|
|
45
|
+
"opendockit": {
|
|
46
|
+
"command": "uvx",
|
|
47
|
+
"args": ["opendockit-mcp", "--root", "/path/to/documents"]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`--root` (repeatable, or the `OPENDOCKIT_MCP_ROOTS` environment variable, separated like `PATH`) names the only folders
|
|
54
|
+
the server may read. Without it the server can read any file your user can read.
|
|
55
|
+
|
|
56
|
+
| Tool | What it returns |
|
|
57
|
+
| --- | --- |
|
|
58
|
+
| `document_outline(path)` | Format, title, size, and the numbered pages / slides / sheets with their titles and lengths — no text |
|
|
59
|
+
| `convert_document(path, sections=None, max_chars=100000)` | The Markdown of the file, or of the pages / slides / sheets asked for (`"3"` or `"2-5"`), followed by the converter's warnings |
|
|
60
|
+
|
|
61
|
+
- **Read-only and offline.** Both tools are marked read-only, nothing is written, and nothing is sent anywhere. No API
|
|
62
|
+
key.
|
|
63
|
+
- **The answer is bounded.** One call returns at most `max_chars` characters of the document; a longer one is cut with a
|
|
64
|
+
note that tells the agent to read the outline and ask for sections.
|
|
65
|
+
- **One file cannot take the server down.** On Linux and macOS every conversion runs in a disposable worker process that
|
|
66
|
+
is ended after 2 minutes, and on Linux also when it passes 2 GB of memory. On Windows it runs inside the server,
|
|
67
|
+
without those limits.
|
|
68
|
+
- **The text of a document is data.** A document can contain sentences addressed to the agent. The server returns what
|
|
69
|
+
the file says; let it read only the folders you would hand the agent yourself.
|
|
70
|
+
|
|
71
|
+
## Limits
|
|
72
|
+
|
|
73
|
+
- No OCR: a scanned PDF or a photo comes back as a placeholder with a warning.
|
|
74
|
+
- Legacy `.doc` / `.ppt` need LibreOffice installed.
|
|
75
|
+
- On Windows, HTML, email and EPUB are not supported.
|
|
76
|
+
|
|
77
|
+
Everything else — the tools in detail, the design notes, the limits — is in the
|
|
78
|
+
[integrations guide](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
opendockit_mcp-0.3.2.dist-info/METADATA,sha256=twpiUdWBTAADWvKIYdS-n9_BWw0HdL8jkeVlKecp1Is,3961
|
|
2
|
+
opendockit_mcp-0.3.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
3
|
+
opendockit_mcp-0.3.2.dist-info/entry_points.txt,sha256=4dvk7UJztvk-W64KoLQvKHGB9wlz3y_6-UIzxaRWLmw,62
|
|
4
|
+
opendockit_mcp-0.3.2.dist-info/licenses/LICENSE,sha256=kRxq4-Gyaq9H_QBWUsYCIPtDO2ReWz_i1v5mPdRaeZU,1080
|
|
5
|
+
opendockit_mcp-0.3.2.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OpenDocKit contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|