Jwt Generator

Security REST API MCP

Generate a signed JWT (HS256, HS384, or HS512 via HMAC) and return the token plus the decoded header and payload. The payload contains sub, name, iat, exp, and any custom claims. Asymmetric algorithms (RS*/ES*) are not supported.

This page documents the HTTP endpoint POST /api/tools/jwt-generator/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/jwt-generator/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/jwt-generator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "secret": "my-secret",
    "subject": "u1",
    "name": "Ann",
    "expires_in": 3600
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/jwt-generator

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
secret string yes The HMAC secret used to sign the token.
algorithm string (HS256 | HS384 | HS512) no Signing algorithm. Default: HS256. Default: "HS256".
subject string no The "sub" claim. Default: "1234567890". Default: "1234567890".
name string no The "name" claim. Default: "John Doe". Default: "John Doe".
expires_in integer no Seconds until expiry; exp = iat + expires_in. Default: 3600. Default: 3600.
custom_claims object no Extra claims merged into the payload. An object, or a JSON object string.
issued_at integer no Unix timestamp (seconds) for the "iat" claim. Default: now.

Example arguments (verified)

{
  "secret": "my-secret",
  "subject": "u1",
  "name": "Ann",
  "expires_in": 3600
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:jwt_generator after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Jwt Generator →

More Security tools