Polish B2B developers and solo founders (JDG) are increasingly looking for ways to query invoices, tax liabilities, and expenses directly from Claude Desktop or Cursor using the Model Context Protocol (MCP).
After auditing official API documentation and public GitHub repositories in December 2026, here is the real state of MCP support across the four most popular Polish accounting platforms, plus four KSeF 2.0 safety rules before you ever hand API keys to an LLM.
1. Current MCP Support Matrix (December 2026)
| Platform | Official MCP Server? | Auth Method | API & KSeF 2.0 Notes |
|---|---|---|---|
| inFakt | Yes (inFakt Plus) | Remote OAuth 2.1 + PKCE | Polls KSeF every 15 min; zero local API secrets on disk |
| Fakturownia | Yes (official remote) | Remote OAuth 2.1 + PKCE | Hosted at fakturownia.pl/mcp; clean token revocation |
| wFirma | Community adapters + REST API v2 | 3 API keys (accessKey, secretKey, appKey) or OAuth 2.0 | Up to 1,000 docs/month included; KSeF 2.0 queue every 5 or 10 min |
| iFirma | Community adapter + REST API JSON | Separate keys per module (invoices, expenses, subscriber) | 100 req/min, 15,000 req/day; explicit /ksef/send/{id}.json endpoints |
2. Official Remote MCP vs Local Community Adapters
If you use inFakt Plus or Fakturownia, setup takes two minutes because both run remote MCP servers with OAuth 2.1 + PKCE — no local Python/Node process and no static secret keys sitting in plaintext JSON on your laptop.
If your business runs on wFirma (common for e-commerce / Allegro / warehouse ERP) or iFirma (popular for flat-rate JDG), neither vendor has shipped an official MCP server yet as of December 2026. However, both offer solid official REST APIs with community-built local MCP servers over stdio:
- wFirma community repos (REST API v2):
-
tajchert/wfirma-mcp(local read-only focus) -
agente-dev/wfirma-mcp(read-only API v2 wrapper) -
krzysztofnyczka/wfirma-mcpandgohyperdev/wfirma-mcp-server
-
- iFirma community repo (REST API JSON):
-
adriandmitroca/ifirma-mcp-server(cleanly separatesifirma_readandifirma_writetools)
-
Minimal Local claude_desktop_config.json Pattern
{ "mcpServers": { "wfirmaLocalRead": { "command": "python", "args": ["C:/tools/wfirma_mcp/server.py"], "env": { "WFIRMA_ACCESS_KEY": "YOUR_ACCESS_KEY", "WFIRMA_SECRET_KEY": "YOUR_SECRET_KEY", "WFIRMA_APP_KEY": "YOUR_APP_KEY", "WFIRMA_COMPANY_ID": "YOUR_COMPANY_ID" } } } } 3. Four Non-Negotiable KSeF 2.0 Safety Guardrails
A marketing automation bug sends an ugly email. An LLM hallucination with write access to a KSeF-connected accounting system can submit a faulty legal invoice straight to the Polish Ministry of Finance, which cannot be deleted — only reversed via a corrective invoice.
- Default to read-only: 90% of day-to-day value comes from querying unpaid invoices, categorizing costs, and estimating PIT/VAT advances. Keep write tools disabled on unofficial adapters.
- Never enable KSeF auto-submission on an AI API key: In iFirma, take advantage of per-module keys and omit the invoicing key if you only need expense queries. In wFirma, keep KSeF authorization off the API key assigned to the agent.
- Audit the repo before pasting secrets: Community MCP servers are usually a few hundred lines of code. Verify every outbound HTTP request goes strictly to the official wFirma or iFirma API domain.
- Watch GDPR / client PII: Invoices contain NIP numbers, full names, and addresses. Disable model training on chat history or use a business plan with a DPA.
Full Polish Guides & Benchmarks
If you are looking for full Polish documentation, pricing tables with 23% VAT, and self-hosting options for running n8n + MCP containers on Polish NVMe infrastructure:
- Full Polish MCP guide: wFirma MCP i iFirma MCP (oraz inFakt, Fakturownia): jak podpiąć polską księgowość pod Claude AI [2026]
- Polish accounting comparison: inFakt vs wFirma vs iFirma dla JDG i KSeF [2026]
- Self-hosting n8n & MCP containers on Polish VPS NVMe: SeoHost VPS NVMe opinie i dobór RAM pod n8n [2026]
- Free interactive 3-year Polish hosting TCO calculator: Kalkulator kosztu hostingu na 3 lata
