Skip to Content
SDKsMCP server (indox-mcp)

MCP server

Package: indox-mcp, published on PyPI and listed in the MCP Registry  as org.indox/indox-mcp.

Notebook: start the server and call its tools from Python.

The MCP server lets an AI client, such as Claude, ChatGPT, Codex, Cursor or VS Code, use Indox directly: convert documents, images, video, 3D models and fonts, pull tables out of PDFs, run PDF tools, check credits, and manage stored files and webhooks. Each tool calls the same API v1 endpoints as the Python SDK, as you.

ModeWhere it runsAuthFiles
Hostedhttps://mcp.indox.org/mcp (Streamable HTTP)Sign in with your Indox account, or Authorization: Bearer indox_…file_url or s3_key in, download link out
Localindox-mcp on your machine (stdio)INDOX_API_KEY in the server’s environmentread and saved inside one workspace folder

Create the key under Dashboard → Developer → API keys. A key reaches only the route families its scopes allow, as described in Auth. The dashboard’s Developer → MCP server page shows the same setup with copy buttons.

Hosted server

There is nothing to install. You connect in one of two ways, and the server keeps no key of its own.

  • Sign in: the client opens indox.org, you approve it, and it gets its own token, so you have nothing to copy. Claude and ChatGPT connect this way.
  • API key: the client sends your key as a bearer token, and each request runs with that key alone. Codex, the OpenAI API, Claude Code, Cursor, VS Code and UTCP clients connect this way.

For one-click install links and setup in Windsurf, Zed, Goose, Kiro, n8n, Zapier, Make, Copilot Studio and other clients, see Connect MCP clients.

Sign in

Claude (claude.ai and Claude Desktop): Customize → Connectors → Add custom connector. Enter https://mcp.indox.org/mcp, choose Connect, sign in to Indox and approve.

ChatGPT (web): Plugins → Add → Add custom MCP server. Name it Indox, enter https://mcp.indox.org/mcp and leave authentication on OAuth; ChatGPT finds the sign-in settings itself. Tick I understand and want to continue, choose Create as a plugin, then Continue to Indox, sign in to Indox and approve. In a chat, type @ and pick Indox to use it. On Business, Enterprise and Edu workspaces, admins decide who can add one.

A signed-in client can convert, extract, run PDF tools, use your stored files and read your credits. It cannot manage webhooks; use an API key for those. To cut a client off, open Settings → Apps & storage → Connected apps and disconnect it.

API key

Codex: ~/.codex/config.toml, with your key in the INDOX_API_KEY environment variable:

[mcp_servers.indox] url = "https://mcp.indox.org/mcp" bearer_token_env_var = "INDOX_API_KEY"

OpenAI API (Responses): add the server to the request’s tools. OpenAI’s servers call Indox for you, so the key travels with every request; give it only the scopes the task needs.

{ "type": "mcp", "server_label": "indox", "server_url": "https://mcp.indox.org/mcp", "authorization": "indox_your_key", "require_approval": "always" }

UTCP (Universal Tool Calling Protocol): install utcp and utcp-mcp, then register the hosted server as an mcp manual. Its tools appear as indox.<tool>. UTCP prefixes variables with the manual’s name, so set your key as indox_INDOX_API_KEY. The client may log that OAuth discovery failed; it still sends the key.

{ "manual_call_templates": [ { "name": "indox", "call_template_type": "mcp", "config": { "mcpServers": { "indox": { "transport": "http", "url": "https://mcp.indox.org/mcp", "headers": { "Authorization": "Bearer ${INDOX_API_KEY}" } } } } } ] }

Claude Code

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

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

{ "mcpServers": { "indox": { "url": "https://mcp.indox.org/mcp", "headers": { "Authorization": "Bearer ${env:INDOX_API_KEY}" } } } }

VS Code (Copilot agent mode): .vscode/mcp.json. VS Code asks for the key and hides it:

{ "inputs": [ { "type": "promptString", "id": "indox-key", "description": "Indox API key", "password": true } ], "servers": { "indox": { "type": "http", "url": "https://mcp.indox.org/mcp", "headers": { "Authorization": "Bearer ${input:indox-key}" } } } }
Note

Hosted downloads

download_result returns a full https://indox.org/api/v1/… link that opens without a key until its expires_at. If it comes back with needs_api_key: true, fetch it with the same Authorization: Bearer header. The hosted server cannot read files on your machine: pass a public file_url, or upload with create_upload_url and pass its s3_key.

Local server

The local server needs Python 3.11 or newer.

pip install indox-mcp

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

VariableValue
INDOX_API_KEYyour indox_… key
INDOX_BASE_URLhttps://indox.org
INDOX_MCP_WORKSPACE_DIRabsolute path of the folder the server may read from and save results to
INDOX_MCP_WAIT_MAX_SECONDSlongest one wait_conversion call may poll, for example 120
INDOX_MCP_POLL_SECONDSseconds between status checks, for example 2

Claude Code

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 Desktop, Cursor, VS Code: the same server as a command entry in the client’s config:

{ "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" } } } }

VS Code names the top-level key servers instead of mcpServers. If a client cannot find indox-mcp, use the full path that which indox-mcp prints.

Tools

ToolWhat it doesMode
healthCheck that the Indox API is reachableboth
credits_balanceRemaining credits, worth checking before a large batchboth
usage_summaryRecent conversion usageboth
list_formatsInput and output formats for image, video, model, pdf or fontboth
convert_fileStart a conversion from file_path (local), file_url or s3_key. Spends creditsboth
get_conversionCurrent status of a conversionboth
wait_conversionPoll until it finishes; finished: false means call it againboth
download_resultLocal: save the result in the workspace, never overwriting. Hosted: return its linkboth
list_filesFiles in your Indox storageboth
create_upload_urlA one-time upload URL; pass the returned s3_key to convert_fileboth
list_webhooks · create_webhook · test_webhook · delete_webhookManage webhooks. The signing secret is never returned to the modelboth
pdf_form_fieldsList the fillable fields of a local PDFlocal
pdf_ai_askAsk a question about a local PDF. Spends creditslocal
pdf_ai_jobStatus and answer of a pdf_ai_ask jobboth
extract_dataPull the tables and text out of a PDF as xlsx, csv or json. Spends creditsboth
pdf_tools_listEvery PDF tool (compress, merge, split, redact, sign, …), optionally one categoryboth
pdf_tool_describeOne PDF tool’s parameters, options, required keys and extra inputsboth
pdf_run_toolStart a PDF tool; finish it with wait_conversion and download_result with kind=pdf. Spends creditsboth

A signed-in client sees every hosted tool except the webhook tools and pdf_ai_job.

Tools that spend credits or change data are marked as not read-only, so a client can ask you before it runs them. Text extracted from your documents is passed back as data, never as instructions.

Check the connection

Hosted: the first command needs no key, the second sends yours and prints 200 when it works.

curl https://mcp.indox.org/healthz curl -s -o /dev/null -w '%{http_code}\n' https://mcp.indox.org/mcp \ -H "Authorization: Bearer $INDOX_API_KEY" \ -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"check","version":"1"}}}'

Local: run indox-mcp in a terminal with the same variables. It waits for input when it starts cleanly (Ctrl+C to stop); otherwise it prints the variable to fix. In Claude Code, claude mcp list shows whether indox connected.

What you seeWhyFix
401 invalid_tokenNo key was sent, the key is wrong or revoked, or a sign-in expired or was disconnectedSend Authorization: Bearer indox_… with a live key, or reconnect the client
403 Invalid Origin headerThe request came from a web page on another siteCall the server from an MCP client or the command line
429Too many requests in a short time, per key or per IP addressWait a few seconds and space out the batch
Indox API error 403: … from a toolUsually the key’s scopes do not cover that route familyAdd the scope to the key, see Auth
INDOX_… missing from the environmentThe local server started without that variableSet it in the client’s env block
INDOX_MCP_WORKSPACE_DIR is not a directoryThe workspace path does not existCreate the folder or fix the absolute path