package.json•2.98 kB
{
"name": "@sylphx/pdf-reader-mcp",
"version": "2.0.3",
"description": "An MCP server providing tools to read PDF files.",
"type": "module",
"bin": {
"pdf-reader-mcp": "./dist/index.js"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SylphxAI/pdf-reader-mcp.git"
},
"bugs": {
"url": "https://github.com/SylphxAI/pdf-reader-mcp/issues"
},
"homepage": "https://github.com/SylphxAI/pdf-reader-mcp#readme",
"author": "Sylphx <contact@sylphx.com> (https://sylphx.com)",
"license": "MIT",
"keywords": [
"mcp",
"model-context-protocol",
"pdf",
"reader",
"parser",
"typescript",
"node",
"ai",
"agent",
"tool"
],
"scripts": {
"build": "bunup",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector dist/index.js",
"test": "bun test",
"test:watch": "bun test --watch",
"test:cov": "bun test --coverage",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format --write .",
"check-format": "biome format .",
"check": "biome check .",
"check:fix": "biome check --write .",
"validate": "bun run check && bun run test",
"docs:dev": "bunx @sylphx/leaf dev docs",
"docs:build": "bunx @sylphx/leaf build docs",
"docs:preview": "bunx @sylphx/leaf preview docs",
"start": "node dist/index.js",
"typecheck": "tsc --noEmit",
"benchmark": "bun bench",
"clean": "rm -rf dist coverage",
"docs:api": "typedoc --entryPoints src/index.ts --tsconfig tsconfig.json --plugin typedoc-plugin-markdown --out docs/api --readme none",
"prepublishOnly": "bunx @sylphx/doctor prepublish && bun run clean && bun run build",
"release": "standard-version",
"prepare": "node_modules/.bin/lefthook install || true"
},
"dependencies": {
"@sylphx/mcp-server-sdk": "1.2.0",
"glob": "^13.0.0",
"pdfjs-dist": "^5.4.394",
"pngjs": "^7.0.0",
"zod": "4.2.0-canary.20251124T022609",
"zod-to-json-schema": "^3.25.0"
},
"devDependencies": {
"@biomejs/biome": "^2.3.8",
"@solidjs/router": "^0.15.4",
"@sylphx/biome-config": "^0.4.0",
"@sylphx/bump": "^0.12.1",
"@sylphx/doctor": "^1.26.0",
"@sylphx/leaf": "^1.0.0",
"@sylphx/leaf-theme-default": "^1.0.0",
"@sylphx/tsconfig": "^0.3.0",
"@types/glob": "^8.1.0",
"@types/node": "^24.10.1",
"@types/pngjs": "^6.0.5",
"bunup": "^0.16.10",
"lefthook": "^2.0.4",
"solid-js": "^1.9.10",
"typedoc": "^0.28.14",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.9.3",
"vite": "^7.2.4"
},
"packageManager": "bun@1.3.1",
"overrides": {
"js-yaml": "^4.1.0"
}
}