mcp · sentfromai — Claude Code MCP server for agent email
Connect an agent to SentFromAI email tools for inboxes, message search, threads, and sending. An API key is required.
claude mcp add --env SENTFROMAI_API_KEY=<SENTFROMAI_API_KEY> --env SENTFROMAI_BASE_URL=<SENTFROMAI_BASE_URL> --transport stdio sentfromai-mcp -- npx -y sentfromai-mcpWhat mcp does
The server gives an agent tools for SentFromAI inboxes, messages, threads, drafts, domains, webhooks, and address rules. It can search by keywords or meaning, read conversations, and send or forward messages. Replies are linked to the original thread automatically.
Each tool call reaches the SentFromAI REST API. The server keeps no local state or data. Run it with npx or connect to the hosted HTTP endpoint. You need a SENTFROMAI_API_KEY; requests will fail without a valid key. API errors reach the agent with their HTTP status, including invalid-key and plan-limit errors.
What it helps with
- create an inbox for an agent
- find messages by topic or meaning
- read a thread and reply in context
- draft and send an email
- manage webhooks or address rules
Example prompts for the agent
- Create a separate inbox for this project.
- Find emails about the payment failure and summarize the thread.
- Reply to the latest message in this conversation, keeping its subject.
How to install mcp
1Platform CLI
claude mcp add --env SENTFROMAI_API_KEY=<SENTFROMAI_API_KEY> --env SENTFROMAI_BASE_URL=<SENTFROMAI_BASE_URL> --transport stdio sentfromai-mcp -- npx -y sentfromai-mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http sentfromai-mcp https://api.sentfrom.ai/mcp1Platform CLI: remote server
codex mcp add sentfromai-mcp --url https://api.sentfrom.ai/mcp2Platform CLI
codex mcp add sentfromai-mcp --env SENTFROMAI_API_KEY=<SENTFROMAI_API_KEY> --env SENTFROMAI_BASE_URL=<SENTFROMAI_BASE_URL> -- npx -y sentfromai-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"sentfromai-mcp": {
"url": "https://api.sentfrom.ai/mcp"
}
}
}{
"mcpServers": {
"sentfromai-mcp": {
"command": "npx",
"args": [
"-y",
"sentfromai-mcp"
],
"env": {
"SENTFROMAI_API_KEY": "<SENTFROMAI_API_KEY>",
"SENTFROMAI_BASE_URL": "<SENTFROMAI_BASE_URL>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"sentfromai-mcp": {
"type": "http",
"url": "https://api.sentfrom.ai/mcp"
}
}
}{
"servers": {
"sentfromai-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sentfromai-mcp"
],
"env": {
"SENTFROMAI_API_KEY": "<SENTFROMAI_API_KEY>",
"SENTFROMAI_BASE_URL": "<SENTFROMAI_BASE_URL>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http sentfromai-mcp https://api.sentfrom.ai/mcp2Platform CLI
gemini mcp add -e SENTFROMAI_API_KEY=<SENTFROMAI_API_KEY> -e SENTFROMAI_BASE_URL=<SENTFROMAI_BASE_URL> sentfromai-mcp npx -y sentfromai-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp
How do I install mcp in Claude Code?
Run claude mcp add mcp -e SENTFROMAI_API_KEY=<SENTFROMAI_API_KEY> -- npx -y sentfromai-mcp. Replace the placeholder with your SentFromAI API key.
What does mcp do?
It connects an agent to SentFromAI tools for inboxes, messages, drafts, search, threads, webhooks, and address rules.
What does mcp need to run?
Set SENTFROMAI_API_KEY to a SentFromAI API key. For a hosted connection, the server also accepts the key in a Bearer header.
Similar MCP servers
All MCP servers for Agent setup: memory, context, orchestration →mcp by other authors comes first.