Razi Dev Utilities

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

Developer utilities over MCP: Base64 encode and decode, decode JWTs, format JSON, do percentages.

已验证Streamable HTTP可网页运行开发者工具

概览

AI 生成的概览

远程 MCP 端点,提供 Base64 编解码、JWT 解码、JSON 格式化和百分比计算等小型开发工具。

可以做什么
  • 把 UTF-8 文本编码为标准 Base64,并把 Base64 严格校验后解码回文本
  • 解码 JWT 的头部与载荷以供查看,并返回过期信息
  • 校验 JSON 并重新输出为缩进或压缩后的字符串
  • 对两个数字执行四种百分比计算,采用精确算术
适用场景
适合需要快速、确定性转换或检查的场景:查看令牌中的声明、把文本安全地放进 JSON 或请求头、整理 JSON,或做百分比计算,而无需在本地运行代码。
运行要求
远程 streamable HTTP 端点,无需本地运行时或安装包。可选的 Authorization 请求头(形式为 'Bearer rz_...')可提高速率限制并归属用量。
安装前请注意
可选的 Authorization 请求头携带密钥令牌。JWT 签名从不校验,解码出的声明不应视为可信。Base64 输出并非 URL 安全,用于查询字符串前需转义。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.razikallayi%2Frazi-dev/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "razi-dev-utilities": {
      "type": "http",
      "url": "https://www.razi.pro/api/mcp/dev"
    }
  }
}

README

该仓库没有 README。

工具

5

encode_base64

Encode UTF-8 text as standard Base64 (padded, A-Z a-z 0-9 + /), for embedding binary-unsafe content in JSON, data URIs, HTTP headers or Basic auth. Returns JSON { encoded }. The output uses the standard alphabet, so it is NOT URL-safe: '+' and '/' must still be percent-escaped before they go in a query string or path segment, and this tool does not do that. It is an encoding, not encryption — anyone can reverse it with decode_base64. Runs locally, no size limit beyond the request body.

输入参数text必填

decode_base64

Decode a Base64 string back to UTF-8 text. Returns JSON { decoded }. Input is verified by re-encoding, so anything that is not genuine Base64 is rejected with an error instead of returning plausible garbage; binary payloads that are not valid UTF-8 will also fail. It handles Base64 and nothing else: a string of %20-style percent escapes is not Base64 and will be rejected rather than unescaped. For a JWT use decode_jwt, which splits the three segments and handles their base64url padding for you.

输入参数encoded必填

decode_jwt

Decode a JWT's header and payload for inspection. Returns JSON { header, payload, signatureVerified, note, expiresAt, isExpired } — structured objects, not a rendered table. The signature is NEVER verified: that needs the issuer's key, which this service does not have, so signatureVerified is always false and the claims must be treated as untrusted, attacker-controllable input. Expiry is computed from the `exp` claim and is null when the token has none. Use decode_base64 for a bare Base64 string; this tool additionally splits the three segments and handles base64url padding.

输入参数token必填

format_json

Validate and re-print a JSON string. Returns JSON { valid, formatted, minified } — the indented form and the whitespace-free form as plain strings, with no syntax highlighting or colour. Invalid JSON is rejected with the parser's own error message rather than returned as valid:false, so a successful call is proof the input parses. Round-tripping through the parser normalises the document: key order is kept but comments, trailing commas and duplicate keys are lost, and large integers lose precision.

输入参数json必填indent

calculate_percentage

Run one of four percentage calculations on two numbers. Returns JSON { operation, result } (plus unit: 'percent' for the 'change' operation). The meaning of value1 and value2 depends on the operation, so read their descriptions before calling. Exact arithmetic, no model involved, no rounding applied. Ratios and general expressions are not supported.

输入参数value1必填value2必填operation必填

版本历史

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

评分

已满足适用检查项的 75%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。