Install
$ agentstack add mcp-herbat73-mcp-ksef ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MCP KSeF Server
[](https://modelcontextprotocol.io/introduction) [](https://opensource.org/licenses/MIT) [](https://github.com/herbat73/Mcp-Ksef/actions/workflows/dotnetbuildand_test.yml) [](https://hub.docker.com/r/herbat73/mcp-ksef)
To jest serwer MCP dla KSeF - Krajowy System e-Faktur to platforma do wystawiania, przesyłania, otrzymywania i przechowywania faktur.
Połączenie do KSeF wymaga wygenerowania tokenu lub certyfikatu. Obie metody są wspierane przez ten serwer MCP.
Serwer MCP w rozwoju. Na razie działa tylko pobieranie faktur. Będą dodawane nowe funkcje.
Spis treści
- [Jak uruchomić jako Docker](Docs/RunAsDocker.md)
- [Jak uruchomić klienta Visual Studio Code](Docs/HowToRun.md)
- [Jak uruchomić klienta Cloud Desktop](Docs/HowToRunCloudDesktop.md)
- [Przykłady użycia](Docs/Examples.md)
- [Punkty dostępu](Docs/Endpoints.md)
- [Instalacja z kodu](Docs/Installation.md)
Co zawiera
Instrukcje dla KSeF
| Opis | Uzycie | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------| | Pobranie faktury w XML na podstawie numeru KSeF | #get_invoice_by_ksef | | Pobiera listę faktur z podanego okresu z systemu ksef oraz InvoiceSubjectType (domyślnie Subject1=wystawca), DateType (domyślnie IssueData=data wystawienienia fv) | #query_invoices | | Pobiera fakturę o podanym numerze faktury () | #get_invoice_by_invoice_number | | Pobierz faktury dla kupującego o numerze NIP () | #get_invoices_for_buyer_by_nip | | Pobierz faktury dla kupującego o numerze VAT UE (*) | #get_invoices_for_buyer_by_vateu | | Pobierz link do faktury po numerze ksef | #get_invoice_url_by_ksef | | Pobierz QR kod do faktury po numerze ksef | #get_invoice_qr_ksef |
(*) repozytorium KSeF ma ograniczenie na zwrot listy faktur do maksymalnie 3 miesiące wstecz
Jak użyć
Użyj podobnego opisu lub użyj bezpośrednio nazwy w celu wywołania pożądanej funkcji.
Np.
Pobierz fakturę o numerze referencyjnym 5242764991-20260131-01002063FA88-AD i pokaż dane identyfkacyjne podmiotu2 oraz number faktury
Lub bezpośrednio
#get_invoice_by_invoice_number "FV 2026/1/31/754149652576"
Przykład
Przykład użycia połączenia do KSeF w kliencie Claude Desktop
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: herbat73
- Source: herbat73/Mcp-Ksef
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.