Koskamo

mcp-ksef-pl MCP

A Python MCP server for Polish electronic invoicing compliant with KSeF (FA(2)) and Peppol BIS Billing 3.0. It allows AI agents to generate, validate, and submit invoices to the Krajowy System e-Faktur, and validate Polish tax identifiers like NIP and REGON.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-ksef-pl MCP logo, by cmendezsCommunity listingLocal stdioSource reviewed; not executedPublished by cmendezs
Vendor documentation

What you can do with it

  • Generate FA(2) compliant invoices
  • Submit invoices to KSeF
  • Validate NIP and REGON identifiers
  • Validate Peppol BIS 3.0 documents

Source and maintenance

Community listingRegistry 0.10.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-ksef-pl 0.10.1

pypi
mcp-ksef-pl package definition
{
  "version": "0.10.1",
  "transport": "stdio",
  "identifier": "mcp-ksef-pl",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "KSEF_SESSION_TOKEN",
      "format": "string",
      "description": "KSeF v2 AccessToken obtained via the challenge/redeem auth flow. Required for submit_invoice_to_ksef."
    },
    {
      "name": "KSEF_NIP",
      "format": "string",
      "description": "NIP (Polish tax identifier, 10 digits) of the entity submitting invoices."
    },
    {
      "name": "KSEF_ENVIRONMENT",
      "format": "string",
      "description": "Target KSeF environment: 'production' or 'test' (default: test)."
    },
    {
      "name": "KSEF_TIMEOUT",
      "format": "string",
      "description": "HTTP request timeout in seconds (default: 30)."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-ksef-pl-mcp": {
      "command": "uvx",
      "args": [
        "mcp-ksef-pl==0.10.1"
      ],
      "env": {
        "KSEF_SESSION_TOKEN": "<YOUR_KSEF_SESSION_TOKEN>",
        "KSEF_NIP": "<YOUR_KSEF_NIP>",
        "KSEF_ENVIRONMENT": "<YOUR_KSEF_ENVIRONMENT>",
        "KSEF_TIMEOUT": "<YOUR_KSEF_TIMEOUT>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-ksef-pl-mcp": {
      "command": "uvx",
      "args": [
        "mcp-ksef-pl==0.10.1"
      ],
      "env": {
        "KSEF_SESSION_TOKEN": "<YOUR_KSEF_SESSION_TOKEN>",
        "KSEF_NIP": "<YOUR_KSEF_NIP>",
        "KSEF_ENVIRONMENT": "<YOUR_KSEF_ENVIRONMENT>",
        "KSEF_TIMEOUT": "<YOUR_KSEF_TIMEOUT>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-ksef-pl-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-ksef-pl==0.10.1"
      ],
      "env": {
        "KSEF_SESSION_TOKEN": "<YOUR_KSEF_SESSION_TOKEN>",
        "KSEF_NIP": "<YOUR_KSEF_NIP>",
        "KSEF_ENVIRONMENT": "<YOUR_KSEF_ENVIRONMENT>",
        "KSEF_TIMEOUT": "<YOUR_KSEF_TIMEOUT>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-ksef-pl-mcp": {
      "command": "uvx",
      "args": [
        "mcp-ksef-pl==0.10.1"
      ],
      "env": {
        "KSEF_SESSION_TOKEN": "<YOUR_KSEF_SESSION_TOKEN>",
        "KSEF_NIP": "<YOUR_KSEF_NIP>",
        "KSEF_ENVIRONMENT": "<YOUR_KSEF_ENVIRONMENT>",
        "KSEF_TIMEOUT": "<YOUR_KSEF_TIMEOUT>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-ksef-pl MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.