MCP server exposing cryptography library functionality
Project description
mcp-cryptography
MCP server exposing cryptography library functionality.
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 keygenerate_rsa_key- Generate an RSA key pairgenerate_x25519_key- Generate an X25519 key pair
Symmetric Encryption
fernet_encrypt/fernet_decrypt- Fernet encryptionaes_encrypt/aes_decrypt- AES encryption (CBC/GCM modes)
Asymmetric Encryption
rsa_encrypt/rsa_decrypt- RSA OAEP encryptionrsa_sign/rsa_verify- RSA digital signatures
Hashing
hash_sha256- SHA-256 hashhash_sha512- SHA-512 hashhash_sha1- SHA-1 hash
HMAC
hmac_sign- Generate HMAChmac_verify- Verify HMAC
Key Derivation
pbkdf2_derive- PBKDF2 key derivationscrypt_derive- Scrypt key derivation
X.509 Certificates
generate_self_signed_cert- Generate self-signed certificateparse_certificate- Parse X.509 certificate
Utilities
generate_random_bytes- Generate random bytesgenerate_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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_cryptography-0.1.0.tar.gz.
File metadata
- Download URL: mcp_cryptography-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15dd58425ae96890653811df2d92b657bb888280a4c3c4213945f0915d26036b
|
|
| MD5 |
0fb99dfd19fba2f85c0649455e66d9be
|
|
| BLAKE2b-256 |
d5962a347e2d89a2175b5d94294af69c2115f15b787834a9e9cdffc84c2e54a3
|
Provenance
The following attestation bundles were made for mcp_cryptography-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-cryptography
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_cryptography-0.1.0.tar.gz -
Subject digest:
15dd58425ae96890653811df2d92b657bb888280a4c3c4213945f0915d26036b - Sigstore transparency entry: 1206817432
- Sigstore integration time:
-
Permalink:
daedalus/mcp-cryptography@10e4892097205f72b945a430030ba99b2c2c63f9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@10e4892097205f72b945a430030ba99b2c2c63f9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_cryptography-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_cryptography-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
965e5fdbf84494a9024019f8158108c0966d8e76d55faa626b3dfe845729a454
|
|
| MD5 |
0ad163f0a563e701023021884b4614fd
|
|
| BLAKE2b-256 |
1cc1a15247c4bb23ff81af54c51e0d0adece1c6c827fe66530fa16b9731fb024
|
Provenance
The following attestation bundles were made for mcp_cryptography-0.1.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-cryptography
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_cryptography-0.1.0-py3-none-any.whl -
Subject digest:
965e5fdbf84494a9024019f8158108c0966d8e76d55faa626b3dfe845729a454 - Sigstore transparency entry: 1206817501
- Sigstore integration time:
-
Permalink:
daedalus/mcp-cryptography@10e4892097205f72b945a430030ba99b2c2c63f9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@10e4892097205f72b945a430030ba99b2c2c63f9 -
Trigger Event:
release
-
Statement type: