PageTranslate

v0.1.3
io.github.catorch/pagetranslate-mcp Checked 18 hours ago Published 18 days ago

Translate PDF, scanned PDF, DOCX and EPUB files into 70+ languages with the layout kept.

Values you need

VariableWhat it is
PAGETRANSLATE_API_KEYrequired secret PageTranslate API key. Create one at https://pagetranslate.ai/dashboard/api-keys

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add pagetranslate-mcp -e 'PAGETRANSLATE_API_KEY=<PAGETRANSLATE_API_KEY>' -- npx -y pagetranslate-mcp@0.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pagetranslate-mcp": {
      "args": [
        "-y",
        "pagetranslate-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "PAGETRANSLATE_API_KEY": "<PAGETRANSLATE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pagetranslate-mcp": {
      "args": [
        "-y",
        "pagetranslate-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "PAGETRANSLATE_API_KEY": "<PAGETRANSLATE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PAGETRANSLATE_API_KEY",
      "id": "pagetranslate-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "pagetranslate-mcp": {
      "args": [
        "-y",
        "pagetranslate-mcp@0.1.3"
      ],
      "command": "npx",
      "env": {
        "PAGETRANSLATE_API_KEY": "${input:pagetranslate-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pagetranslate-mcp]
command = "npx"
args = ["-y", "pagetranslate-mcp@0.1.3"]
env = { "PAGETRANSLATE_API_KEY" = "<PAGETRANSLATE_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http pagetranslate-mcp https://pagetranslate.ai/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "pagetranslate-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://pagetranslate.ai/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pagetranslate-mcp": {
      "url": "https://pagetranslate.ai/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "pagetranslate-mcp": {
      "type": "http",
      "url": "https://pagetranslate.ai/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pagetranslate-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://pagetranslate.ai/mcp"]

For AI agents

  1. Ask the user for: PAGETRANSLATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: upload_document, start_translation, get_translation, list_translations, download_translation.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json