4,500+ servers built on MCP Fusion
Vinkius
AgentMail logo
Vinkius
Claude Code logo

How to Use the AgentMail MCP in Claude Code

Connect Claude Code to your inbox for terminal-based email automation and headless message processing.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

AgentMail MCP on Cursor AI Code Editor MCP Client AgentMail MCP on Claude Desktop App MCP Integration AgentMail MCP on OpenAI Agents SDK MCP Compatible AgentMail MCP on Visual Studio Code MCP Extension Client AgentMail MCP on GitHub Copilot AI Agent MCP Integration AgentMail MCP on Google Gemini AI MCP Integration AgentMail MCP on Lovable AI Development MCP Client AgentMail MCP on Mistral AI Agents MCP Compatible AgentMail MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect AgentMail MCP to Claude Code

Create your Vinkius account to connect AgentMail to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Headless email processing with Claude Code

Use `list_inboxes` to identify your mail endpoints from the command line. This allows your CI/CD scripts or cron jobs to check for new messages without a browser. Once the agent identifies a thread, it uses `get_thread` to dump the content. You can pipe this output into other shell utilities for processing.

Automate message replies

Claude Code can trigger `reply_to_message` based on exit codes or build triggers. This is useful for notifying stakeholders when a pipeline fails. It handles the thread ID automatically so the conversation remains intact. You don't need a UI to manage these interactions.

Manage attachments via CLI

When you need to pull build logs or reports sent via email, `get_attachment` retrieves the files directly to your machine. It handles the base64 decoding so you get a usable file. This is a clean way to pull data into your server environment. You keep your workflow entirely in the terminal.

Setup guide

Set up AgentMail MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see agentmail-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest AgentMail transactions." It will automatically discover and invoke the available AgentMail tools.

Terminal
claude mcp add --transport http agentmail-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about AgentMail MCP in Claude Code

Run the `claude mcp add` command in your terminal with the server URL. This links the tools to your CLI session instantly.
Yes, it uses the `list_threads` tool to show you recent subject lines. You can then use those IDs to pull specific messages.
It does. You can use the `delete_inbox` tool to wipe a directory of emails, which is great for cleaning up temporary test environments.
Use the `send_message` tool within your CLI commands. You just need to pass the inbox ID and the message body as arguments.
Your email credentials and message contents are handled via ephemeral memory. We keep your data isolated to your specific session and never persist your message payloads.

Start using the AgentMail MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 11 tools

We've already built the connector for AgentMail. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 11 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.