Pgp Encryption Tool

Security REST API MCP

Encrypt or decrypt a short message with RSA-OAEP (SHA-256) PEM keys, or generate a new RSA key pair. Returns the armoured ciphertext block, the decrypted plaintext, or the PEM public/private key pair. Note: this uses plain RSA-OAEP with SPKI/PKCS#8 PEM keys, not the OpenPGP message format. Messages are limited to the RSA block size (190 bytes for 2048-bit keys).

This page documents the HTTP endpoint POST /api/tools/pgp-encryption-tool/execute. See the MCP reference →

Call it over REST

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

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/pgp-encryption-tool/execute \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "generate"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/pgp-encryption-tool

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
mode string (encrypt | decrypt | generate) yes Operation: encrypt, decrypt, or generate.
text string no encrypt: the plaintext message. decrypt: the "-----BEGIN ENCRYPTED MESSAGE-----" block (or raw base64).
public_key string no encrypt: the recipient PEM public key (SPKI, "-----BEGIN PUBLIC KEY-----").
private_key string no decrypt: the PEM private key (PKCS#8, "-----BEGIN PRIVATE KEY-----").
modulus_length integer (2048 | 3072 | 4096) no generate: RSA key size in bits. Default: 2048. Default: 2048.

Example arguments (verified)

{
  "mode": "generate"
}

Also an MCP tool

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

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Pgp Encryption Tool →

More Security tools