Mcp Krs — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Krs (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Opublikowany na npm + MCP Registry (io.github.matematicsolutions/mcp-krs). Uruchomienie bez klonowania:
npx -y @matematicsolutions/mcp-krsKonfiguracja klienta MCP (stdio):
{ "mcpServers": { "mcp-krs": { "command": "npx", "args": ["-y", "@matematicsolutions/mcp-krs"] } } }(Budowanie ze źródeł — niżej.)
MCP server dla Krajowego Rejestru Sądowego przez oficjalne, darmowe API Ministerstwa Sprawiedliwości (api-krs.ms.gov.pl/api/krs).
Kancelaria pyta o kontrahenta → Patron zwraca pełne dane rejestrowe: nazwa, forma prawna, NIP, REGON, adres, kapitał, skład zarządu, sposób reprezentacji, prokurenci, główny PKD, status (aktywny / likwidacja / upadłość). Plus URL do wyszukiwarki MS.
Krytyczne dla pracy nad umowami: pytanie „czy ta osoba może sama podpisać tę umowę za spółkę X" sprowadza się do dwóch ruchów — krs__get_board z numerem KRS, potem porównanie sposobu reprezentacji ze stroną podpisującą.
(sposób + skład) + prokurenci.
Parametry:
krs — 1-10 cyfr, zera wiodące dopełniane automatycznie(28860 → 0000028860).
rejestr — P (przedsiębiorców, default) lub S (stowarzyszeń).Każda zwrotka zawiera structuredContent.citations z polami: title, url (MS wyszukiwarka), krs, nazwa, nip, regon, forma_prawna, status, miejscowosc, sad_rejestrowy, rejestr.
Patron czyta pole automatycznie i wystawia w panelu UI jako sekcję „Krajowy Rejestr Sądowy (KRS — MS)".
fetch)@modelcontextprotocol/sdknpm install
npm run build
node dist/index.jsW patron/backend/mcp-servers.json:
{
"name": "krs",
"transport": "stdio",
"command": "node",
"args": ["C:/Users/<TWOJ-UZYTKOWNIK>/mcp-krs/dist/index.js"],
"enabled": true
}echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"s","version":"0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_board","arguments":{"krs":"28860"}}}' \
| node dist/index.jsPowinno zwrócić ORLEN SA, sposób reprezentacji „dwaj członkowie zarządu działający łącznie", skład zarządu, prokurenci + URL.
API MS w odpowiedziach zwraca zamaskowane dane osobowe członków zarządu (gwiazdki w nazwiskach po nowelizacji 2023). Patron przepuszcza to surowo, nie demaskuje. Dla pełnych nazwisk: użytkownik kancelarii otwiera link MS w przeglądarce po zalogowaniu.
Kontrakt API z oficjalnej dokumentacji MS api-krs.ms.gov.pl. Implementacja TS od zera.
MIT.
This server is one of five MCP connectors covering Polish jurisdiction + EU law, used by Patron (AGPL-3.0) and any other MCP-aware legal AI agent.
All five MCP servers share the same structuredContent.citations contract: each tool returns an array of {title, url, snippet?, ...metadata} that legal agents can render directly in their citation panel.
See matematicsolutions/.github for the full org profile.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.