Skip to main content

MCP Ksef Pl

io.github.cmendezs/mcp-ksef-pl

v0.10.2Updated Nov 16, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-ksef-pl -- uvx mcp-ksef-pl==0.10.2

Configuration

4 settings.

  • KSEF_SESSION_TOKEN
    Env var· optional
    KSeF v2 AccessToken obtained via the challenge/redeem auth flow. Required for submit_invoice_to_ksef.
  • KSEF_NIP
    Env var· optional
    NIP (Polish tax identifier, 10 digits) of the entity submitting invoices.
  • KSEF_ENVIRONMENT
    Env var· optional
    Target KSeF environment: 'production' or 'test' (default: test).
  • KSEF_TIMEOUT
    Env var· optional
    HTTP request timeout in seconds (default: 30).

Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.