@modelcontextprotocol/server-pdf 1.1.1 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelcontextprotocol/server-pdf",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "description": "MCP server for loading and extracting text from PDF files with chunked pagination and interactive viewer",
6
6
  "repository": {
@@ -17,7 +17,9 @@
17
17
  "build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build && tsc -p tsconfig.server.json && bun build server.ts --outdir dist --target node --external pdfjs-dist && bun build main.ts --outfile dist/index.js --target node --external \"./server.js\" --external pdfjs-dist --banner \"#!/usr/bin/env node\"",
18
18
  "watch": "cross-env INPUT=mcp-app.html vite build --watch",
19
19
  "serve": "bun --watch main.ts",
20
+ "serve:stdio": "bun main.ts --stdio",
20
21
  "start": "cross-env NODE_ENV=development npm run build && npm run serve",
22
+ "start:stdio": "cross-env NODE_ENV=development npm run build 1>&2 && npm run serve:stdio",
21
23
  "dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\"",
22
24
  "prepublishOnly": "npm run build"
23
25
  },