Tiny Cryptography
A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.
What is Tiny Cryptography?
Tiny Cryptography is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server built with express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.
A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.
This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol server built with Express.js that p
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx tiny-cryptography-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Tiny Cryptography
Tiny Cryptography MCP Server is a lightweight Express.js-based MCP server that exposes four elliptic-curve cryptographic operations to AI agents: key pair generation using SJCL P-256, shared secret derivation via ECDH, and message encryption and decryption with AES-CCM authenticated encryption. It is designed for scenarios where agents or bots need to establish secure end-to-end encrypted communication channels by exchanging public keys, deriving a shared secret, and then encrypting messages — all without exposing private keys.
Prerequisites
- Node.js 16 or later
- npm
- An MCP-compatible client such as Claude Desktop or Cursor
- Git for cloning the repository
Clone the repository
Clone the gibber-mcp repository from GitHub, which contains the tiny-cryptography-mcp-server implementation.
git clone https://github.com/antonpk1/gibber-mcp.git
cd gibber-mcp/mcp-serverInstall dependencies
Install the Node.js dependencies including Express.js and the Stanford Javascript Crypto Library (SJCL).
npm installStart the server for development
Run the development server. By default it listens on port 3006. Set the PORT environment variable to use a different port.
npm run dev
# Or with a custom port
PORT=4000 npm run devBuild and run for production
Compile the TypeScript and start the production server.
npm run build
npm startAdd to your Claude Desktop configuration
Register the server in your Claude Desktop config. The server uses HTTP transport, so connect via the URL or configure as a local process.
{
"mcpServers": {
"tiny-cryptography": {
"command": "node",
"args": ["/path/to/gibber-mcp/mcp-server/dist/index.js"],
"env": {
"PORT": "3006"
}
}
}
}Tiny Cryptography Examples
Client configuration
Configure Claude Desktop to run the Tiny Cryptography MCP server as a local Node.js process.
{
"mcpServers": {
"tiny-cryptography": {
"command": "node",
"args": ["/path/to/gibber-mcp/mcp-server/dist/index.js"],
"env": {
"PORT": "3006"
}
}
}
}Prompts to try
Example prompts for establishing encrypted communication and using the cryptographic tools.
- "Generate a P-256 key pair for me and return the public key."
- "Derive a shared secret using my private key and this public key: [paste public key here]."
- "Encrypt the message 'Hello, world!' using the shared secret we derived."
- "Decrypt this AES-CCM encrypted message: [paste ciphertext here]."
- "Help me establish an encrypted channel between two agents by exchanging public keys and deriving a shared secret."Troubleshooting Tiny Cryptography
Server fails to start with 'port already in use' error
Set the PORT environment variable to a different value, e.g. PORT=4000 npm start, or stop the process currently using port 3006.
Decryption fails with an authentication error
AES-CCM is authenticated encryption — decryption will fail if the ciphertext was tampered with or if the wrong shared secret is used. Ensure both sides derived the shared secret from the same public/private key pair using deriveSharedSecret before encrypting/decrypting.
npm run build fails with TypeScript errors
Ensure you are running Node.js 16 or later and that npm install completed without errors. Delete node_modules and package-lock.json, then run npm install again.
Frequently Asked Questions about Tiny Cryptography
What is Tiny Cryptography?
Tiny Cryptography is a Model Context Protocol (MCP) server that model context protocol server built with express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Tiny Cryptography?
Follow the installation instructions on the Tiny Cryptography GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Tiny Cryptography?
Tiny Cryptography works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Tiny Cryptography free to use?
Yes, Tiny Cryptography is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Tiny Cryptography Alternatives — Similar Security Servers
Looking for alternatives to Tiny Cryptography? Here are other popular security servers you can use with Claude, Cursor, and VS Code.
Casdoor
★ 13.6kAn open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
ghidraMCP
★ 9.0kAn Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through
HexStrike AI
★ 8.9kHexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b
IDA Pro MCP
★ 8.7kEnables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.
Anthropic Cybersecurity Skills
★ 6.6k754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform
Hooker
★ 5.1k🔥🔥 hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u
Browse More Security MCP Servers
Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Tiny Cryptography in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Tiny Cryptography?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.