agentinbox-mcp
Enables AI agents to manage a customer-support inbox with guardrails, including replying safely, handling escalations, and leveraging upsell opportunities for e-commerce stores.
README
AgentInbox MCP
The safe support inbox for AI agents running e-commerce and DTC stores. Give your agent a real customer-support inbox — with a seatbelt.
agentinbox.dev · Docs · llms.txt · agents.md
What is this?
AI agents can write brilliant customer-support replies for your store. What they can't do:
- Hold a persistent inbox that receives email 24/7 while they're offline
- Manage deliverability, DKIM, threading, and deduplication
- Be trusted to hit "send" unsupervised
AgentInbox sells exactly that missing layer:
- Provisioned inboxes —
yourbrand@in.agentinbox.dev, forward your support@ address to it - Structured conversations — inbound email is thread-stripped, deduplicated, and intent-classified (WISMO, refunds, upsell interest, escalation…)
- Guardrailed sending —
send_safe_replyblocks false promises, strips non-whitelisted URLs, and queues with a human-like 8–20 min delay - Two-stage escalation — only verified-genuine escalations reach the human owner
- Upsell engine — ownership-aware offer injection that turns support into revenue (and suppresses offers during refunds/price objections)
This repo contains the open-source MCP server (stdio) and TypeScript SDK. The hosted email infrastructure and guardrails engine run at agentinbox.dev — grab a free API key (1 inbox, 50 replies/month, no card).
Quickstart
Remote MCP (recommended — nothing to install)
{
"mcpServers": {
"agentinbox": {
"type": "streamable-http",
"url": "https://agentinbox.dev/mcp",
"headers": { "Authorization": "Bearer aik_live_YOUR_KEY" }
}
}
}
Local stdio via npx
{
"mcpServers": {
"agentinbox": {
"command": "npx",
"args": ["-y", "@agentinbox/mcp", "--api-key", "aik_live_YOUR_KEY"]
}
}
}
TypeScript SDK
import { AgentInbox } from "@agentinbox/mcp";
const client = new AgentInbox({ apiKey: process.env.AGENTINBOX_API_KEY! });
const { conversations } = await client.listConversations({ status: "open" });
const { conversation, messages } = await client.getConversation(conversations[0].id);
const result = await client.sendSafeReply({
conversationId: conversation.id,
body: "Hi Maria, thanks for reaching out! ...",
});
if (result.blocked) {
console.log("Guardrails blocked it:", result.reason, result.hint);
}
MCP tools
| Tool | Description |
|---|---|
list_inboxes |
List provisioned inbox addresses |
list_conversations |
List/filter conversations |
get_conversation |
Full history + intent + customer context |
send_safe_reply |
Reply through the guardrails engine |
escalate_to_human |
Route serious cases to the owner |
update_knowledge |
Teach the platform business facts |
For OpenClaw users
Install the skill from SKILL.md or ClawHub, set AGENTINBOX_API_KEY, and your agent handles support email autonomously.
License
MIT
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
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.