
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@czagents/shared
Advanced tools
Shared utilities for cz-agents MCP servers — IČO/DIČ validation, HTTP helpers, rate limiter, billing primitives
Internal shared utilities for the @czagents/* MCP servers — IČO/DIČ validation, HTTP helpers, simple in-memory rate limiter, request-origin extraction, and billing primitives.
This is not an end-user MCP server. It is published to npm so the other @czagents/* packages can declare it as a dependency. You normally do not install it directly — npm install @czagents/ares (or any of the servers) pulls it in transitively.
npm install @czagents/shared
Re-exported from the package root:
validateIcoInput(ico), isValidIco(ico) — IČO format + MOD11 checksum (Czech 7-8 digit Business ID)formatDic(dic), isValidDic(dic), icoFromDic(dic) — DIČ (Czech VAT ID) helpershttpGetJson(url, opts), httpGetText(url, opts) — small fetch wrapper with timeout + retryRateLimiter — token-bucket rate limiter for stdio/HTTP MCP serversgetRequestOrigin(req) — extract origin metadata from MCP request contextCache — minimal TTL cache used across the serversbilling/* — tier helpers (free / paid) and rate-limit policy types shared by the serversSource: https://github.com/martinhavel/cz-agents-mcp
git clone https://github.com/martinhavel/cz-agents-mcp
cd cz-agents-mcp
npm install
npm run build -w @czagents/shared
MIT — see LICENSE
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.