@sylphx/pdf-reader-mcp 1.4.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +9 -19
  2. package/package.json +104 -104
package/README.md CHANGED
@@ -93,19 +93,6 @@ Real-world performance from production testing:
93
93
 
94
94
  ## 📦 Installation
95
95
 
96
- ### VS Code
97
-
98
- Install with one click using the VS Code extension buttons:
99
-
100
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-007ACC?style=for-the-badge&logo=visual-studio-code)](https://insiders.vscode.dev/redirect?url=vscode://ms-vscode.vscode-mcp/install?mcpId=sylphx-pdf-reader-mcp)
101
- [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=for-the-badge&logo=visual-studio-code)](https://insiders.vscode.dev/redirect?url=vscode-insiders://ms-vscode.vscode-mcp/install?mcpId=sylphx-pdf-reader-mcp)
102
-
103
- Or via CLI:
104
-
105
- ```bash
106
- code --add-mcp '{"name":"pdf-reader","command":"npx","args":["@sylphx/pdf-reader-mcp"]}'
107
- ```
108
-
109
96
  ### Claude Code
110
97
 
111
98
  ```bash
@@ -136,6 +123,12 @@ Add to `claude_desktop_config.json`:
136
123
 
137
124
  </details>
138
125
 
126
+ ### VS Code
127
+
128
+ ```bash
129
+ code --add-mcp '{"name":"pdf-reader","command":"npx","args":["@sylphx/pdf-reader-mcp"]}'
130
+ ```
131
+
139
132
  ### Cursor
140
133
 
141
134
  1. Open **Settings** → **MCP** → **Add new MCP Server**
@@ -175,7 +168,7 @@ Add to Cline's MCP settings:
175
168
  ### Warp
176
169
 
177
170
  1. Go to **Settings** → **AI** → **Manage MCP Servers** → **Add**
178
- 2. Or use the `/add-mcp` slash command with the standard config
171
+ 2. Command: `npx`, Args: `@sylphx/pdf-reader-mcp`
179
172
 
180
173
  ### Smithery (One-click)
181
174
 
@@ -189,11 +182,8 @@ npx -y @smithery/cli install @sylphx/pdf-reader-mcp --client claude
189
182
  # Quick start - zero installation
190
183
  npx @sylphx/pdf-reader-mcp
191
184
 
192
- # Using bun (recommended)
193
- bun add @sylphx/pdf-reader-mcp
194
-
195
- # Using npm
196
- npm install @sylphx/pdf-reader-mcp
185
+ # Or install globally
186
+ npm install -g @sylphx/pdf-reader-mcp
197
187
  ```
198
188
 
199
189
  ---
package/package.json CHANGED
@@ -1,106 +1,106 @@
1
1
  {
2
- "name": "@sylphx/pdf-reader-mcp",
3
- "version": "1.4.0",
4
- "description": "An MCP server providing tools to read PDF files.",
5
- "type": "module",
6
- "bin": {
7
- "pdf-reader-mcp": "./dist/index.js"
8
- },
9
- "files": [
10
- "dist/",
11
- "README.md",
12
- "LICENSE"
13
- ],
14
- "exports": {
15
- ".": {
16
- "import": "./dist/index.js",
17
- "types": "./dist/index.d.ts"
18
- }
19
- },
20
- "publishConfig": {
21
- "access": "public"
22
- },
23
- "engines": {
24
- "node": ">=22.0.0"
25
- },
26
- "repository": {
27
- "type": "git",
28
- "url": "git+https://github.com/SylphxAI/pdf-reader-mcp.git"
29
- },
30
- "bugs": {
31
- "url": "https://github.com/SylphxAI/pdf-reader-mcp/issues"
32
- },
33
- "homepage": "https://github.com/SylphxAI/pdf-reader-mcp#readme",
34
- "author": "Sylphx <contact@sylphx.com> (https://sylphx.com)",
35
- "license": "MIT",
36
- "keywords": [
37
- "mcp",
38
- "model-context-protocol",
39
- "pdf",
40
- "reader",
41
- "parser",
42
- "typescript",
43
- "node",
44
- "ai",
45
- "agent",
46
- "tool"
47
- ],
48
- "scripts": {
49
- "build": "bunup",
50
- "watch": "tsc --watch",
51
- "inspector": "npx @modelcontextprotocol/inspector dist/index.js",
52
- "test": "bun test",
53
- "test:watch": "bun test --watch",
54
- "test:cov": "bun test --coverage",
55
- "lint": "biome lint .",
56
- "lint:fix": "biome lint --write .",
57
- "format": "biome format --write .",
58
- "check-format": "biome format .",
59
- "check": "biome check .",
60
- "check:fix": "biome check --write .",
61
- "validate": "bun run check && bun run test",
62
- "docs:dev": "leaf dev docs",
63
- "docs:build": "leaf build docs",
64
- "docs:preview": "leaf preview docs",
65
- "start": "node dist/index.js",
66
- "typecheck": "tsc --noEmit",
67
- "benchmark": "bun bench",
68
- "clean": "rm -rf dist coverage",
69
- "docs:api": "typedoc --entryPoints src/index.ts --tsconfig tsconfig.json --plugin typedoc-plugin-markdown --out docs/api --readme none",
70
- "prepublishOnly": "bunx @sylphx/doctor prepublish && bun run clean && bun run build",
71
- "release": "standard-version",
72
- "prepare": "node_modules/.bin/lefthook install || true"
73
- },
74
- "dependencies": {
75
- "@sylphx/mcp-server-sdk": "1.0.0",
76
- "glob": "^11.1.0",
77
- "pdfjs-dist": "^5.4.394",
78
- "pngjs": "^7.0.0",
79
- "zod": "4.2.0-canary.20251124T022609",
80
- "zod-to-json-schema": "^3.25.0"
81
- },
82
- "devDependencies": {
83
- "@biomejs/biome": "^2.3.8",
84
- "@solidjs/router": "^0.15.4",
85
- "@sylphx/biome-config": "^0.4.0",
86
- "@sylphx/bump": "^0.12.1",
87
- "@sylphx/doctor": "^1.23.3",
88
- "@sylphx/leaf": "^1.0.0",
89
- "@sylphx/leaf-theme-default": "^1.0.0",
90
- "@sylphx/tsconfig": "^0.3.0",
91
- "@types/glob": "^8.1.0",
92
- "@types/node": "^24.10.1",
93
- "@types/pngjs": "^6.0.5",
94
- "bunup": "^0.16.10",
95
- "lefthook": "^2.0.4",
96
- "solid-js": "^1.9.10",
97
- "typedoc": "^0.28.14",
98
- "typedoc-plugin-markdown": "^4.9.0",
99
- "typescript": "^5.9.3",
100
- "vite": "^7.2.4"
101
- },
102
- "packageManager": "bun@1.3.1",
103
- "overrides": {
104
- "js-yaml": "^4.1.0"
105
- }
2
+ "name": "@sylphx/pdf-reader-mcp",
3
+ "version": "2.0.0",
4
+ "description": "An MCP server providing tools to read PDF files.",
5
+ "type": "module",
6
+ "bin": {
7
+ "pdf-reader-mcp": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist/",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "types": "./dist/index.d.ts"
18
+ }
19
+ },
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "engines": {
24
+ "node": ">=22.0.0"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/SylphxAI/pdf-reader-mcp.git"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/SylphxAI/pdf-reader-mcp/issues"
32
+ },
33
+ "homepage": "https://github.com/SylphxAI/pdf-reader-mcp#readme",
34
+ "author": "Sylphx <contact@sylphx.com> (https://sylphx.com)",
35
+ "license": "MIT",
36
+ "keywords": [
37
+ "mcp",
38
+ "model-context-protocol",
39
+ "pdf",
40
+ "reader",
41
+ "parser",
42
+ "typescript",
43
+ "node",
44
+ "ai",
45
+ "agent",
46
+ "tool"
47
+ ],
48
+ "scripts": {
49
+ "build": "bunup",
50
+ "watch": "tsc --watch",
51
+ "inspector": "npx @modelcontextprotocol/inspector dist/index.js",
52
+ "test": "bun test",
53
+ "test:watch": "bun test --watch",
54
+ "test:cov": "bun test --coverage",
55
+ "lint": "biome lint .",
56
+ "lint:fix": "biome lint --write .",
57
+ "format": "biome format --write .",
58
+ "check-format": "biome format .",
59
+ "check": "biome check .",
60
+ "check:fix": "biome check --write .",
61
+ "validate": "bun run check && bun run test",
62
+ "docs:dev": "leaf dev docs",
63
+ "docs:build": "leaf build docs",
64
+ "docs:preview": "leaf preview docs",
65
+ "start": "node dist/index.js",
66
+ "typecheck": "tsc --noEmit",
67
+ "benchmark": "bun bench",
68
+ "clean": "rm -rf dist coverage",
69
+ "docs:api": "typedoc --entryPoints src/index.ts --tsconfig tsconfig.json --plugin typedoc-plugin-markdown --out docs/api --readme none",
70
+ "prepublishOnly": "bunx @sylphx/doctor prepublish && bun run clean && bun run build",
71
+ "release": "standard-version",
72
+ "prepare": "node_modules/.bin/lefthook install || true"
73
+ },
74
+ "dependencies": {
75
+ "@sylphx/mcp-server-sdk": "1.1.1",
76
+ "glob": "^11.1.0",
77
+ "pdfjs-dist": "^5.4.394",
78
+ "pngjs": "^7.0.0",
79
+ "zod": "4.2.0-canary.20251124T022609",
80
+ "zod-to-json-schema": "^3.25.0"
81
+ },
82
+ "devDependencies": {
83
+ "@biomejs/biome": "^2.3.8",
84
+ "@solidjs/router": "^0.15.4",
85
+ "@sylphx/biome-config": "^0.4.0",
86
+ "@sylphx/bump": "^0.12.1",
87
+ "@sylphx/doctor": "^1.23.3",
88
+ "@sylphx/leaf": "^1.0.0",
89
+ "@sylphx/leaf-theme-default": "^1.0.0",
90
+ "@sylphx/tsconfig": "^0.3.0",
91
+ "@types/glob": "^8.1.0",
92
+ "@types/node": "^24.10.1",
93
+ "@types/pngjs": "^6.0.5",
94
+ "bunup": "^0.16.10",
95
+ "lefthook": "^2.0.4",
96
+ "solid-js": "^1.9.10",
97
+ "typedoc": "^0.28.14",
98
+ "typedoc-plugin-markdown": "^4.9.0",
99
+ "typescript": "^5.9.3",
100
+ "vite": "^7.2.4"
101
+ },
102
+ "packageManager": "bun@1.3.1",
103
+ "overrides": {
104
+ "js-yaml": "^4.1.0"
105
+ }
106
106
  }