Security
Generate JSON Web Keys (JWK) for RSA, EC (P-256/P-384/P-521/secp256k1), and OKP (Ed25519/Ed448/X25519/X448), or parse an existing JWK to inspect its parameters, thumbprint, and metadata
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/jwk-generator' \
-H 'Content-Type: application/json' \
-d '{"mode":"generate","keyType":"rsa","keySize":"2048","curve":"P-256","keyId":"optional, e.g. my-key-2026","publicOnly":false,"jwkInput":"{\"kty\":\"RSA\",\"n\":\"...\",\"e\":\"AQAB\"}"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/jwk-generator| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | No | — |
| keyType | select | No | — |
| keySize | select | No | — |
| curve | select | No | — |
| keyId | text | No | — |
| publicOnly | checkbox |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-jwk-generator": {
"name": "jwk-generator",
"description": "Generate JSON Web Keys (JWK) for RSA, EC (P-256/P-384/P-521/secp256k1), and OKP (Ed25519/Ed448/X25519/X448), or parse an existing JWK to inspect its parameters, thumbprint, and metadata",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=jwk-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "jwk-generator",
"arguments": {
"mode": "generate",
"keyType": "rsa",
"keySize": "2048",
"curve": "P-256",
"keyId": "optional, e.g. my-key-2026",
"publicOnly": false,
"jwkInput": "{\"kty\":\"RSA\",\"n\":\"...\",\"e\":\"AQAB\"}"
}
}
}Questions or issues? Contact [email protected]
| No |
| — |
| jwkInput | textarea | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}