document-mcp 1.4.4 → 1.5.0
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.
- package/README.md +29 -1
- package/dist/bin.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,13 +58,26 @@ npx document-mcp
|
|
|
58
58
|
|
|
59
59
|
### Connecting from Claude Code
|
|
60
60
|
|
|
61
|
+
One-liner (adds the MCP server directly):
|
|
62
|
+
|
|
61
63
|
```sh
|
|
62
64
|
claude mcp add --transport stdio document-mcp -- npx -y document-mcp
|
|
63
65
|
```
|
|
64
66
|
|
|
67
|
+
Or install as a Claude Code plugin (this repo is a plugin marketplace — includes auto-update on new releases):
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
/plugin marketplace add ExaDev/document-mcp
|
|
71
|
+
/plugin install document-mcp@exadev
|
|
72
|
+
```
|
|
73
|
+
|
|
65
74
|
### Connecting from Codex CLI
|
|
66
75
|
|
|
67
|
-
|
|
76
|
+
```sh
|
|
77
|
+
codex mcp add document-mcp -- npx -y document-mcp
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Or add to `~/.codex/config.toml`:
|
|
68
81
|
|
|
69
82
|
```toml
|
|
70
83
|
[mcp_servers.document-mcp]
|
|
@@ -72,6 +85,21 @@ command = "npx"
|
|
|
72
85
|
args = ["-y", "document-mcp"]
|
|
73
86
|
```
|
|
74
87
|
|
|
88
|
+
### Connecting from OpenCode
|
|
89
|
+
|
|
90
|
+
Add to `opencode.json`:
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"mcp": {
|
|
95
|
+
"document-mcp": {
|
|
96
|
+
"type": "local",
|
|
97
|
+
"command": ["npx", "-y", "document-mcp"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
75
103
|
### Connecting from Claude Desktop
|
|
76
104
|
|
|
77
105
|
Add to the `mcpServers` block in Claude Desktop's config file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
|
package/dist/bin.js
CHANGED
|
@@ -7,7 +7,7 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
7
7
|
import { existsSync, readFileSync } from "node:fs";
|
|
8
8
|
import { basename, join } from "node:path";
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.5.0";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/io/document-input.ts
|
|
13
13
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ let node_fs_promises = require("node:fs/promises");
|
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "1.
|
|
9
|
+
var version = "1.5.0";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/io/document-input.ts
|
|
12
12
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { basename, join } from "node:path";
|
|
7
7
|
//#region package.json
|
|
8
|
-
var version = "1.
|
|
8
|
+
var version = "1.5.0";
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/io/document-input.ts
|
|
11
11
|
const EXTENSION_TO_FORMAT = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server exposing documents.js's document-conversion, .odb, metadata, and font tooling as MCP tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"packageManager": "pnpm@11.6.0",
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
88
|
-
"documents.js": "^1.
|
|
88
|
+
"documents.js": "^1.96.0",
|
|
89
89
|
"zod": "^4.2.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|