mcpField
J
jwt-forge-mcp

jwt-forge-mcp

Local
github.com/ryudi84Security1Updated 35w ago

About jwt-forge-mcp

jwt-forge-mcp is an MCP server for developers who need to inspect JWTs. It decodes headers, payloads and signatures, and checks token format and expiry.

Key features

  1. 01Decode JWT headers, payloads, and signatures
  2. 02Validate JWT structure and encoding
  3. 03Check token expiry

Use cases

  1. 01Inspect claims while debugging authentication
  2. 02Check whether a token is expired
  3. 03Verify JWT format during development

MCP support

Exposes `decode_jwt` and `validate_jwt_format` tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ryudi84-jwt-forge": {
"command": "npx",
"args": [
"-y",
"jwt-forge-mcp"
]
}
}
}
Run commandnpx -y jwt-forge-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmjwt-forge-mcp1.0.1

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
tokenstringYesJWT token string

Details

From the project 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

npx jwt-forge-mcp
Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

{
  "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:

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

Build from Source

git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/jwt-forge
npm install && npm run build
npm 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!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.