{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Jim-Panse/pdf-to-text",
  "slug": "io.github.jim-panse.pdf-to-text",
  "title": "PDF To Text",
  "summary": "Extracts PDF text locally, with macOS PDFKit and Vision OCR fallbacks and optional AI retry.",
  "version": "0.7.0",
  "serverKey": "pdf-to-text",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.jim-panse.pdf-to-text",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.jim-panse.pdf-to-text/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T08:14:08.420220043Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jim-panse/pdf-to-text-mcp@0.7.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add pdf-to-text -e 'PDF_TO_TEXT_MCP_ROOT=<PDF_TO_TEXT_MCP_ROOT>' -- npx -y @jim-panse/pdf-to-text-mcp@0.7.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"pdf-to-text\": {\n      \"args\": [\n        \"-y\",\n        \"@jim-panse/pdf-to-text-mcp@0.7.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PDF_TO_TEXT_MCP_ROOT\": \"<PDF_TO_TEXT_MCP_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"pdf-to-text\": {\n      \"args\": [\n        \"-y\",\n        \"@jim-panse/pdf-to-text-mcp@0.7.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PDF_TO_TEXT_MCP_ROOT\": \"<PDF_TO_TEXT_MCP_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"PDF_TO_TEXT_MCP_ROOT\",\n      \"id\": \"pdf-to-text-mcp-root\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"pdf-to-text\": {\n      \"args\": [\n        \"-y\",\n        \"@jim-panse/pdf-to-text-mcp@0.7.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PDF_TO_TEXT_MCP_ROOT\": \"${input:pdf-to-text-mcp-root}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.pdf-to-text]\ncommand = \"npx\"\nargs = [\"-y\", \"@jim-panse/pdf-to-text-mcp@0.7.0\"]\nenv = { \"PDF_TO_TEXT_MCP_ROOT\" = \"<PDF_TO_TEXT_MCP_ROOT>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PDF_TO_TEXT_MCP_ROOT",
      "required": true,
      "secret": false,
      "description": "Required existing directory that defines the root-relative filesystem namespace for PDF input and derived text output.",
      "help": "Required existing directory that defines the root-relative filesystem namespace for PDF input and derived text output.",
      "placeholder": "<PDF_TO_TEXT_MCP_ROOT>"
    },
    {
      "name": "OPENAI_API_KEY",
      "required": false,
      "secret": true,
      "description": "Optional secret. Enables one AI extraction retry when local extraction is inadequate; omit for local-only operation.",
      "help": "Optional secret. Enables one AI extraction retry when local extraction is inadequate; omit for local-only operation.",
      "placeholder": "<OPENAI_API_KEY>"
    },
    {
      "name": "OPENAI_MODEL",
      "required": false,
      "secret": false,
      "description": "Optional OpenAI model used only for AI retry. Defaults to gpt-5.4-mini.",
      "help": "Optional OpenAI model used only for AI retry. Defaults to gpt-5.4-mini.",
      "placeholder": "<OPENAI_MODEL>"
    },
    {
      "name": "AI_MAX_OUTPUT_TOKENS",
      "required": false,
      "secret": false,
      "description": "Optional cap for all AI-generated output tokens, including non-visible reasoning tokens. Integer minimum 800; defaults to 32000.",
      "help": "Optional cap for all AI-generated output tokens, including non-visible reasoning tokens. Integer minimum 800; defaults to 32000.",
      "default": "32000",
      "placeholder": "32000"
    },
    {
      "name": "MAX_PARALLEL_EXTRACTIONS",
      "required": false,
      "secret": false,
      "description": "Integer concurrency limit from 1 to 32. Defaults to min(os.availableParallelism(), 4).",
      "help": "Integer concurrency limit from 1 to 32. Defaults to min(os.availableParallelism(), 4).",
      "placeholder": "<MAX_PARALLEL_EXTRACTIONS>"
    },
    {
      "name": "EXTRACTION_QUEUE_CAPACITY",
      "required": false,
      "secret": false,
      "description": "Integer maximum waiting requests from 0 to 100; zero disables waiting.",
      "help": "Integer maximum waiting requests from 0 to 100; zero disables waiting.",
      "default": "10",
      "placeholder": "10"
    },
    {
      "name": "EXTRACTION_QUEUE_WAIT_MS",
      "required": false,
      "secret": false,
      "description": "Maximum queue wait in milliseconds, integer 1 through 2147483647. Does not limit active work.",
      "help": "Maximum queue wait in milliseconds, integer 1 through 2147483647. Does not limit active work.",
      "default": "60000",
      "placeholder": "60000"
    },
    {
      "name": "WRITE_TEXT",
      "required": false,
      "secret": false,
      "description": "Optionally save successful extraction text beside the source PDF.",
      "help": "Optionally save successful extraction text beside the source PDF.",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "extraction-try"
  ],
  "agentSteps": [
    "Ask the user for: PDF_TO_TEXT_MCP_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: extraction-try.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T08:14:08.420220043Z"
}
