iDoklad

v0.4.0
io.github.honzsik/idoklad-mcp Checked 17 hours ago Published 22 days ago

Unofficial iDoklad invoicing: read and create invoices, proformas, credit notes and contacts.

Values you need

VariableWhat it is
IDOKLAD_CLIENT_IDrequired Client ID from iDoklad → Settings → API
IDOKLAD_CLIENT_SECRETrequired secret Client Secret from iDoklad → Settings → API
IDOKLAD_APPLICATION_IDrequired Client Id of a ClientCredentials app on developer.idoklad.cz
IDOKLAD_READ_ONLYoptional Set to false to enable tools that create or change data (default true)
IDOKLAD_DOWNLOAD_DIRoptional Folder for downloaded PDFs (default ~/Downloads)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add idoklad-mcp -e 'IDOKLAD_APPLICATION_ID=<IDOKLAD_APPLICATION_ID>' -e 'IDOKLAD_CLIENT_ID=<IDOKLAD_CLIENT_ID>' -e 'IDOKLAD_CLIENT_SECRET=<IDOKLAD_CLIENT_SECRET>' -- npx -y idoklad-mcp@0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "idoklad-mcp": {
      "args": [
        "-y",
        "idoklad-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "IDOKLAD_APPLICATION_ID": "<IDOKLAD_APPLICATION_ID>",
        "IDOKLAD_CLIENT_ID": "<IDOKLAD_CLIENT_ID>",
        "IDOKLAD_CLIENT_SECRET": "<IDOKLAD_CLIENT_SECRET>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "idoklad-mcp": {
      "args": [
        "-y",
        "idoklad-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "IDOKLAD_APPLICATION_ID": "<IDOKLAD_APPLICATION_ID>",
        "IDOKLAD_CLIENT_ID": "<IDOKLAD_CLIENT_ID>",
        "IDOKLAD_CLIENT_SECRET": "<IDOKLAD_CLIENT_SECRET>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "IDOKLAD_APPLICATION_ID",
      "id": "idoklad-application-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "IDOKLAD_CLIENT_ID",
      "id": "idoklad-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "IDOKLAD_CLIENT_SECRET",
      "id": "idoklad-client-secret",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "idoklad-mcp": {
      "args": [
        "-y",
        "idoklad-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "IDOKLAD_APPLICATION_ID": "${input:idoklad-application-id}",
        "IDOKLAD_CLIENT_ID": "${input:idoklad-client-id}",
        "IDOKLAD_CLIENT_SECRET": "${input:idoklad-client-secret}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.idoklad-mcp]
command = "npx"
args = ["-y", "idoklad-mcp@0.4.0"]
env = { "IDOKLAD_APPLICATION_ID" = "<IDOKLAD_APPLICATION_ID>", "IDOKLAD_CLIENT_ID" = "<IDOKLAD_CLIENT_ID>", "IDOKLAD_CLIENT_SECRET" = "<IDOKLAD_CLIENT_SECRET>" }

For AI agents

  1. Ask the user for: IDOKLAD_CLIENT_ID, IDOKLAD_CLIENT_SECRET, IDOKLAD_APPLICATION_ID. 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: list_issued_invoices, get_issued_invoice, list_proforma_invoices, get_proforma_invoice, list_credit_notes, get_credit_note, list_received_invoices, get_received_invoice, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json