Bring Email Server
to VS Code Copilot
Create your Vinkius account to connect Mail-in-a-Box to VS Code Copilot and start using all 9 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Mail-in-a-Box MCP Server?
Connect your Mail-in-a-Box instance to any AI agent to automate your private email server management. This MCP server enables your agent to manage mailboxes, configure forwarding aliases, and monitor system health and diagnostics directly from natural language interfaces.
What you can do
- User Administration — List all mail users, create new mailboxes, and update passwords programmatically
- Alias Management — Create, update, and remove email forwarding addresses and group aliases
- System Monitoring — Retrieve real-time health status, diagnostic checks, and configuration metadata for your server
- Domain Oversight — List all hosted mail domains and subdomains configured on your instance
- Access Control — Manage administrative privileges and account settings for your email users
How it works
- Subscribe to this server
- Enter your Mail-in-a-Box Host, Admin Email, and Admin Password (or API Key)
- Start managing your private email infrastructure from Claude, Cursor, or any MCP-compatible client
Who is this for?
- System Administrators — Manage mailboxes and forwarding rules via simple natural language commands
- DevOps Engineers — Automate user onboarding and system health monitoring directly from your dev tools
- Privacy-Conscious Teams — Maintain your private communication infrastructure effortlessly through an AI-integrated interface
Built-in capabilities (9)
Requires a full email address and a password. Add a new mail user (mailbox)
forwards_to should be a comma-separated list of emails. Add or update a mail alias
Remove a mail alias
Remove a mail user
Check the status of the Mail-in-a-Box system
List all mail aliases and forwarders
List all mail domains hosted on the server
List all mail users on the server
Change the password for a mail user
Why VS Code Copilot?
GitHub Copilot Agent mode brings Mail-in-a-Box data directly into your VS Code workflow. With a project-scoped config, the entire team shares access to 9 tools. Copilot queries live data, generates typed code, and writes tests from actual API responses, all without leaving the editor.
- —
VS Code is used by over 70% of developers. adding MCP tools to Copilot means your team can leverage external data without leaving their primary editor
- —
Project-scoped MCP configs (
.vscode/mcp.json) let you commit server configurations to your repository, ensuring the entire team shares the same tool access - —
Copilot's Agent mode integrates MCP tools seamlessly with file editing, terminal commands, and workspace search in a single agentic loop
- —
GitHub's enterprise compliance and audit features extend to MCP tool usage, providing visibility into how AI interacts with external services
Mail-in-a-Box in VS Code Copilot
Why run Mail-in-a-Box with Vinkius?
The Mail-in-a-Box connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 9 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Mail-in-a-Box using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Mail-in-a-Box and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Mail-in-a-Box to VS Code Copilot through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Mail-in-a-Box for VS Code Copilot
Every request between VS Code Copilot and Mail-in-a-Box is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
What format is required for the instance host?
Provide the full hostname without the 'https://' prefix, for example: box.yourdomain.com.
Can I add multiple forwarding targets to an alias?
Yes, when using the create_or_update_alias tool, provide a comma-separated list of emails in the forwards_to field.
Does this work with 2FA enabled accounts?
The current API implementation uses Basic Auth. If 2FA is enabled on your admin account, you may need to use an API key or a dedicated admin user without 2FA for the integration.
Which VS Code version supports MCP?
MCP support requires VS Code 1.99 or later with the GitHub Copilot extension. Ensure both are updated to the latest version. Older versions of Copilot may not expose the Agent mode toggle.
How do I switch to Agent mode?
Open the Copilot Chat panel and look for two mode options: "Ask" and "Agent". Click "Agent" to enable autonomous tool calling. In Ask mode, Copilot provides conversational answers but cannot invoke MCP tools.
Can I restrict which MCP tools Copilot can access?
Yes. VS Code shows a tool consent dialog before any MCP tool is invoked for the first time. You can also configure tool access policies at the organization level through GitHub Copilot settings.
Does MCP work in VS Code Remote or Codespaces?
Yes. MCP servers configured via .vscode/mcp.json work in Remote SSH, WSL, and GitHub Codespaces environments. The MCP connection is established from the remote host, so ensure the server URL is accessible from that environment.
MCP tools not available
Ensure you are in Agent mode in Copilot Chat. MCP tools only appear in Agent mode.
Explore More MCP Servers
View all →
Slack Webhook Notifier
1 toolsThis MCP does exactly one thing: it sends messages to your Slack channels. That's its only function, and nothing else. Zero bloat, incredible for giving your AI agents a voice.

folk
6 toolsManage relationships across sales, recruiting, and partnerships with a lightweight CRM that syncs contacts from everywhere.

WhatsApp Message Sender
1 toolsThis MCP does exactly one thing: it sends text messages using the official Meta WhatsApp Cloud API. That's its only function, and nothing else. Incredible for giving your AI agents direct access to customers.

NOAA Forecast — US Weather Predictions
5 toolsOfficial NWS weather forecasts for any US location: 7-day daily forecasts, 156-hour hourly forecasts, raw grid data, and meteorologist forecast discussions from 122 Weather Forecast Offices.
