Connect Grok Bot to Email Watch
Grok Bot and other chat agents can list your domains, read health, reports, and issues, and add or update a domain. You create a key in Settings. The agent sends that key on every request.
Open SettingsCreate a key
- Sign in to Email Watch.
- Open Settings.
- Under Agent credentials, enter a name such as Grok Bot.
- Choose Read only or Mutate.
- Create the credential and copy the key. Email Watch shows the key once.
Revoke the key on the same Settings page when you stop using that agent. A revoked key stops working immediately.
Connect the agent
Add a remote MCP server in Grok Bot, or in any client that can call a remote MCP endpoint with a request header.
- Server URL
- https://app.emailwatch.co/api/agent/mcp
- Header
- Authorization: Bearer, then the key you copied.
Client config
If your client uses a JSON config file, this is the shape. Replace the bearer value with your key.
{
"mcpServers": {
"emailwatch": {
"url": "https://app.emailwatch.co/api/agent/mcp",
"headers": {
"Authorization": "Bearer ewa_..."
}
}
}
}Ask the agent to list your domains, or to check health for one of them. To add or update a domain, ask for a preview first. The tools preview the change (a dry run) unless you tell the agent to apply it.
What each key can do
- Read only. List domains. Read health, reports, and issues.
- Mutate. Everything a read only key can do, plus add a domain and update a domain.
Keep the key in the agent client. Do not paste it into a shared channel or a web page.
HTTP API
The same key works on the HTTP API. The OpenAPI description lists every path the tools call.