Belindoc Translator

v0.1.7
com.belindoc/belindoc-mcp Checked 2 days ago Published 2 months ago

Translate PDF, Word, Excel, Markdown, image and video files with Belindoc, and rewrite subtitles.

Values you need

VariableWhat it is
BELINDOC_API_KEYrequired secret Belindoc API key (ft_ + 40 chars). Create one at belindoc.com → Open Platform → API Keys.
MCP_LOCALEoptional Language of user-facing messages (task status, progress, errors). Default: zh

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

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

Remote (hosted)

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

For AI agents

  1. Ask the user for: BELINDOC_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: get_supported_languages, get_model_list, get_account_status, upload_document, check_pdf_ocr, translate_document, get_document_translation_status, get_document_translation_result, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json