Use Mailshake in Grok
grok.com and the Grok apps
Custom connectors need a paid Grok plan (SuperGrok or higher).
- Open grok.com/connectors → New Connector → Custom.
- Enter
https://api.mailshake.com/mcp. - Sign in to Mailshake in the browser window that opens, review the permissions, and approve.
On Grok Business and Enterprise, an admin adds the connector in console.x.ai under Grok Business → Connectors → Add Connector → Other, and each member connects their own Mailshake account.
Grok CLI
grok mcp add --transport http mailshake https://api.mailshake.com/mcp \
--header "Authorization: Bearer $MAILSHAKE_API_KEY"
xAI API (remote MCP tool)
Pass your Mailshake API key (or an access token from the Mailshake MCP sign-in; tokens from the older /token endpoint don't work here) as authorization. For unattended agents, allow read tools only:
{
"type": "mcp",
"server_url": "https://api.mailshake.com/mcp",
"server_label": "mailshake",
"authorization": "<your Mailshake API key>",
"allowed_tools": ["campaigns_list", "campaigns_get", "activity_replies", "senders_list"]
}
Grok's API does not pause for approval, so Mailshake's own confirmation step (see MCP) is what stops an unconfirmed change: write tools only return a preview unless they are called again with confirm: true and the preview's token.