{ "name": "@shuji-bonji/pdf-spec-mcp", "mcpName": "io.github.shuji-bonji/pdf-spec-mcp", "version": "0.6.1", "description": "MCP server for structured understanding of ISO 32000 (PDF) specifications. A specification reference, not a conformance checker — it never inspects PDF files", "keywords": [ "mcp", "pdf", "iso-32000", "specification", "tagged-pdf" ], "author": "shuji-bonji", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/shuji-bonji/pdf-spec-mcp.git" }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "pdf-spec-mcp": "dist/index.js" }, "files": [ "dist" ], "scripts": { "check:engines": "node scripts/check-engines.mjs", "check:public-types": "node scripts/check-public-types.mjs", "build": "tsc && chmod +x dist/index.js", "dev": "tsc --watch", "start": "node dist/index.js", "test": "vitest run", "test:watch": "vitest", "test:e2e": "PDF_SPEC_DIR=./pdf-spec vitest run --config tests/e2e/vitest.config.ts", "test:e2e:watch": "PDF_SPEC_DIR=./pdf-spec vitest --config tests/e2e/vitest.config.ts", "typecheck": "tsc --noEmit", "typecheck:tests": "tsc --noEmit -p tsconfig.test.json", "lint": "biome lint ./src ./tests", "lint:fix": "biome lint --fix ./src ./tests", "format": "biome format ./src ./tests", "format:fix": "biome format --write ./src ./tests", "check": "biome check ./src ./tests", "check:fix": "biome check --fix ./src ./tests", "prepublishOnly": "node scripts/sync-plugin-version.mjs --check && npm run build", "check:imports": "node scripts/check-import-order.mjs", "version": "node scripts/sync-plugin-version.mjs && git add .claude-plugin/plugin.json" }, "dependencies": { "@modelcontextprotocol/server": "^2.0.0", "pdfjs-dist": "^5.4.624", "zod": "^4.2.0" }, "devDependencies": { "@biomejs/biome": "2.5.4", "@modelcontextprotocol/client": "^2.0.0", "@types/node": "^22.0.0", "typescript": "^7.0.2", "vitest": "^2.1.0" }, "engines": { "node": ">=20.0.0" }, "engineExceptions": { "pdfjs-dist": { "reason": "pdfjs-dist は package 全体に >=22.13.0 || >=24 を宣言するが、これは modern ビルド(build/pdf.mjs)と pdfjs 自身の開発環境の要求である。このサーバが読むのは legacy ビルドで、core-js を同梱し Promise.withResolvers を自前定義している(legacy/build/pdf.mjs:5550・使用 27 箇所)。Node 20.20.2 と 22.22.2 で getDocument / numPages / getOutline / getTextContent / getStructTree / getPageIndex を実走し同結果。modern ビルドは Node 22 でも DOMMatrix is not defined で落ち、pdfjs 自身が legacy を使えと警告する", "measuredOn": "2026-08-27", "entryPoints": [ "pdfjs-dist/legacy/build/pdf.mjs", "pdfjs-dist/types/src/display/api.js", "pdfjs-dist/package.json" ] } }, "bugs": { "url": "https://github.com/shuji-bonji/pdf-spec-mcp/issues" }, "homepage": "https://github.com/shuji-bonji/pdf-spec-mcp#readme" }