An MCP-compatible agent tool that decodes and inspects JSON Web Tokens (JWT) headers and payload claims without verifying cryptographic signatures.
token(string, required): The raw JWT token string (header.payload.signature).
Returns JSON containing:
header: Parsed JWT header (e.g. algorithm, token type).payload: Decoded claims dictionary (e.g.sub,iss,aud,exp).is_expired: Boolean indicating if theexptimestamp has passed.expires_in_seconds: Remaining lifespan in seconds (or negative if expired).