KeyID Agent Kit MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add keyid-agent-kit -- npx @keyid/agent-kit
README.md

Give Claude, Cursor, or any MCP client a real email address. Free.

@keyid/agent-kit

Give Claude, Cursor, or any MCP client a real email address. Free. No signup.

27 email tools via Model Context Protocol (MCP): send, receive, reply, search inbox, manage contacts, set auto-reply, schedule delivery — everything an AI agent needs to handle email autonomously.

Powered by KeyID.ai — free email infrastructure for AI agents. No human registration, no API keys to manage, no cost.

Install

npm install @keyid/agent-kit
# or
yarn add @keyid/agent-kit

Usage

With Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "keyid": {
      "command": "npx",
      "args": ["@keyid/agent-kit"],
      "env": {
        "KEYID_PUBLIC_KEY": "...hex...",
        "KEYID_PRIVATE_KEY": "...hex..."
      }
    }
  }
}

With any MCP client

# Run directly
npx @keyid/agent-kit

# Or with existing keypair
KEYID_PUBLIC_KEY=abc123 KEYID_PRIVATE_KEY=def456 npx @keyid/agent-kit

Environment Variables

Variable Description Default
KEYID_BASE_URL API base URL https://keyid.ai
KEYID_PUBLIC_KEY Ed25519 public key (hex) Auto-generated
KEYID_PRIVATE_KEY Ed25519 private key (hex) Auto-generated

Tools (27)

Identity & Auth

Tool Description
keyid_provision Register agent, get email address
keyid_get_email Get current active email

Messages

Tool Description
keyid_get_inbox Fetch inbox (with search, filtering)
keyid_send Send email (scheduled, display name, HTML)
keyid_reply Reply to a message
keyid_forward Forward a message
keyid_update_message Update read/starred status
keyid_get_unread_count Count unread messages

Threads & Drafts

Tool Description
keyid_list_threads List conversation threads
keyid_get_thread Get thread with messages
keyid_create_draft Create a draft
keyid_send_draft Send a draft

Settings

Tool Description
keyid_get_auto_reply Get auto-reply settings
keyid_set_auto_reply Configure vacation responder
keyid_get_signature Get email signature
keyid_set_signature Set email signature
keyid_get_forwarding Get forwarding settings
keyid_set_forwarding Configure forwarding

Contacts

Tool Description
keyid_list_contacts List saved contacts
keyid_create_contact Create a contact
keyid_delete_contact Delete a contact

Webhooks

Tool Description
keyid_list_webhooks List webhooks
keyid_create_webhook Create webhook
keyid_get_webhook_deliveries Delivery history

Lists & Metrics

Tool Description
keyid_manage_list Add/remove from allow/blocklist
keyid_get_metrics Query usage metrics

Example Conversation

User: Check my email

Agent: [calls keyid_get_inbox]
You have 3 new messages:
1. alice@company.com — "Q1 Report" (2 hours ago)
2. bob@partner.org — "Meeting tomorrow" (5 hours ago)
3. noreply@service.com — "Password reset" (1 day ago)

User: Reply to Alice saying I'll review it today

Agent: [calls keyid_reply with message_id and body]
Reply sent to alice@company.com.

Protocol

Uses MCP JSON-RPC over stdio (protocol version 2024-11-05). Compatible with Claude Desktop, Cursor, and any MCP client.

License

MIT

Tools (26)

keyid_provisionRegister agent and get an email address
keyid_get_emailGet current active email
keyid_get_inboxFetch inbox with search and filtering
keyid_sendSend email with support for scheduling and HTML
keyid_replyReply to a message
keyid_forwardForward a message
keyid_update_messageUpdate read or starred status of a message
keyid_get_unread_countCount unread messages
keyid_list_threadsList conversation threads
keyid_get_threadGet thread with messages
keyid_create_draftCreate a draft
keyid_send_draftSend a draft
keyid_get_auto_replyGet auto-reply settings
keyid_set_auto_replyConfigure vacation responder
keyid_get_signatureGet email signature
keyid_set_signatureSet email signature
keyid_get_forwardingGet forwarding settings
keyid_set_forwardingConfigure forwarding
keyid_list_contactsList saved contacts
keyid_create_contactCreate a contact
keyid_delete_contactDelete a contact
keyid_list_webhooksList webhooks
keyid_create_webhookCreate webhook
keyid_get_webhook_deliveriesGet delivery history
keyid_manage_listAdd or remove from allow/blocklist
keyid_get_metricsQuery usage metrics

Environment Variables

KEYID_BASE_URLAPI base URL
KEYID_PUBLIC_KEYEd25519 public key (hex)
KEYID_PRIVATE_KEYEd25519 private key (hex)

Configuration

claude_desktop_config.json
{"mcpServers": {"keyid": {"command": "npx", "args": ["@keyid/agent-kit"], "env": {"KEYID_PUBLIC_KEY": "...hex...", "KEYID_PRIVATE_KEY": "...hex..."}}}}

Try it

Check my inbox for any new messages and summarize them.
Reply to the latest email from Alice saying I will review the report today.
Create a new contact for bob@partner.org.
Set an auto-reply message for my email account while I am on vacation.
List all my current conversation threads.

Frequently Asked Questions

What are the key features of KeyID Agent Kit?

Provides a functional email address for AI agents without manual registration. Supports full email lifecycle including sending, receiving, and replying. Includes advanced settings like auto-reply, forwarding, and signatures. Features contact management and webhook integration. Compatible with Claude Desktop and other MCP clients.

What can I use KeyID Agent Kit for?

Automating email responses for customer support inquiries. Managing communication threads for long-running AI research tasks. Setting up automated notifications for system monitoring alerts. Handling scheduling and meeting coordination via email.

How do I install KeyID Agent Kit?

Install KeyID Agent Kit by running: npm install @keyid/agent-kit

What MCP clients work with KeyID Agent Kit?

KeyID Agent Kit works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep KeyID Agent Kit docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare