Skip to main content

indox-mcp

MCP server for the Indox conversion API. It lets an AI client — Claude Code, Claude Desktop, Cursor, VS Code — convert documents, images, video, 3D models and fonts, check credits, manage stored files and webhooks, and ask questions about PDFs. Every tool is a thin wrapper over the official Python SDK, indox-client.

Requires: Python ≥ 3.11 · an Indox API key (indox_…, created in the dashboard under API Keys)

It runs two ways from the same tools:

Mode Run Auth Files
Local indox-mcp (stdio) INDOX_API_KEY in the server's environment read and written inside INDOX_MCP_WORKSPACE_DIR only
Hosted https://mcp.indox.org/mcp (Streamable HTTP) Authorization: Bearer <your API key> file_url or s3_key in, download_url out

Tools

Tool What it does Mode
health Check that the Indox API is reachable both
credits_balance Remaining credits — check before large batches both
usage_summary Recent conversion usage both
list_formats Input and output formats for a kind: image, video, model, pdf, font both
convert_file Start a conversion from one source: file_path, file_url or s3_key, with optional backend options (not for font). Spends credits both (file_path local only)
get_conversion Current status of a conversion both
wait_conversion Poll until it finishes or the time limit passes (finished=false → call again) both
download_result Local: save the result into the workspace, never overwriting. Hosted: return its link both
list_files Files in your Indox storage both
create_upload_url A presigned upload URL; pass the returned s3_key to convert_file both
list_webhooks · create_webhook · test_webhook · delete_webhook Manage webhooks. The signing secret is never returned to the model both
pdf_form_fields List the fillable fields of a local PDF local
pdf_ai_ask Ask a question about a local PDF. Spends credits local
pdf_ai_job Status and answer of a pdf_ai_ask job both
pdf_tools_list Every PDF tool (compress, merge, split, redact, sign, …), optionally one category both
pdf_tool_describe One PDF tool's params, options, required keys, extra inputs and risk both
pdf_run_tool Start a PDF tool from one source; finish it with wait_conversion / download_result and kind=pdf. Spends credits both (file_path local only)

Tools that spend credits or change data are marked as not read-only, so clients can ask before running them. Text extracted from your documents is treated as data, never as instructions.

Local mode (stdio)

pip install indox-mcp

The server starts only when every variable below is set, and names the first one missing.

Variable Value
INDOX_API_KEY your indox_… key
INDOX_BASE_URL https://indox.org
INDOX_MCP_WORKSPACE_DIR absolute path of the folder the server may read from and save results to
INDOX_MCP_WAIT_MAX_SECONDS longest one wait_conversion call may poll, e.g. 120
INDOX_MCP_POLL_SECONDS seconds between status checks, e.g. 2

If a client cannot find indox-mcp, use the full path that which indox-mcp prints.

Hosted mode

The hosted server runs at https://mcp.indox.org/mcp. Send your API key as Authorization: Bearer indox_…; each call runs with that key alone.

Downloads: a hosted download_result returns a short-lived signed link that opens without a key, with its expires_at. If the API cannot sign it, the link comes back with needs_api_key=true — fetch that one with the same API key.

Client setup

Replace indox_your_key and /absolute/path/to/files with your own values.

Claude Code — local, then hosted:

claude mcp add --env INDOX_API_KEY=indox_your_key --env INDOX_BASE_URL=https://indox.org \
  --env INDOX_MCP_WORKSPACE_DIR=/absolute/path/to/files \
  --env INDOX_MCP_WAIT_MAX_SECONDS=120 --env INDOX_MCP_POLL_SECONDS=2 \
  --transport stdio indox -- indox-mcp

claude mcp add --transport http indox-hosted https://mcp.indox.org/mcp \
  --header "Authorization: Bearer indox_your_key"

Add --scope project to share the server through .mcp.json, or --scope user for every project.

Claude Desktop — Settings › Developer › Edit Config opens claude_desktop_config.json (macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\):

{
  "mcpServers": {
    "indox": {
      "command": "indox-mcp",
      "env": {
        "INDOX_API_KEY": "indox_your_key",
        "INDOX_BASE_URL": "https://indox.org",
        "INDOX_MCP_WORKSPACE_DIR": "/absolute/path/to/files",
        "INDOX_MCP_WAIT_MAX_SECONDS": "120",
        "INDOX_MCP_POLL_SECONDS": "2"
      }
    }
  }
}

The hosted server is added as a custom connector (Customize › Connectors › Add custom connector), not in this file. An API key goes under Request headers as Bearer indox_your_key; that option is in beta, and on Team and Enterprise plans every member would share one key — use local mode there.

Cursor — .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project:

{
  "mcpServers": {
    "indox": {
      "type": "stdio",
      "command": "indox-mcp",
      "env": {
        "INDOX_API_KEY": "${env:INDOX_API_KEY}",
        "INDOX_BASE_URL": "https://indox.org",
        "INDOX_MCP_WORKSPACE_DIR": "/absolute/path/to/files",
        "INDOX_MCP_WAIT_MAX_SECONDS": "120",
        "INDOX_MCP_POLL_SECONDS": "2"
      }
    },
    "indox-hosted": {
      "url": "https://mcp.indox.org/mcp",
      "headers": { "Authorization": "Bearer ${env:INDOX_API_KEY}" }
    }
  }
}

VS Code (Copilot agent mode) — .vscode/mcp.json; VS Code prompts for the key and hides what you type:

{
  "inputs": [
    { "type": "promptString", "id": "indox-key", "description": "Indox API key", "password": true }
  ],
  "servers": {
    "indox": {
      "type": "stdio",
      "command": "indox-mcp",
      "env": {
        "INDOX_API_KEY": "${input:indox-key}",
        "INDOX_BASE_URL": "https://indox.org",
        "INDOX_MCP_WORKSPACE_DIR": "/absolute/path/to/files",
        "INDOX_MCP_WAIT_MAX_SECONDS": "120",
        "INDOX_MCP_POLL_SECONDS": "2"
      }
    },
    "indox-hosted": {
      "type": "http",
      "url": "https://mcp.indox.org/mcp",
      "headers": { "Authorization": "Bearer ${input:indox-key}" }
    }
  }
}

Run the HTTP server yourself

indox-mcp --http serves Streamable HTTP at /mcp and an open /healthz. Each request uses the caller's own key; the server holds no key of its own. Required variables:

Variable Value
INDOX_BASE_URL https://indox.org
MCP_HOST · MCP_PORT bind address and port
MCP_ALLOWED_HOSTS comma-separated Host values to accept, e.g. mcp.example.com
MCP_ALLOWED_ORIGINS comma-separated browser origins to accept
MCP_KEY_CACHE_SECONDS · MCP_KEY_CACHE_SIZE how long, and how many, verified keys are remembered (hashed, in memory)
MCP_HTTP_POOL_SIZE connections kept open to indox and reused across calls; match the server's worker threads (40)
INDOX_MCP_WAIT_MAX_SECONDS · INDOX_MCP_POLL_SECONDS as in local mode; keep the wait low when hosted

Metadata

Release files for indox-mcp 0.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for indox-mcp 0.10.2
File Size Uploaded Provenance Actions
indox_mcp-0.10.2.tar.gz 22.0 kB Without provenance Details for indox_mcp-0.10.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for indox-mcp 0.10.2
File Interpreter ABI Platform Actions
indox_mcp-0.10.2-py3-none-any.whl Python 3 none any Details for indox_mcp-0.10.2-py3-none-any.whl

Total release size: 48.5 kB

Release files / indox_mcp-0.10.2.tar.gz

Download URL indox_mcp-0.10.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6a16997b00a5181e9ed55c4813513f81c600facfd1f4ded4875ffb1ffe2a24b7
BLAKE2b-256 checksum
How to use checksums
0914a3c63f8bc738d07939f7411f5d9d8dc261525ce80eac6c89b837df2196ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / indox_mcp-0.10.2-py3-none-any.whl

Download URL indox_mcp-0.10.2-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61abf4b49abb5f29371fa5a40445f59061c55c10237eef0835c9194ef94b0ed4
BLAKE2b-256 checksum
How to use checksums
68fa6ddda6b2b2dd68fec40b3c6b7ffdfa00e5dc1d59e0d87bf44053e7f7f8bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for indox-mcp 0.10.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page