Jwt Forge Mcp

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

Decode and inspect JWT tokens — header, payload, expiry check

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

概览

AI 生成的概览

一个本地 MCP 服务器,让助手解码 JWT 令牌、查看其头部、载荷与过期时间,并检查令牌格式。

可以做什么
解码 JWT 并返回头部、载荷和签名,供助手查看,包括描述与 README 示例中提到的过期检查。
适用场景
适合在调试认证或 API 问题时,让助手读取令牌的头部与声明,或确认令牌格式是否合法,无需离开 IDE。
运行要求
以 stdio 方式在本地运行,通常通过 npm 包 jwt-forge-mcp 用 npx 启动;需要 Node.js,首次拉取包时需要网络。未声明任何账号、API 密钥或环境变量。
安装前请注意
令牌在本地解码,但 JWT 本身是持有者凭证:把有效令牌粘贴到对话中会将其暴露给助手及其模型提供方。建议只使用测试或已过期的令牌,并注意 README 示例中的工具名与列出的工具名不一致。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

jwt-forge-mcp

[npm version] [npm downloads] [License: MIT] [MCP]

Decode and inspect JWTs right in your IDE.

Decode any JWT token, inspect headers and claims, check expiration.

Quick Start

bash
npx jwt-forge-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

json
{  "mcpServers": {    "jwt": {      "command": "npx",      "args": ["-y", "jwt-forge-mcp"]    }  }}

Tools (2)

ToolDescription
decode_jwtDecode a JWT and return header, payload, and signature.
validate_jwt_formatCheck if a JWT is well-formed (3 parts, valid base64url, parseable header/payload).

Examples

Decode JWT:

json
{  "tool": "jwt_decode",  "arguments": {"token": "eyJhbGciOiJIUzI1NiJ9..."}}

Build from Source

bash
git clone https://github.com/ryudi84/sovereign-mcp-serverscd sovereign-mcp-servers/jwt-forgenpm install && npm run buildnpm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

来源:jwt-forge/README.md,提交 da6bbcc

工具

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

版本历史

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

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

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