Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Files & Cloud Storage

Files & Cloud Storage

Connect Claude or ChatGPT via MCP to wFirma invoicing and KSeF

When an AI client calls it as an MCP tool, it manages files with Claude using Google Drive.

What it does

## Connect AI to wFirma with an MCP server Give Claude, ChatGPT or any MCP client access to wFirma, the Polish invoicing, accounting and warehouse service. The 9 tools cover ~40 modules and ~140 API actions. ### How it works 1. MCP Server Trigger with *n8n User Auth (OAuth2)*: people sign in with their n8n account. 2. Tools call the gateway in this same workflow ($workflow.id), so you import a single file. 3. Plan builds the URL. Route sends the call to the API, the approval guard or the docs. 4. To XML / Parse XML translate between JSON and wFirma's XML; Format result returns ok, status, records, pagination. 5. wfirma_docs reads the official API docs live, so the model learns field names before writing. ### Safety Deleting, e-mailing invoices, fiscalization and final invoices (KSeF, irreversible) need confirmed=true, which the model may set only after the user approved. Drafts and pro forma invoices go through directly.

The steps

  1. wFirma MCP Server
  2. wfirma_docs
  3. wfirma_find
  4. wfirma_get
  5. wfirma_find_invoices
  6. wfirma_save
  7. wfirma_delete
  8. wfirma_action
  9. wfirma_register_payment
  10. wfirma_download_pdf
  11. When Executed by Another Workflow
  12. Config
  13. Plan
  14. Route

32 steps in total.

Similar automations