mcp-crypto-tools
mcp-crypto-tools
Herramientas de criptografía y codificación para agentes de IA, servidas a través del Model Context Protocol (MCP).
Herramientas
hash
Hashea texto usando MD5, SHA-1, SHA-256, SHA-512 o HMAC. Compara dos valores hash. Calcula todos los algoritmos a la vez.
Acciones: hash, hmac, compare, hash_all
encode_decode
Codifica y decodifica texto usando Base64, codificación URL, entidades HTML, hexadecimal o binario. Detecta automáticamente el formato de codificación.
Acciones: base64_encode, base64_decode, url_encode, url_decode, html_encode, html_decode, hex_encode, hex_decode, binary_encode, binary_decode, detect
generate_id
Genera identificadores únicos: UUID v4, nanoid, ULID, CUID o cadenas aleatorias con longitud y conjunto de caracteres configurables.
Tipos: uuid, nanoid, ulid, cuid, random
password
Genera contraseñas seguras con conjuntos de caracteres, longitud y cantidad configurables. Comprueba la fortaleza de la contraseña con cálculo de entropía y estimación de tiempo de descifrado.
Acciones: generate, check_strength
jwt
Decodifica tokens JWT para inspeccionar el encabezado y la carga útil, comprobar el estado de caducidad o crear JWT sin firmar para pruebas.
Acciones: decode, check_expiry, create_unsigned
Related MCP server: io.github.daedalus/mcp-cryptography
Configuración
npm install
npm run buildConfiguración de MCP
Añade a la configuración de tu cliente MCP:
{
"mcpServers": {
"crypto-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-crypto-tools/dist/index.js"]
}
}
}Dependencias
@modelcontextprotocol/sdk- marco del servidor MCPMódulo
cryptointegrado de Node.js: todas las operaciones criptográficas
No se requieren bibliotecas criptográficas externas.
Licencia
MIT
Available Tools
5 toolsencode_decodeA
Encode or decode text using Base64, URL encoding, HTML entities, hex, or binary. Can also auto-detect the encoding format of input.
Inputs: text (required), action (required).
generate_idA
Generate unique identifiers: UUID v4, nanoid, ULID, CUID, or random strings with configurable length and charset.
Inputs: type (required), count, length, charset.
hashB
Hash text using MD5, SHA-1, SHA-256, SHA-512, or HMAC. Can also compare two hash values or compute all hash algorithms at once.
Inputs: action (required), key, text, hash1, +3 more.
jwtA
Decode JWT tokens to inspect header and payload, check expiry status, or create unsigned JWTs for testing purposes. Not for production authentication.
Inputs: action (required), token, payload, expires_in_seconds.
passwordB
Generate secure passwords with configurable options, or check password strength with entropy calculation and crack time estimation.
Inputs: action (required), count, digits, length, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation: heshing, encoding/decoding, ID generation, password handling, and JWT processing. Even though 'decode' appears in both encode_decode and jwt, their input formats are clearly different, so no real ambiguity exists.
Names are readable and all lowercase, but they follow mixed conventions: simple verbs/nouns (hash, password, jwt), a verb pair (encode_decode), and a verb+object (generate_id). There is no consistent verb_noun pattern, though the set is still predictable.
Five tools covers a useful crypto/encoding utility suite without bloat. Each tool addresses a distinct common task, and the count feels well-suited for the server's scope.
Core operations for heshing, encoding, IDs, password strength, and JWT inspection are covered. Encryption/decryption and signed JWT validation are absent, but the described scope appears intentionally limited and most common workflows have tool support.
Related MCP Connectors
55-tool cryptography MCP server: hashing, encryption, signatures, PQC, X.509, CMS and COSE.
Hash passwords with bcrypt and issue/verify JWT session tokens over A2A + MCP.
Developer utilities over MCP: Base64 encode and decode, decode JWTs, format JSON, do percentages.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI clients to use developer utilities like JSON formatting, JWT decoding, UUID generation, and more via MCP.12294 npm2MIT
- AlicenseAqualityDmaintenanceExposes various cryptographic operations including key generation, symmetric/asymmetric encryption, hashing, and HMAC. Supports Fernet, AES, RSA, X.25519, and X.509 certificates.2224 PyPI1MIT
- AlicenseAqualityCmaintenanceProvides deterministic developer utilities as MCP tools, including UUID/password generation, hashing, encoding, JWT decoding, cron scheduling, regex execution, and text analysis. Runs entirely locally with no network calls, telemetry, or API keys.2082 npmMIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables constant-time cryptographic attestation, zero-knowledge verification, JWT HMAC-SHA256 validation, Merkle proof inclusion, nonce replay protection, and secure digest comparison for agent security credentials via MCP.MIT