Skip to content

inFakt MCP Server

Last updated:

AI-powered bridge to inFakt accounting API for Polish businesses

inFakt MCP Server provides seamless AI integration with inFakt - Poland's leading invoicing and accounting platform for small businesses, freelancers, and self-employed professionals.

This server enables AI assistants like Claude to interact with inFakt's accounting data through natural language queries, allowing users to manage invoices, clients, expenses, and financial reports conversationally.

Key Capabilities

  • Invoices: List and search invoices of every type, issue VAT, proforma, advance, corrective, OSS and internal invoices through a draft the user approves, edit, delete, mark as paid, send by e-mail and to KSeF
  • Drafts and approval card: Inspect and discard a draft, approve it, follow the operation status; an approval card for clients with MCP Apps
  • Clients & Products: Manage client database and product/service catalog
  • Costs: Track business expenses
  • JPK Reports: Access JPK SAF-V7 files
  • Bank Accounts: View company bank accounts
  • Taxes & Fees: Income taxes (PIT), ZUS contributions, VAT EU
  • Books & Reports: Revenue and expense ledgers (KPiR), fiscal reports
  • Documents: Internal company documents
  • KSeF: Integration with National e-Invoice System
  • Reference Data: VAT rates, flat-rate tax, MOSS and VAT exemptions
  • Account Management: User account details and activity logs
  • Meta and utility tools: Schemas, examples and dictionaries for the assistant, status of asynchronous operations, a JDG registration guide available without sign-in

Core Operations

The production server exposes 76 tools in 20 categories and 4 prompts. Every tool has a page of its own; the full list with a filter is in the tool catalog.

AreaDescriptionTools
Invoices: readListing and details of invoices of every type, plus VAT invoice side data: attachments, the private link and numbering.infakt_get_invoice, infakt_get_invoices_list, infakt_invoice_advance_group_get, infakt_invoice_attachment_get, infakt_invoice_attachments_list, infakt_invoice_next_number, infakt_invoice_number_check, infakt_invoice_share_link_get
Invoices: actionsCreating, editing and deleting invoices, and sending them. A VAT invoice or proforma becomes a draft the user approves; the other actions need a confirmation token.infakt_corrective_invoice_create, infakt_invoice_create, infakt_invoice_create_similar, infakt_invoice_delete, infakt_invoice_update, infakt_mark_invoice_as_paid, infakt_oss_invoice_create, infakt_send_invoice_email
Invoice drafts and approvalThe *_prepare tools build a document draft outside inFakt. The document is created in inFakt only after the user approves it in infakt_invoice_approve: in the client form, in the approval card or with a single-use code in chat.infakt_internal_evidence_prepare, infakt_invoice_advance_next_prepare, infakt_invoice_advance_prepare, infakt_invoice_approve, infakt_invoice_capabilities, infakt_invoice_draft_discard, infakt_invoice_draft_get, infakt_invoice_final_prepare, infakt_invoice_internal_prepare, infakt_invoice_operation_get, infakt_invoice_prepare
Approval card (MCP Apps)Tools called only by the approval card rendered in the client (for example Claude). They are in the tool list, but the assistant never calls them itself.infakt_invoice_app_decline, infakt_invoice_app_issue, infakt_invoice_app_offer, infakt_invoice_app_status
ClientsThe contractor base.infakt_client_delete, infakt_client_update, infakt_create_client, infakt_get_clients_list
ProductsThe catalogue of products and services.infakt_get_products_list, infakt_product_create, infakt_product_delete, infakt_product_update
Costs and expensesCost documents.infakt_cost_category_assign, infakt_cost_delete, infakt_cost_file_rename, infakt_cost_note_add, infakt_costs_mark_paid, infakt_costs_mark_unpaid, infakt_get_cost, infakt_get_costs_list
JPK filesJPK_V7 files (the Polish SAF-T).infakt_get_jpk_file, infakt_get_jpk_files_list
Income taxesIncome tax (PIT) records.infakt_get_income_tax, infakt_get_income_taxes_list
ZUS contributionsZUS social insurance contributions.infakt_get_insurance_fee, infakt_get_insurance_fees_list
VAT EUVAT-EU files for intra-EU transactions.infakt_get_vat_eu_tax, infakt_get_vat_eu_taxes_list
Books (KPiR)The revenue and expense ledger.infakt_get_book, infakt_get_books_list
Fiscal reportsCash register reports.infakt_get_fiscal_report, infakt_get_fiscal_reports_list
Internal evidencesInternal evidence documents.infakt_get_internal_evidence, infakt_get_internal_evidences_list
KSeFThe Polish national e-invoicing system.infakt_get_ksef_integration_status, infakt_send_invoice_to_ksef
AccountAccount details, activity and bank accounts.infakt_get_account_activities_list, infakt_get_account_details, infakt_get_bank_accounts_list
Reference dataTax rates and VAT exemption bases.infakt_get_rates_list, infakt_get_vat_exemption, infakt_get_vat_exemptions_list
Meta toolsSchemas, examples and dictionaries bundled with the server, no inFakt API call.infakt_meta_catalog, infakt_meta_dictionary, infakt_meta_examples, infakt_meta_schema
Utility toolsConnection and async operation status.infakt_async_status, infakt_health_check
Public toolsAvailable without an inFakt account and without signing in.infakt_jdg_registration_guide

Safety Annotations

All tools have proper MCP safety annotations:

AnnotationDescriptionTools
readOnlyHint: trueRead-only operations that do not modify dataAll list/get operations
readOnlyHint: falseWrite operations; creating records carries destructiveHint: falseCreating invoices (other than OSS), clients, products
destructiveHint: trueOperations that cannot be undone or that overwrite dataInvoice drafts (*_prepare), OSS invoice creation, updates, deletes, marking as paid, sending by email and to KSeF

How Access Works

  1. Install the MCP server in your AI assistant.
  2. On the first request that needs account data, sign in to inFakt and approve OAuth access.
  3. Start asking about invoices, clients, expenses, taxes, or reports in natural language.

Write actions still require explicit confirmation from the user before anything is created or modified.

Enterprise-Grade Security

The server implements the Model Context Protocol (MCP) with enterprise-grade security features:

  • Multi-tenant isolation with automatic cleanup (300-second TTL)
  • OAuth 2.1 authentication with Fernet encryption at rest
  • Horizontal scalability through Valkey-backed state management
  • Comprehensive rate limiting
  • All API communication uses HTTPS/TLS encryption

Ready to get started? Go to Quick Start to connect your account in seconds.