Skip to main content
Glama
mcp-crypto-tools

mcp-crypto-tools

by rog0x

mcp-crypto-tools

AIエージェント向けの暗号化およびエンコーディングツールで、Model Context Protocol (MCP) 経由で提供されます。

ツール

hash

MD5、SHA-1、SHA-256、SHA-512、またはHMACを使用してテキストをハッシュ化します。2つのハッシュ値を比較します。すべてのアルゴリズムを一度に計算します。

アクション: hash, hmac, compare, hash_all

encode_decode

Base64、URLエンコード、HTMLエンティティ、16進数、または2進数を使用してテキストをエンコードおよびデコードします。エンコード形式を自動検出します。

アクション: base64_encode, base64_decode, url_encode, url_decode, html_encode, html_decode, hex_encode, hex_decode, binary_encode, binary_decode, detect

generate_id

UUID v4、nanoid、ULID、CUID、または長さと文字セットを設定可能なランダム文字列から、一意の識別子を生成します。

タイプ: uuid, nanoid, ulid, cuid, random

password

文字セット、長さ、および数を設定可能な安全なパスワードを生成します。エントロピー計算とクラック時間の推定により、パスワードの強度を確認します。

アクション: generate, check_strength

jwt

JWTトークンをデコードしてヘッダーとペイロードを検査し、有効期限の状態を確認し、またはテスト用の未署名JWTを作成します。

アクション: decode, check_expiry, create_unsigned

Related MCP server: io.github.daedalus/mcp-cryptography

セットアップ

npm install
npm run build

MCP設定

MCPクライアント設定に以下を追加してください:

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

依存関係

  • @modelcontextprotocol/sdk - MCPサーバーフレームワーク

  • Node.js 組み込みの crypto モジュール - すべての暗号化操作

外部の暗号ライブラリは不要です。

ライセンス

MIT

Available Tools

5 tools
encode_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

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency3/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI clients to use developer utilities like JSON formatting, JWT decoding, UUID generation, and more via MCP.
      12
      294 npm
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Exposes various cryptographic operations including key generation, symmetric/asymmetric encryption, hashing, and HMAC. Supports Fernet, AES, RSA, X.25519, and X.509 certificates.
      22
      24 PyPI
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides 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.
      20
      82 npm
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables 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