INVOX

INVOX as an MCP server: validate e-invoices in Claude Code, Cursor and VS Code

INVOX runs a hosted remote MCP server (Model Context Protocol, Streamable HTTP): https://invoxapi.de/mcp. Claude Code, Cursor and VS Code connect directly to this address and can validate XRechnung and ZUGFeRD, explain errors, detect the format and generate an XRechnung. There is nothing to install or self-host; all you need is your INVOX API key. The MCP server is also available on the Free plan.

Tools

Authentication, quotas and privacy

Every call needs your INVOX API key in the X-API-Key header (or Authorization: Bearer …). Without a valid key the server answers with 401 before any tool runs; a request without a key returns 401 MISSING_API_KEY. The key belongs in the header only, never in the URL: requests with a key in the URL are rejected with 400. Enter the key only in the client itself, not in additional programs. The same quotas, rate limits and spending limits apply as for the REST API. No retention: invoice contents are neither stored nor logged.

Setup in Claude Code

Claude Code supports remote MCP servers natively (transport http). In the terminal, with the key taken from the environment variable INVOX_API_KEY:

claude mcp add --transport http invox https://invoxapi.de/mcp \
  --header "X-API-Key: ${INVOX_API_KEY}"

Setup in Cursor

Cursor connects natively via url and headers. In ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "invox": {
      "url": "https://invoxapi.de/mcp",
      "headers": {"X-API-Key": "in_…"}
    }
  }
}

Setup in VS Code

VS Code (agent mode) connects natively via "type": "http". In .vscode/mcp.json; VS Code asks for the key on first start as a hidden input, so it is not stored in the file:

{
  "inputs": [
    {"type": "promptString", "id": "invox-key",
     "description": "INVOX API key", "password": true}
  ],
  "servers": {
    "invox": {
      "type": "http",
      "url": "https://invoxapi.de/mcp",
      "headers": {"X-API-Key": "${input:invox-key}"}
    }
  }
}

ChatGPT, Claude Desktop and Claude in the browser: OAuth required (planned)

ChatGPT, Claude Desktop and Claude in the browser connect to remote MCP servers via an OAuth sign-in and do not send a custom header with an API key. INVOX does not support this sign-in yet; it is planned. Until then, INVOX works with Claude Code, Cursor and VS Code. We do not recommend helper programs that relay the connection: they would receive your API key.

Quick test with curl

curl -s https://invoxapi.de/mcp \
  -H 'X-API-Key: in_…' -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Standard and sources

The server follows the official MCP specification, version 2025-06-18, transport Streamable HTTP: POST only (GET and DELETE return 405, no sessions), validation of the Origin header and the MCP-Protocol-Version header. The server itself provides tools and input schemas via tools/list.

API documentation · Deutsche Fassung

Validate for free →