io.github.invoicepdfs/mcp

Registre officiel Finance et paiements

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http io-github-invoicepdfs-mcp 'https://invoicepdfs.com/mcp' --header 'Authorization: <Bearer <your InvoicePDFs API key>, created at https://invoicepdfs.com. Not scoped: it can do anything the account can.>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "io-github-invoicepdfs-mcp": {
            "type": "http",
            "url": "https://invoicepdfs.com/mcp",
            "headers": {
                "Authorization": "<Bearer <your InvoicePDFs API key>, created at https://invoicepdfs.com. Not scoped: it can do anything the account can.>"
            }
        }
    }
}
NPM package @invoicepdfs/mcp
Claude Code
claude mcp add io-github-invoicepdfs-mcp -e 'INVOICEPDFS_API_KEY=<your invoicepdfs_api_key>' -e 'INVOICEPDFS_BASE_URL=<INVOICEPDFS_BASE_URL>' -- npx -y @invoicepdfs/mcp@0.1.2
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "io-github-invoicepdfs-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@invoicepdfs/mcp@0.1.2"
            ],
            "env": {
                "INVOICEPDFS_API_KEY": "<your invoicepdfs_api_key>",
                "INVOICEPDFS_BASE_URL": "<INVOICEPDFS_BASE_URL>"
            }
        }
    }
}

Variables d'environnement

  • INVOICEPDFS_API_KEY obligatoire secret An InvoicePDFs API key, created at https://invoicepdfs.com. Not scoped: it can do anything the account can.
  • INVOICEPDFS_BASE_URL Override the API host. Only needed when pointing at a local server.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. InvoicePDFs MCP server
  2. Use it
  3. What it offers
  4. How it is built
  5. Develop

InvoicePDFs MCP server

Gives an AI agent the InvoicePDFs API as tools: render a document, check it for e-invoicing compliance, manage customers, and reach the rest of the API on demand.

It is an ordinary HTTPS client of the public API. No database, no extra service to deploy, nothing added to render.yaml. It runs on your machine.

Use it

Add to your MCP client's configuration — Claude Desktop, Cursor, or anything else that speaks MCP over stdio:

{
  "mcpServers": {
    "invoicepdfs": {
      "command": "npx",
      "args": ["-y", "@invoicepdfs/mcp"],
      "env": { "INVOICEPDFS_API_KEY": "inv_live_..." }
    }
  }
}

Create a key at https://invoicepdfs.com. INVOICEPDFS_BASE_URL overrides the host if you are pointing at a local server.

An API key is not scoped. Any key you give this server can do anything your account can, including deleting data. That is a property of the key, not of this server — there is no narrower credential to hand it. Your MCP client will still ask before each tool call.

What it offers

Thirty tools. Twenty-seven name a common operation outright — document_render, document_create, compliance_check, customer_list and so on — document_transition covers the seven-state document lifecycle through one to argument, and two reach everything else:

  • find_operation — search all 161 operations by what they do and get the full input schema of each match.
  • call_operation — run one of them.

The whole API is reachable; only the common path is listed up front. Every client caps the tool list (Cursor around 40, Junie 100, Copilot 128), so a server advertising 161 tools would either break or crowd out every other server you have connected.

document_render renders asynchronously and waits for the result, so it returns a finished render rather than a queued one. Rendering is CPU-bound and served by a single worker, so prefer one render at a time over starting many in parallel.

How it is built

The tool surface is built from openapi.json at startup. src/operations.ts reads the spec and derives each operation's name, input schema and description; src/client.ts is one executor that can run any of them. Adding an endpoint to the API adds a working tool with no code change here.

It is built at runtime rather than generated into a committed file on purpose. The first version of this emitted 16,000 lines of TypeScript that had to be regenerated and committed whenever the API changed — a second copy of the spec, with its own way of going stale. Parsing the spec costs about 10ms, once, in a process that starts once.

Only three things are written by hand:

FileWhy it cannot come from the spec
src/manifest.tsWhich operations are promoted, and what they are called
src/tools/documentRender.tsAsync default and poll-until-terminal
src/tools/findOperation.tsThe search, and the lazy load

Tool descriptions come from the API's handler docstrings, through the spec. They are not written here, because prose about an operation kept in two places drifts.

Develop

npm install
npm test        # drift and tool-surface checks
npm run build   # compiles
npm pack        # vendors openapi.json into the tarball, then cleans up

This repository is generated. The source lives in the InvoicePDFs API monorepo under mcp/, and every commit here is a sync from there — so a change made in this repository is overwritten by the next one. Open an issue instead and it gets made where it survives.

The reason for the split is that the two things want different homes. The code belongs next to the API it describes: tool descriptions are the API handlers' own docstrings, and npm test fails when the manifest names an operation the spec no longer has, which is a guard that only works if it runs in the pull request that renames the handler. The package belongs in a public repository, because npm build provenance requires one, and because a registry listing with no readable source behind it is worth less.

So the drift guard runs upstream on every API change, and this repository publishes.

Questions fréquentes

Qu'est-ce que io.github.invoicepdfs/mcp ?

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

Comment installer io.github.invoicepdfs/mcp ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http io-github-invoicepdfs-mcp 'https://invoicepdfs.com/mcp' --header 'Authorization: <Bearer <your InvoicePDFs API key>, created at https://invoicepdfs.com. Not scoped: it can do anything the account can.>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.invoicepdfs/mcp ?

Oui. Il attend INVOICEPDFS_API_KEY, Authorization, à renseigner dans sa configuration.

io.github.invoicepdfs/mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.invoicepdfs/mcp ?

Il est publié par invoicepdfs. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.