Crypto

io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.2更新于 Oct 24, 2026

Hash, encode, UUID, password analysis for AI agents

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地 MCP 服务器,为 AI 助手提供哈希、编码、ID 生成、密码分析和 JWT 检查工具。

可以做什么
使用 MD5、SHA-1、SHA-256、SHA-512 或 HMAC 对文本做哈希,比较两个哈希值,并一次性计算所有算法。对 Base64、URL、HTML 实体、十六进制和二进制进行编码与解码,并自动识别格式。生成 UUID v4、nanoid、ULID、CUID 或可配置长度与字符集的随机字符串。生成密码,并通过熵和破解时间估算检查强度。解码 JWT 的头部与载荷、检查过期状态,并创建未签名的 JWT 用于测试。
适用场景
适合助手需要计算校验和或 HMAC、转换编码文本、生成标识符、评估密码强度,或在开发和调试中检查 JWT 的场景。
运行要求
作为本地 Node.js 进程运行,从 npm 包 @rog0x/mcp-crypto-tools 安装;README 说明需先构建,并在 MCP 客户端中指向构建后的入口文件。未声明需要账号、API 密钥或环境变量。
安装前请注意
哈希、编码、密码生成和 JWT 解码都会处理敏感输入,传给工具的内容会进入本地进程。JWT 工具可创建未签名令牌,不可当作真实凭证使用。密码强度检查只是破解时间估算,并非安全保证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Crypto,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

bash
npm installnpm run build

MCP Configuration

Add to your MCP client configuration:

json
{  "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

来源:README.md,提交 f433a5e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分