MCP server exposing cryptography library functionality
MCP server exposing cryptography library functionality.
mcp-name: io.github.daedalus/mcp-cryptography
pip install mcp-cryptography
from mcp_cryptography import mcp
# Run the MCP server
if __name__ == "__main__":
mcp.run()
The server provides the following cryptographic tools:
generate_symmetric_key - Generate a Fernet symmetric keygenerate_rsa_key - Generate an RSA key pairgenerate_x25519_key - Generate an X25519 key pairfernet_encrypt / fernet_decrypt - Fernet encryptionaes_encrypt / aes_decrypt - AES encryption (CBC/GCM modes)rsa_encrypt / rsa_decrypt - RSA OAEP encryptionrsa_sign / rsa_verify - RSA digital signatureshash_sha256 - SHA-256 hashhash_sha512 - SHA-512 hashhash_sha1 - SHA-1 hashhmac_sign - Generate HMAChmac_verify - Verify HMACpbkdf2_derive - PBKDF2 key derivationscrypt_derive - Scrypt key derivationgenerate_self_signed_cert - Generate self-signed certificateparse_certificate - Parse X.509 certificategenerate_random_bytes - Generate random bytesgenerate_random_base64 - Generate random base64 bytesgit 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/
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcp-cryptographyMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-daedalus-mcp-cryptography": {
"command": "uvx",
"args": [
"mcp-cryptography"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-cryptographypypiio.github.daedalus/mcp-cryptography works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.