mcp

v0.1.3
io.github.invoicepdfs/mcp Checked 14 hours ago Published 5 days ago

Render invoices and credit notes as PDFs, and check them against EN 16931 e-invoicing rules.

Values you need

VariableWhat it is
INVOICEPDFS_API_KEYrequired secret An InvoicePDFs API key, created at https://invoicepdfs.com. Not scoped: it can do anything the account can.
INVOICEPDFS_BASE_URLoptional Override the API host. Only needed when pointing at a local server.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'INVOICEPDFS_API_KEY=<INVOICEPDFS_API_KEY>' -- npx -y --package=@invoicepdfs/mcp@0.1.3 invoicepdfs-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@invoicepdfs/mcp@0.1.3",
        "invoicepdfs-mcp"
      ],
      "command": "npx",
      "env": {
        "INVOICEPDFS_API_KEY": "<INVOICEPDFS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@invoicepdfs/mcp@0.1.3",
        "invoicepdfs-mcp"
      ],
      "command": "npx",
      "env": {
        "INVOICEPDFS_API_KEY": "<INVOICEPDFS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "INVOICEPDFS_API_KEY",
      "id": "invoicepdfs-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@invoicepdfs/mcp@0.1.3",
        "invoicepdfs-mcp"
      ],
      "command": "npx",
      "env": {
        "INVOICEPDFS_API_KEY": "${input:invoicepdfs-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@invoicepdfs/mcp@0.1.3", "invoicepdfs-mcp"]
env = { "INVOICEPDFS_API_KEY" = "<INVOICEPDFS_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://invoicepdfs.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://invoicepdfs.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://invoicepdfs.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://invoicepdfs.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://invoicepdfs.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: INVOICEPDFS_API_KEY. 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: document_render, document_render_stored, document_get_render, document_download_render, document_calculate, document_validate, document_create, document_get, ….
  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