@shuji-bonji/pdf-spec-mcp 0.2.2 → 0.2.3
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 +11 -3
- package/README.md +11 -3
- package/package.json +1 -1
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
|
-
|
|
165
|
+
PDF_SPEC_DIR=/path/to/pdf-specs npx -y @shuji-bonji/pdf-spec-mcp
|
|
161
166
|
```
|
|
162
167
|
|
|
163
|
-
|
|
168
|
+
グローバルインストールしたい場合(任意):
|
|
164
169
|
|
|
165
170
|
```bash
|
|
166
|
-
|
|
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
|
-
|
|
165
|
+
PDF_SPEC_DIR=/path/to/pdf-specs npx -y @shuji-bonji/pdf-spec-mcp
|
|
161
166
|
```
|
|
162
167
|
|
|
163
|
-
Or
|
|
168
|
+
Or install it globally (optional):
|
|
164
169
|
|
|
165
170
|
```bash
|
|
166
|
-
|
|
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
|