Requirements
- A Brew account with access to your brand
- A desktop app with MCP server settings available
- A browser to sign in with Brew and approve access
Add Brew in the Desktop App
1
Open MCP server settings
Open Settings → MCP servers → Add server. Some builds use Settings → Plugins → MCPs → Add → Add MCP server.If Brew is already listed, check its URL and use that entry instead of adding a duplicate.
2
Enter the server details
Use these settings:
Save the server and restart the connection when offered.
3
Sign in with Brew
Select Authenticate on the Brew server. In your browser, sign in with Brew, choose your brand, and review the access request before approving it. Then return to the desktop app.
4
Check the connection in chat
Open a chat on the host where you configured Brew. Type /mcp to inspect connected servers, then send the verification prompt below.A saved server entry alone doesn’t prove that sign-in or a tool call succeeded.
Verify Your Brand
Replace the brackets and send:brand_id for brand-scoped tools. Ask the agent to list your brands and use the selected ID, or reconnect to one brand. See Brand Scoping.
Use the Same Connection from the CLI or IDE
The desktop app, Codex CLI, and IDE extension share MCP configuration on the same Codex host. Other machines or execution hosts need their own configuration and sign-in. ChatGPT web doesn’t read this local configuration. To set up Brew from the terminal instead of the desktop form, run:codex mcp list to inspect the configuration, then send the verification prompt.
To configure it by hand, add this table to ~/.codex/config.toml and keep the rest of the file:
codex mcp login brew.
OpenAI’s MCP guide covers shared configuration, project scope, and host-specific settings.
Use Brew After Setup
Follow Run Your Email Ops from an AI Agent to draft, edit, review, test, and send an email. It has the shared copyable prompts and troubleshooting steps. Read the approval and retry instructions before delivery. They cover paid checks, test emails, send confirmation, and reuse of the same retry key.Troubleshooting
Disconnect Brew
Remove Brew from the desktop app’s MCP server settings. For a CLI-managed entry, runcodex mcp remove brew.
Removing the local configuration doesn’t end Brew’s access. Revoke the matching authorization in Brew under Settings → MCP → Connected via OAuth.
Related
- Connect Your MCP Client: ChatGPT web and other clients
- MCP Tools: available operations and costs
- MCP Workflows: audiences, automations, and analytics
- QA an Email Before a Big Send: review before delivery
- Use Brew with Claude: the Claude walkthrough
- Use Brew with Cursor: the Cursor walkthrough
- Use Brew with Grok Bot: the Grok Bot desktop walkthrough
Need Help?
Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:- Self-Service Tools
- Talk to Our Team
Search Documentation
Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.
Ask ChatGPT or Claude
Click here to open the Copy page menu at the top of this page, then send the page to ChatGPT, Claude, or your editor.