Tiny Cryptography

v1.0.0Securitystable

A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.

tiny-cryptography-mcp-servermcpai-integration
Share:
212
Stars
0
Downloads
0
Weekly
0/5

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

Generate cryptographic key pairs and shared secrets.
Encrypt and decrypt messages with key derivation.
Provide lightweight cryptographic tools for agents.
antonpk1

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx tiny-cryptography-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-server
2

Install dependencies

Install the Node.js dependencies including Express.js and the Stanford Javascript Crypto Library (SJCL).

npm install
3

Start 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 dev
4

Build and run for production

Compile the TypeScript and start the production server.

npm run build
npm start
5

Add 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.6k

An 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.0k

An 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.9k

HexStrike 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.7k

Enables 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.6k

754 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.

Quick Config Preview

{ "mcpServers": { "tiny-cryptography-mcp-server": { "command": "npx", "args": ["-y", "tiny-cryptography-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides