Summary
Create a new MCP tool that enables the generation of JWT tokens. This tool should leverage the Dev Proxy jwt create command (see docs) to generate tokens and return them to the LLM client.
Details
- The tool should accept parameters required by the
jwt create command (issuer, subject, audience, claims, etc.).
- It should execute the Dev Proxy
jwt create command with the provided parameters.
- The generated JWT token should be returned as the response.
- Include error handling for invalid parameters or command execution failures.
Motivation
This capability will streamline workflows by allowing LLM-powered automations and scripts to dynamically generate JWT tokens as needed, supporting authentication and testing scenarios.
Reference