Complete crypto ecosystem integration
## Armor Crypto MCP Server: Cryptographic Operations The **Armor Crypto MCP Server** provides cryptographic primitives and operations for Google Antigravity, enabling developers to perform encryption, signing, hashing, and key management for secure applications. ### Why Armor Crypto MCP? - **Encryption** - AES, RSA, and modern ciphers - **Signing** - ECDSA, Ed25519, and more - **Hashing** - SHA-256, Keccak, Blake2 - **Key management** - Generate and manage keys - **Encoding** - Base64, hex, and more ### Key Features #### 1. Encryption/Decryption ```python # Generate encryption key key = await mcp.call("armor", "generate_key", { "algorithm": "aes-256-gcm" }) # Encrypt data encrypted = await mcp.call("armor", "encrypt", { "algorithm": "aes-256-gcm", "key": key, "plaintext": "secret message" }) print(f"Ciphertext: {encrypted[\"ciphertext\"]}") # Decrypt data decrypted = await mcp.call("armor", "decrypt", { "algorithm": "aes-256-gcm", "key": key, "ciphertext": encrypted["ciphertext"], "nonce": encrypted["nonce"] }) ``` #### 2. Digital Signatures ```python # Generate key pair keypair = await mcp.call("armor", "generate_keypair", { "algorithm": "ed25519" }) # Sign message signature = await mcp.call("armor", "sign", { "algorithm": "ed25519", "private_key": keypair["private_key"], "message": "data to sign" }) # Verify signature valid = await mcp.call("armor", "verify", { "algorithm": "ed25519", "public_key": keypair["public_key"], "message": "data to sign", "signature": signature }) ``` #### 3. Hashing ```python # Hash data hash_result = await mcp.call("armor", "hash", { "algorithm": "sha256", "data": "data to hash" }) print(f"Hash: {hash_result}") # Keccak for Ethereum keccak = await mcp.call("armor", "hash", { "algorithm": "keccak256", "data": "0x..." }) ``` #### 4. Key Derivation ```python # Derive key from password derived = await mcp.call("armor", "derive_key", { "algorithm": "argon2id", "password": "user_password", "salt": "random_salt", "key_length": 32 }) # BIP-39 mnemonic mnemonic = await mcp.call("armor", "generate_mnemonic", { "words": 24 }) ``` ### Configuration ```json { "mcpServers": { "armor": { "command": "npx", "args": ["-y", "@anthropic/mcp-armor-crypto"] } } } ``` ### Use Cases **Data Encryption**: Protect sensitive data. **Digital Signatures**: Sign and verify messages. **Password Hashing**: Secure password storage. **Blockchain Keys**: Generate wallet keys. The Armor Crypto MCP Server enables secure cryptographic operations.
{
"mcpServers": {
"armor-crypto": {
"mcpServers": {
"armor-crypto": {
"env": {
"WALLET_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
},
"args": [
"-y",
"@armorwallet/armor-crypto-mcp"
],
"command": "npx"
}
}
}
}
}