Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Cryptography

FreeNot checked

Python cryptography library tools for encryption, hashing, and digital signatures.

GitHubEmbed

About

Python cryptography library tools for encryption, hashing, and digital signatures.

README

MCP server exposing cryptography library functionality.

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-cryptography

Install

pip install mcp-cryptography

Usage

from mcp_cryptography import mcp

# Run the MCP server
if __name__ == "__main__":
    mcp.run()

Available Tools

The server provides the following cryptographic tools:

Key Generation

  • generate_symmetric_key - Generate a Fernet symmetric key
  • generate_rsa_key - Generate an RSA key pair
  • generate_x25519_key - Generate an X25519 key pair

Symmetric Encryption

  • fernet_encrypt / fernet_decrypt - Fernet encryption
  • aes_encrypt / aes_decrypt - AES encryption (CBC/GCM modes)

Asymmetric Encryption

  • rsa_encrypt / rsa_decrypt - RSA OAEP encryption
  • rsa_sign / rsa_verify - RSA digital signatures

Hashing

  • hash_sha256 - SHA-256 hash
  • hash_sha512 - SHA-512 hash
  • hash_sha1 - SHA-1 hash

HMAC

  • hmac_sign - Generate HMAC
  • hmac_verify - Verify HMAC

Key Derivation

  • pbkdf2_derive - PBKDF2 key derivation
  • scrypt_derive - Scrypt key derivation

X.509 Certificates

  • generate_self_signed_cert - Generate self-signed certificate
  • parse_certificate - Parse X.509 certificate

Utilities

  • generate_random_bytes - Generate random bytes
  • generate_random_base64 - Generate random base64 bytes

Development

git clone https://github.com/daedalus/mcp-cryptography.git
cd mcp-cryptography
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mcp_cryptography src/

from github.com/daedalus/mcp-cryptography

Installing Cryptography

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/daedalus/mcp-cryptography

FAQ

Is Cryptography MCP free?

Yes, Cryptography MCP is free — one-click install via Unyly at no cost.

Does Cryptography need an API key?

No, Cryptography runs without API keys or environment variables.

Is Cryptography hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Cryptography in Claude Desktop, Claude Code or Cursor?

Open Cryptography on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Cryptography with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs