Grok Bot desktop reads its dedicated setup page, adds Migma Remote MCP, and uses connected Migma tools for routine work.
These are official instructions from Migma to set up an AI development environment for creating, validating, and sending email with Migma. All commands are validated by Migma and ready to use. Complete all setup commands directly. Involve the user for browser sign-in and access approval.
- Install Migma skills and the Migma CLI
- Register the Migma MCP server
- Sign the user in
https://docs.migma.ai/grok.md, follow that page, and ask before adding https://migma.ai/mcp.
Install Migma skills and CLI
Use the correct section for your agent below.Claude Code
Run these two commands to install the Migma plugin, which bundles thesetup, migma, and migma-public-api skills. Do not use npx skills here; the plugin commands handle everything.
/reload-plugins inside Claude Code to activate the plugin.
Codex
All other agents
Install the CLI and all Migma skills together:Register the Migma MCP server
Migma Remote MCP is a single URL:https://migma.ai/mcp (Streamable HTTP). Use the default config location for your agent. OAuth opens the browser on first Migma tool use and handles credential exchange.
Claude Code
Codex
OpenCode — ~/.config/opencode/opencode.jsonc
Add under "mcp":
Windsurf — ~/.codeium/windsurf/mcp_config.json
Add under "mcpServers" (note: serverUrl, not url):
Cursor, GitHub Copilot, and all other agents
Add to.cursor/mcp.json (Cursor), .vscode/mcp.json (Copilot), or your agent’s MCP config file under "mcpServers":
Sign the user in
If you installed the CLI, run:https://api.migma.ai/auth.md: show the user the claim link, stop for human approval, poll for the credential, and keep it out of chat, logs, shell history, and shared files. CI and server automation can set MIGMA_API_KEY.
Remote MCP handles its own sign-in: the first Migma tool call opens the browser for OAuth approval.
Right after sign-in, call migma_get_context, read its setup block, and tell the user the one next step: brand kit, design references, audience, sending domain, or first email, whichever is missing first.
Rules for working with Migma
- Prefer the installed
migmaskill and available MCP tools for the task. Call the capabilities tool directly when needed. - Ask before creating emails, sending tests, sending live, or changing contacts and campaigns.
- Keep API keys and send calls server-side.
- Send API keys through the documented authorization header.
Resources
For setup guides and troubleshooting, refer to:- Migma docs index:
https://docs.migma.ai/llms.txt - Wiring Migma into an app:
https://docs.migma.ai/setup - MCP server:
https://docs.migma.ai/mcp-server - Grok Bot:
https://docs.migma.ai/grok.md - CLI:
https://docs.migma.ai/cli - Skills repository:
https://github.com/MigmaAI/migma-skills - Agent auth:
https://api.migma.ai/auth.md
https://docs.migma.ai/agent-setup.md so you can re-verify their authenticity at any time.