EMLbot

Connect Grok Bot

MCP URL: https://api.emlbot.com/mcp. The xAI API takes a remote MCP tool:

{
  "tools": [{
    "type": "mcp",
    "server_url": "https://api.emlbot.com/mcp",
    "server_label": "emlbot",
    "authorization": "<key from the device-code flow>"
  }]
}

Put the key in the API call, not in a Grok chat. A model call is one request; use GET /v0/me/wait or a webhook wake to start a run when mail arrives.