All MCP tools are read-only. An MCP client cannot create, change or delete data. To create or send documents, use the API reference. To create or send documents from a terminal, or from an AI agent that can run shell commands, use the peppol CLI.
Prerequisites
Before you set up MCP, you need:- An e-invoice.be account. Sign up at app.e-invoice.be.
- The API key of your company. Open API Settings in the app and copy the key. See Authentication.
https://api.e-invoice.be/mcp. It is the same for all clients. The transport is streamable HTTP, and you authenticate with your API key as a Bearer token.
Setup
- Claude Code
- Claude Desktop
- ChatGPT
- Cursor
- VS Code
- Windsurf
Claude Code supports remote MCP servers with streamable HTTP.Use the command line (recommended):This command registers the server at user scope. To register it at project scope, add Then restart Claude Code or run
--scope project.As an alternative, add this JSON to ~/.claude.json (user scope) or .claude/settings.local.json (project scope):/mcp and make sure that the server is in the list.Claude Code MCP docs
Official documentation for MCP in Claude Code
Available tools
Documents
Inbox
Outbox
Drafts
Peppol lookup
These tools are public and need no authentication.Statistics
Example prompts
When the client is connected, you can ask questions about your company in natural language:- “Show me all invoices received this month”
- “Get the details and timeline of document doc-1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d”
- “Is the company with VAT number BE0848934496 registered on Peppol?”
- “Search for Peppol participants named ‘OpenPeppol’ in Belgium”
- “Show my send and receive statistics for the last 3 months, by month”
- “List all failed documents in my drafts”
- “What attachments are on invoice doc-1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d?”
Troubleshooting
The tools do not show after setup
The tools do not show after setup
- Restart the application. Most MCP clients load the server configuration only when they start.
-
Make sure that your API key is correct. This request must return your company data:
-
Make sure that the server URL is
https://api.e-invoice.be/mcp, with no slash at the end.
Claude Desktop does not show the tools
Claude Desktop does not show the tools
-
Look for errors in the log file:
- macOS:
tail -n 50 ~/Library/Logs/Claude/mcp.log - Windows: open
%APPDATA%\Claude\logs\mcp.log
- macOS:
-
Make sure that Node.js 18 or later is installed and on your
PATH:node --version. -
Run
mcp-remotemanually to see authentication errors: - Make sure that the JSON is valid. If the file has a comma at the end of a list or a missing quotation mark, Claude Desktop does not load the server and shows no error.
ChatGPT does not offer the connector
ChatGPT does not offer the connector
- Custom connectors need Developer mode. Enable it in Settings → Connectors → Advanced.
- Developer mode is not available on all plans and in all regions. Limits can apply in the EEA, the United Kingdom and Switzerland.
- Enable the connector in each new chat with the + → Connectors menu.
Authentication errors
Authentication errors
- Make sure that you copied the full API key.
- An organisation API key for the Admin API does not work with MCP. Use the API key of a company.
- If you reset your key, update the configuration file and restart the client.
- For the HTTP status codes of the API, see Errors and troubleshooting.
Security
- Read-only access: MCP tools cannot create, change or delete data.
- Tenant scope: the API key controls which tenant the tools can read. A tenant is one company.
- Public lookup tools:
get_lookup_peppol_idandget_lookup_participantsoperate without authentication. - Sandbox company first: use the API key of a sandbox company while you try MCP. See Test mode and sandbox companies.
Next Steps
Authentication
Get your API key and learn how the API authenticates requests
API reference
Create and send documents with the REST API
peppol CLI
Create, validate and send documents from a terminal or a script
Webhooks
Receive a notification for each document event