HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

JWT toolkit

Decode and verify a JWT in one pass — see the payload and check the signature.

When to use this pack

An agent debugging authentication needs to both decode a JWT (see claims, expiry, issuer) and verify the signature. Two operations that always go together, bundled into one payment.

Tools in this pack

Workflow

  1. Call jwt-decode to extract the header (algorithm, type) and payload (claims, expiry) without verification.
  2. Call jwt-verify with the token and secret='test' to check whether the signature is valid.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Analyze this JWT using Agent402's jwt-toolkit skill pack: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0In0.xxx. (1) Decode it to see the claims, (2) verify the signature with secret='test'. Report the payload and verification result.

← All skill packs