operation
generate (lowercase-hex digest) or compare (timing-safe check via timingSafeEqual)
How to use it
operation is exposed by the Toolkit MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the operation tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Toolkit MCP Server
docker run --rm -e MCP_TRANSPORT_TYPE=http -p 3010:3010 toolkit-mcp-serverOther tools in Toolkit MCP Server (19)
mints a batch up to 1000 in one call; the returned ids array always holds exactly count values
is capped at 2953 bytes — the absolute ceiling (version 40, level L, byte mode); usable capacity is lower at higher errorCorrection levels, so over-capacity input is rejected with a typed datatoolarge error rather than a generic failure
base64, base64url (URL-safe alphabet), hex, or url (percent-encoding)
(L/M/Q/H) trades data capacity for damage tolerance; margin sets the quiet-zone width; scale sets pixels per module for raster output
svg (inline markup), pngbase64 (raster bytes with mimeType and byteLength), or terminal (Unicode block string)
reads value as utf8 (default), hex, or base64, so binary blobs skip a decode round-trip
ping (ICMP round-trip), traceroute (hop path to the target), connectivity (raw TCP connect to target on port), or publicip (the host's own egress IP)
also arrives as an MCP image content block, so a client reading content[] can render the code without decoding structuredContent
, hosting, and mobile flag when the address is a proxy/VPN/Tor exit, a datacenter network, or a mobile carrier — a true on any of them means the coordinates describe infrastructure, not a person. Absent when the provider doesn't report them
Gated, off by default. Read-only network diagnostics from the server host — ping, traceroute, TCP connectivity, or egress-IP detection.
Gated, off by default. Report a facet of the server host's system state — OS, CPU, memory, load average, or network interfaces.
Encode or decode a value across base64, base64url, hex, or URL percent-encoding, in either direction.
Mint cryptographically-random identifiers — UUIDv4, UUIDv7, or ULID — singly or in batches up to 1000.
Encode text or a URL into a QR code as SVG markup, base64 PNG, or a terminal-renderable string.
Resolve a public IP or hostname to geographic and network metadata — country, city, coordinates, ASN, timezone.
Generate a cryptographic digest (sha256/sha512/sha1/md5), or constant-time-compare a value against an expected digest.
uuidv4 (random, default), uuidv7 (time-ordered, sortable by creation), or ulid (26-char Crockford base32, lexicographically sortable)
and ulid batches are monotonic — strictly increasing even within the same millisecond — so ids stays in sorted creation order
os, cpu, memory, load, or interfaces