@erickwendel/ciphersuite-mcp
An MCP server that provides AES-256-CBC encryption and decryption tools, resources, and prompts for use in VS Code Copilot Chat.
README
@erickwendel/ciphersuite-mcp
An MCP (Model Context Protocol) server that provides AES-256-CBC encryption and decryption tools, a resource describing the algorithm, and ready-to-use prompts — all runnable directly inside VS Code Copilot Chat.
What it does
| Capability | Name | Description |
|---|---|---|
| 🔧 Tool | encrypt_message |
Encrypts any plain-text message with a passphrase |
| 🔧 Tool | decrypt_message |
Decrypts a previously encrypted message with the same passphrase |
| 📄 Resource | encryption://info |
Returns details about the algorithm, key derivation, and output format |
| 💬 Prompt | encrypt_message_prompt |
Pre-built prompt that asks the agent to encrypt a message |
| 💬 Prompt | decrypt_message_prompt |
Pre-built prompt that asks the agent to decrypt a message |
How encryption works
- Algorithm: AES-256-CBC
- Key derivation:
scrypt(passphrase, fixedSalt, 32)— you pass any passphrase string; the server derives a strong 32-byte key automatically - Output format:
<IV in hex>:<ciphertext in hex>— keep the full string to decrypt later - IV: a fresh random 16-byte IV is generated on every encryption call, so the same message encrypted twice produces different output
Prerequisites
- Node.js v24+ (see
enginesinpackage.json)
Installation
npm install
No build step is needed — the server runs TypeScript directly via Node.js native TypeScript support.
Using in VS Code
1. Add the MCP server configuration
Create (or open) .vscode/mcp.json in your workspace and add:
{
"servers": {
"ciphersuite-mcp": {
"command": "node",
"args": ["--experimental-strip-types", "ABSOLUTE_PATH_TO_PROJECT/src/index.ts"]
}
}
}
or via npm
{
"servers": {
"ciphersuite-mcp": {
"command": "npx",
"args": ["-y", "@erickwendel/ciphersuite-mcp"]
}
}
}
Tip: You can also add this server to your user-level MCP config at
~/.vscode/mcp.jsonto make it available in every workspace.
2. Reload VS Code
Open the Command Palette (Cmd+Shift+P) and run Developer: Reload Window (or just restart VS Code).
3. Use it in Copilot Chat
Open Copilot Chat (Agent mode) and try:
Encrypt the message "Hello, World!" using the passphrase "my-secret-key"
Decrypt this message: a3f1...:<ciphertext> using the passphrase "my-secret-key"
Show me the encryption://info resource
The agent will automatically call the appropriate tool and return the result.
Running the MCP Inspector
The MCP Inspector lets you explore and test all tools, resources, and prompts interactively in a browser UI:
npm run mcp:inspect
This opens the inspector at http://localhost:5173 and connects it to the running server.
Running tests
# Run all tests once
npm test
# Run tests in watch mode (with debugger)
npm run test:dev
The test suite covers:
- Encrypting a message
- Decrypting a message with the correct passphrase
- Listing and reading the
encryption://inforesource - Fetching both prompts
- Error: decrypting with the wrong passphrase
- Error: decrypting a malformed ciphertext
Project structure
src/
index.ts # Entry point — connects the server to stdio transport
mcp.ts # All tools, resources, and prompts are registered here
tests/
mcp.test.ts
Available scripts
| Script | Description |
|---|---|
npm start |
Start the server (used by MCP clients) |
npm run dev |
Start with file-watch and Node.js inspector |
npm test |
Run all tests |
npm run test:dev |
Run tests in watch mode |
npm run mcp:inspect |
Open the MCP Inspector UI |
| #� �s�e�r�v�e�r�M�C�P� | |
| � | |
| � |
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.