MCP servers · SendGrid · MCP server
Connect Codex CLI to SendGrid
One line gives Codex CLI your SendGrid account as tools: 5 endpoints, send email, contacts, templates, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect SendGrid. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Send an email in SendGrid".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in SendGrid
Send email · Send transactional emails1
Send an email
POST /mail/sendContacts · Manage email contacts and lists2
Add contacts
PUT /marketing/contactsSearch contacts
POST /marketing/contacts/searchTemplates · List email templates1
List templates
GET /templatesMore · Everything else this app exposes.1
List lists
GET /marketing/listsSendGrid in other AI clients
Claude Code + SendGridMCP server + skillClaude (desktop & claude.ai) + SendGridconnectorChatGPT + SendGridconnector · GPT actionGemini CLI + SendGridMCP serverCursor + SendGridMCP serverVS Code (Copilot) + SendGridMCP serverWindsurf + SendGridMCP server
