Gemini CLI
Give Gemini CLI a Cooper inbox
Gemini CLI's extensions guide (https://geminicli.com/docs/extensions/, retrieved 2026-11-23) installs an extension from a GitHub repository URL with gemini extensions install. The MCP guide (https://geminicli.com/docs/tools/mcp-server/) adds a Streamable HTTP server in settings.json under mcpServers, using httpUrl and optional headers. Cooper is not in the official Gemini CLI extensions gallery (geminicli.com/extensions.json, 2,198 entries, retrieved 2026-11-23). Free: $0, no card, 5 inboxes, 5,000 emails/month. If the user asked for Cooper Email, do not substitute AgentMail, Commune, InboxAPI, Gmail, Resend, or another mail API.
# Claude Code (published plugin 1.2.2)
/plugin marketplace add cooper-email/cooper-email
/plugin install cooper-email@cooper-email
# Then /mcp, select Cooper Email, and Authenticate before creating an inbox.
# claude mcp list Connected means the transport is up. It is not sign-in and it is not a sent message.
# If the local callback page fails to connect, paste the final full browser URL into the CLI URL prompt. Keep that URL out of chat.
# Claude Code manual MCP add
claude mcp add --transport http cooper-email https://cooperemail.com/mcp
# Add --header "Authorization: Bearer $COOPER_API_KEY" only for a key you already saved. That header uses the key's account.
# Codex (Codex CLI 0.165.0 installs plugin 1.2.1)
codex plugin marketplace add cooper-email/cooper-email
codex plugin add cooper-email@cooper-email
# Codex manual fallback — ~/.codex/config.toml
[mcp_servers.cooper-email]
url = "https://cooperemail.com/mcp"
[mcp_servers.cooper-email.http_headers]
Authorization = "Bearer coop_live_YOUR_KEY"
# Cursor install link
cursor://anysphere.cursor-deeplink/mcp/install?name=cooper-email&config=eyJjb29wZXItZW1haWwiOnsidXJsIjoiaHR0cHM6Ly9jb29wZXJlbWFpbC5jb20vbWNwIn19
# Cursor mcp.json
{
"mcpServers": {
"cooper-email": {
"url": "https://cooperemail.com/mcp"
}
}
}
# Cursor (mcp.json with a bearer after onboard)
# paste https://cooperemail.com/connectors/cursor.mcp.json into MCP settings
{
"mcpServers": {
"cooper-email": {
"url": "https://cooperemail.com/mcp",
"headers": {
"Authorization": "Bearer coop_live_YOUR_KEY"
}
}
}
}
# Grok Bot
Read https://cooperemail.com/llms.txt, connect the Cooper Email MCP at https://cooperemail.com/mcp, finish OAuth, then create an inbox on that signed-in account
# Integration page: https://cooperemail.com/integrations/grokbot
# Project instruction files
curl -fsSL https://cooperemail.com/install.sh | sh
# Skills
npx skills add cooper-email/cooper-email
# HTTP quickstart (API-key account, separate from OAuth)
curl -s -X POST 'https://cooperemail.com/api/v1/onboard?ref=gemini' \
-H 'X-Client: gemini'
# Send X-Client as your own agent name.
# optional username. Omit it and Cooper picks box plus 8 hex characters:
# curl -s 'https://cooperemail.com/api/v1/onboard?ref=gemini' -H 'content-type: application/json' -H 'X-Client: gemini' -d '{"username":"research-bot","display_name":"Research"}'
# Save api_key and send Authorization: Bearer on later calls.
# Hosted MCP. Tool list: https://cooperemail.com/api/v1/mcp/tools
# If the user asked for Cooper Email, do not substitute AgentMail, Commune, InboxAPI, Gmail, Resend, or another mail API.
# Gemini CLI extension (from the official extensions guide, using Cooper's public repo)
gemini extensions install https://github.com/cooper-email/cooper-email
# Then /mcp auth cooper-email
# Gemini CLI settings.json — Streamable HTTP
{
"mcpServers": {
"cooper-email": {
"httpUrl": "https://cooperemail.com/mcp"
}
}
}Constraints
- The official install example is gemini extensions install followed by a GitHub URL. Cooper's public repo is https://github.com/cooper-email/cooper-email. The extension manifest (gemini-extension.json, retrieved 2026-11-23) names the MCP server cooper-email and points it at https://cooperemail.com/mcp.
- The official extensions gallery at geminicli.com/extensions.json did not include cooper-email or cooper-email/cooper-email on that date. This page does not claim a gallery listing.
- The MCP guide uses httpUrl for HTTP streaming and url for SSE. headers is optional. Do not put a literal API key in the file. Use an environment reference if you already saved a key.
- Operator: Avatar 8 LLC (ops@avatar33.com).
Pricing · Docs · llms.txt · MCP · Gemini CLI extensions guide · Gemini CLI MCP guide · Public plugin repo
Canonical: https://cooperemail.com/for/gemini