MCP directory
MK

Mcp Ksef Pl

by github.com/cmendezs · v0.10.2 · updated Nov 16, 2026

Polish e-invoicing MCP: KSeF API v2, FA(3)/FA(2) XML, Peppol BIS 3.0, NIP/REGON validation.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx mcp-ksef-pl==0.10.2

Environment variables

  • KSEF_SESSION_TOKEN

    KSeF v2 AccessToken obtained via the challenge/redeem auth flow. Required for submit_invoice_to_ksef.

  • KSEF_NIP

    NIP (Polish tax identifier, 10 digits) of the entity submitting invoices.

  • KSEF_ENVIRONMENT

    Target KSeF environment: 'production' or 'test' (default: test).

  • KSEF_TIMEOUT

    HTTP request timeout in seconds (default: 30).

More from github.com/cmendezs

More MCP servers