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.
| Mode | Where it runs | Auth | Files |
|---|---|---|---|
| Hosted | https://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 |
| Local | indox-mcp on your machine (stdio) | INDOX_API_KEY in the server’s environment | read 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}" }
}
}
}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-mcpThe 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, for example 120 |
INDOX_MCP_POLL_SECONDS | seconds 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-mcpClaude 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
| Tool | What it does | Mode |
|---|---|---|
health | Check that the Indox API is reachable | both |
credits_balance | Remaining credits, worth checking before a large batch | both |
usage_summary | Recent conversion usage | both |
list_formats | Input and output formats for image, video, model, pdf or font | both |
convert_file | Start a conversion from file_path (local), file_url or s3_key. Spends credits | both |
get_conversion | Current status of a conversion | both |
wait_conversion | Poll until it finishes; finished: false means call it again | both |
download_result | Local: save the result in the workspace, never overwriting. Hosted: return its link | both |
list_files | Files in your Indox storage | both |
create_upload_url | A one-time 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 |
extract_data | Pull the tables and text out of a PDF as xlsx, csv or json. Spends credits | both |
pdf_tools_list | Every PDF tool (compress, merge, split, redact, sign, …), optionally one category | both |
pdf_tool_describe | One PDF tool’s parameters, options, required keys and extra inputs | both |
pdf_run_tool | Start a PDF tool; finish it with wait_conversion and download_result with kind=pdf. Spends credits | both |
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 see | Why | Fix |
|---|---|---|
401 invalid_token | No key was sent, the key is wrong or revoked, or a sign-in expired or was disconnected | Send Authorization: Bearer indox_… with a live key, or reconnect the client |
403 Invalid Origin header | The request came from a web page on another site | Call the server from an MCP client or the command line |
429 | Too many requests in a short time, per key or per IP address | Wait a few seconds and space out the batch |
Indox API error 403: … from a tool | Usually the key’s scopes do not cover that route family | Add the scope to the key, see Auth |
INDOX_… missing from the environment | The local server started without that variable | Set it in the client’s env block |
INDOX_MCP_WORKSPACE_DIR is not a directory | The workspace path does not exist | Create the folder or fix the absolute path |