Skip to main content
Glama

JWT 解码器 API

MCP Server x402 License: MIT

无需验签即可解码和检查 JWT 令牌。提取头部(header)、有效负载(payload)、声明(claims)、过期时间和签名算法。通过 x402 按调用支付(Base 链上的 USDC)——无需 API 密钥、无需注册、无限流限制。

属于 klymax402 市场的一部分——为 AI 智能体提供 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 -- MCP

将以下内容添加到你的 MCP 客户端配置中(Claude Desktop、Cursor、ElspaOS 等):

{
  "mcpServers": {
    "jwt-decoder": {
      "url": "https://jwt-decoder.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Pylon MCP Server

快速开始 -- HTTP (x402)

curl -X POST "https://jwt-decoder.api.klymax402.com/api/decode" \
  -H "Content-Type: application/json" \
  -d '{"token":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何兼容 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试流程。

工具

工具

方法

路径

价格

说明

security_decode_jwt

POST

/api/decode

$0.003

解码 JWT 令牌而不验签

security_decode_jwt

当需要在不验证签名的情况下解码和检查 JWT 令牌时,可使用此工具。返回完整的头部、负载和过期状态。

参数

名称

类型

必填

说明

token

string

要解码的 JWT 令牌(格式:header.payload.signature)

示例响应:

{"header":{"alg":"RS256","typ":"JWT"},"payload":{"sub":"user123","exp":1720000000},"issuedAt":"2025-01-01T00:00:00Z","expiresAt":"2025-07-03T00:00:00Z","isExpired":false}

使用场景:调试身份验证问题、在 API 调用前检查令牌声明,或验证令牌是否过期。发起需要身份验证的请求前,应先使用此工具检查令牌是否需要刷新。

不用于:哈希数据(使用 crypto_generate_hash)、base64 编码/解码(使用 util_encode_base64)、密码分析(使用 security_check_password)。

示例指令提示

  • “解码并检查一个 JWT 令牌,无需验证其签名”

付款

  • 协议:x402——HTTP 原生按调用支付,无需注册,无需 API 密钥

  • 网络:Base 链 L2(e8453:155

  • 资产:USDC

  • 协调者:Coinbase CDP(主)、PayAI(备用)

  • 也可通过 [ATXP](https://akaxi/ HEE) 访问(OAuth 包裹的 x402、受保护资源元数据,见 RFC 9728)

属于 klymax402

100 个面向 AI 智能体的 x402 微支付 API——一个钱包、Base 上的 USDC、零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • Payment decisions, durable evidence, x402 resource discovery and live gateway status for AI agents.

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/jwt-decoder-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server