@shuji-bonji/pdf-spec-mcp 0.2.2 → 0.2.4

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.ja.md CHANGED
@@ -156,14 +156,20 @@ pdf-specs/
156
156
 
157
157
  ### 2. インストール
158
158
 
159
+ このパッケージは MCP クライアントから起動される CLI バイナリ(`pdf-spec-mcp`)を提供します。
160
+ **通常は手動でインストールする必要はありません** — 次のステップのように MCP クライアント側で `npx @shuji-bonji/pdf-spec-mcp` を指定してください。
161
+
162
+ シェルから直接動作確認したい場合(デバッグ用途など):
163
+
159
164
  ```bash
160
- npm install @shuji-bonji/pdf-spec-mcp
165
+ PDF_SPEC_DIR=/path/to/pdf-specs npx -y @shuji-bonji/pdf-spec-mcp
161
166
  ```
162
167
 
163
- npx での直接実行も可能です:
168
+ グローバルインストールしたい場合(任意):
164
169
 
165
170
  ```bash
166
- PDF_SPEC_DIR=/path/to/pdf-specs npx @shuji-bonji/pdf-spec-mcp
171
+ npm install -g @shuji-bonji/pdf-spec-mcp
172
+ PDF_SPEC_DIR=/path/to/pdf-specs pdf-spec-mcp
167
173
  ```
168
174
 
169
175
  ### 3. MCP クライアント設定
@@ -389,6 +395,8 @@ src/
389
395
  ├── tools/
390
396
  │ ├── definitions.ts # MCP ツールスキーマ
391
397
  │ └── handlers.ts # ツール実装
398
+ ├── types/
399
+ │ └── index.ts # 共有型定義
392
400
  └── utils/
393
401
  ├── concurrency.ts # mapConcurrent(制限付き並行 Promise.all)
394
402
  ├── text.ts # テキスト正規化
package/README.md CHANGED
@@ -156,14 +156,20 @@ pdf-specs/
156
156
 
157
157
  ### 2. Install
158
158
 
159
+ This package ships a CLI binary (`pdf-spec-mcp`) intended to be launched by an MCP client.
160
+ **You do not need to install it manually** — just point your MCP client to `npx @shuji-bonji/pdf-spec-mcp` as shown in the next step.
161
+
162
+ If you want to run it directly from the shell (e.g. for debugging):
163
+
159
164
  ```bash
160
- npm install @shuji-bonji/pdf-spec-mcp
165
+ PDF_SPEC_DIR=/path/to/pdf-specs npx -y @shuji-bonji/pdf-spec-mcp
161
166
  ```
162
167
 
163
- Or run directly with npx:
168
+ Or install it globally (optional):
164
169
 
165
170
  ```bash
166
- PDF_SPEC_DIR=/path/to/pdf-specs npx @shuji-bonji/pdf-spec-mcp
171
+ npm install -g @shuji-bonji/pdf-spec-mcp
172
+ PDF_SPEC_DIR=/path/to/pdf-specs pdf-spec-mcp
167
173
  ```
168
174
 
169
175
  ### 3. Configure MCP Client
@@ -386,6 +392,8 @@ src/
386
392
  ├── tools/
387
393
  │ ├── definitions.ts # MCP tool schemas
388
394
  │ └── handlers.ts # Tool implementations
395
+ ├── types/
396
+ │ └── index.ts # Shared type definitions
389
397
  └── utils/
390
398
  ├── concurrency.ts # mapConcurrent (bounded Promise.all)
391
399
  ├── text.ts # Text normalization
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuji-bonji/pdf-spec-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "MCP server for structured understanding of ISO 32000 (PDF) specifications",
5
5
  "keywords": [
6
6
  "mcp",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "scripts": {
28
- "build": "tsc",
28
+ "build": "tsc && chmod +x dist/index.js",
29
29
  "dev": "tsc --watch",
30
30
  "start": "node dist/index.js",
31
31
  "test": "vitest run",