Anonsec
FreeNot checkedπ₯· The AnonSec MCP Server enables anonymous email management via Firefox Relay with defense-in-depth PQC for data at rest.
About
π₯· The AnonSec MCP Server enables anonymous email management via Firefox Relay with defense-in-depth PQC for data at rest.
README
Firefox Relay MCP Server - Anonymous Email Management
Production-Ready MCP Server for Firefox Relay Anonymous Email Operations
License: MIT Node.js TypeScript MCP
// crafted for the security community β funding keeps it maintained
GitHub Sponsors Open Collective Ko-fi Buy Me a Coffee thanks.dev
Overview
Firefox Relay MCP Server (anonsec-mcp-server) is a production-grade Model Context Protocol server that provides comprehensive anonymous email management capabilities through Firefox Relay addresses. Built with privacy, security, and operational excellence as core principles, this server enables AI agents and applications to send, receive, and process emails while maintaining complete anonymity.
Core Value Proposition
- Privacy-First: All email operations maintain sender anonymity through Firefox Relay infrastructure
- PQC-Ready: Post-Quantum Cryptography ready encryption architecture for data at rest
- Production-Grade: Built with golden-standard programming practices for reliability and security
- MCP Native: Full Model Context Protocol 2.0 compliance with tools and resources
Quick Start
Prerequisites
- Node.js >= 18.0.0
- npm or yarn
- Firefox Relay account and API access
Installation
# Clone the repository
git clone https://github.com/VRIL-LABS/anonsec-mcp-server.git
cd anonsec-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm run dev
Configuration
Create a .env file with your Firefox Relay credentials:
FIREFOX_RELAY_API_KEY=your_api_key_here
ENCRYPTION_KEY=your_32_byte_hex_key_here
DATABASE_PATH=./data/anonsec.sqlite
PORT=3000
The encryption key must be exactly 32 bytes (64 hex characters). Generate one with:
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Capabilities
Email Management
- List new/unread emails from Firefox Relay addresses
- Read full email content with decryption
- Retrieve all emails with filtering
- Get latest email from any relay address
OTP Handling
- Extract OTP codes from emails
- Validate OTP format and confidence
- Check OTP expiration
- Re-extract OTP from email body
Email Sending
- Send anonymous emails through relay addresses
- Support for plain text and HTML content
- Custom headers and metadata
- OTP email simulation
Project Structure
.
βββ src/
β βββ index.ts # Server entry point and configuration
β βββ api/
β β βββ index.ts # Firefox Relay API client
β βββ config/
β β βββ index.ts # Configuration management
β βββ db/
β β βββ index.ts # SQLite database service
β βββ tools/
β β βββ all_emails.ts
β β βββ latest_email.ts
β β βββ latest_email_otp.ts
β β βββ new_emails.ts
β β βββ read_emails.ts
β β βββ send_anon_email.ts
β βββ types/
β β βββ index.ts # Type definitions
β βββ utils/
β βββ crypto.ts # Encryption utilities
β βββ otp.ts # OTP extraction utilities
βββ package.json
βββ tsconfig.json
βββ LICENSE
βββ README.md
Tools
The server provides 6 MCP tools:
- new_emails - Retrieve new/unread emails
- read_emails - Read full email content
- all_emails - List all emails with filtering
- latest_email - Get the latest email
- latest_email_otp - Extract OTP from latest email
- send_anon_email - Send anonymous emails
Resources
urn:anonsec:relay/addresses- Firefox Relay address managementurn:anonsec:email/collection- Email collection accessurn:anonsec:otp/emails- OTP emails collectionurn:anonsec:server/info- Server informationurn:anonsec:audit/logs- Audit logsurn:anonsec:email/{emailId}- Individual email access
Security Features
- AES-256-GCM Encryption for data at rest
- Immutable audit logs for all operations
- Request ID tracking for traceability
- Security validation for sensitive operations
- OTP code masking in responses (never exposed)
- Sensitive data redaction in audit logs
Architecture
The server follows a clean, production-ready architecture:
- MCP Server Layer - Server initialization, tool registration, request handling
- Tools Layer - Individual tool implementations
- Core Services Layer - Database, API client, configuration, types, utilities
- Data Layer - SQLite database with PQC-ready encryption
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Security
See SECURITY.md for vulnerability reporting and security practices.
License
This project is licensed under the MIT License - see LICENSE for details.
Built by VRIL-LABS Β· Ancient Knowledge Β· Future Technology
Installing Anonsec
This server has no published package β it is built from source. Open the repository and follow its README.
βΈ github.com/VRIL-LABS/anonsec-mcp-serverFAQ
Is Anonsec MCP free?
Yes, Anonsec MCP is free β one-click install via Unyly at no cost.
Does Anonsec need an API key?
No, Anonsec runs without API keys or environment variables.
Is Anonsec hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Anonsec in Claude Desktop, Claude Code or Cursor?
Open Anonsec on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install β the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) β no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Anonsec with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
