mcpField
C
crypto

crypto

Local
github.com/rog0xDeveloper Tools0Updated 32w ago

About crypto

crypto is an MCP server offering cryptography and encoding utilities for AI agents. It covers hashes, text encodings, identifiers, password checks, and JWT inspection in one set of tools.

Key features

  1. 01Create and compare hashes and HMACs
  2. 02Encode, decode, and detect text formats
  3. 03Generate UUID, nanoid, ULID, CUID, and random IDs
  4. 04Generate passwords and estimate strength
  5. 05Decode JWTs and check expiry

Use cases

  1. 01Hash text or compare hash values
  2. 02Convert text to and from common encodings
  3. 03Create identifiers or assess a password
  4. 04Inspect a JWT payload and expiry

MCP support

Exposes hashing, encoding, identifier generation, password, and JWT tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"rog0x-crypto": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-crypto-tools"
]
}
}
}
Run commandnpx -y @rog0x/mcp-crypto-tools

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@rog0x/mcp-crypto-tools1.0.2

Tools

5

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
keystringNoSecret key (for hmac action)
textstringNoText to hash (for hash, hmac, hash_all actions)
hash1stringNoFirst hash (for compare action)
hash2stringNoSecond hash (for compare action)
actionenumYesAction to perform: hash (single algorithm), hmac (keyed hash), compare (compare two hashes), hash_all (all algorithms at once)hash | hmac | compare | hash_all
encodingenumNoOutput encoding. Default: hexhex | base64
algorithmenumNoHash algorithm (for hash and hmac actions). Default: sha256md5 | sha1 | sha256 | sha512

Details

From the project README

mcp-crypto-tools

Cryptography and encoding tools for AI agents, served via the Model Context Protocol (MCP).

Tools

hash

Hash text using MD5, SHA-1, SHA-256, SHA-512, or HMAC. Compare two hash values. Compute all algorithms at once.

Actions: hash, hmac, compare, hash_all

encode_decode

Encode and decode text using Base64, URL encoding, HTML entities, hex, or binary. Auto-detect encoding format.

Actions: base64_encode, base64_decode, url_encode, url_decode, html_encode, html_decode, hex_encode, hex_decode, binary_encode, binary_decode, detect

generate_id

Generate unique identifiers: UUID v4, nanoid, ULID, CUID, or random strings with configurable length and charset.

Types: uuid, nanoid, ulid, cuid, random

password

Generate secure passwords with configurable character sets, length, and count. Check password strength with entropy calculation and crack time estimation.

Actions: generate, check_strength

jwt

Decode JWT tokens to inspect header and payload, check expiry status, or create unsigned JWTs for testing.

Actions: decode, check_expiry, create_unsigned

Setup

npm install
npm run build

MCP Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "crypto-tools": {
      "command": "node",
      "args": ["D:/products/mcp-servers/mcp-crypto-tools/dist/index.js"]
    }
  }
}

Dependencies

  • @modelcontextprotocol/sdk - MCP server framework
  • Node.js built-in crypto module - all cryptographic operations

No external crypto libraries required.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.