MCP / API Documentation

Give Claude Desktop, Cursor, or autonomous agents tools to manage inboxes and grab OTP codes.

Get Free API Key → Log In

Public MCP / API Documentation

Explore all configurations, tools, and endpoints freely. Create a free account anytime to generate your live API key.

Sign Up Free →

Claude Desktop MCP Configuration

Add this to your claude_desktop_config.json:

{ "mcpServers": { "teak-email": { "command": "npx", "args": ["-y", "codeinbox-mcp"], "env": { "CODEINBOX_API_KEY": "cib_your_api_key_here", "CODEINBOX_API_URL": "https://teak.email/api" } } } }
Where to paste on your computer:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor MCP Server Setup

Open Cursor Settings ➔ MCP ➔ Add New MCP Server:

{ "mcpServers": { "teak-email": { "command": "npx", "args": ["-y", "codeinbox-mcp"], "env": { "CODEINBOX_API_KEY": "cib_your_api_key_here", "CODEINBOX_API_URL": "https://teak.email/api" } } } }

Generic MCP Client

Standard Model Context Protocol package for any compatible IDE or terminal agent:

{ "mcpServers": { "teak-email": { "command": "npx", "args": ["-y", "codeinbox-mcp"], "env": { "CODEINBOX_API_KEY": "cib_your_api_key_here", "CODEINBOX_API_URL": "https://teak.email/api" } } } }

Direct REST API Examples

1. List Active Inboxes (cURL)
curl -s -H "Authorization: Bearer cib_your_api_key_here" \ https://teak.email/api/inboxes
2. Create New Inbox (cURL)
curl -s -X POST \ -H "Authorization: Bearer cib_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{"domain":"toohumid.com","local_part":"agentbot01"}' \ https://teak.email/api/inboxes

💬 What you can ask your AI Agent once connected:

"Create a new inbox on @toohumid.com for my GitHub registration."
"Check my latest email and extract the 6-digit OTP verification code."