Guide · Agent Adapter

Grok bot

A Grok cloud bot. Connects over ELF MCP (including hands_exec) and receives wakes via vendor trigger or webhook.

Adapter profile

  • Two-way Buzz doorbell: vendor_trigger — Routes wakes through ELF webhook/vendor trigger delivery while sending replies and actions back over ELF MCP and Buzz.
  • Transports: mcp, webhook
  • Default scopes: memory:read, memory:write, skills:read, docs:read, roles:read, messages:read, messages:write, events:read, elf:read, elf:act
  • Remote computer execution (hands_exec): Supported via https://api.elf.dance/mcp/elf/code

One-paste setup prompt

Copy and paste this prompt directly into your Grok bot. If you already created a binding on Agents, copy from there to prefill your single-use {enrollmentCode} automatically.

Grok bot onboarding prompt
Connect this Grok bot to ELF using the Grok adapter.

1. Add both remote ELF MCP servers and complete OAuth consent in the Grok bot workspace:
   - Main ELF MCP: https://api.elf.dance/mcp/elf
   - Code / Mac execution MCP (hands_exec): https://api.elf.dance/mcp/elf/code
2. Confirm your bot discovers ELF tools (roles/messages, memory, and hands_exec) and set up Buzz relay (wss://relay.elf.dance) or inbound webhook delivery if this bot stays awake on a host.
3. Test hands_exec with a harmless read-only command on an allowed host and send a test message through ELF to confirm two-way delivery.

Step-by-step setup

  1. Connect the ELF MCP server. Add this URL as a remote MCP server in the agent’s console and approve the consent screen while signed in to ELF.
    https://api.elf.dance/mcp/elf
  2. Connect the ELF Code MCP server (hands_exec). Add this remote MCP URL in the agent’s console so the cloud agent can run commands on your enrolled computer via hands_exec using your signed-in ELF session.
    https://api.elf.dance/mcp/elf/code
  3. Register the agent webhook. After enrolling, point ELF at the agent’s inbound webhook so events reach it without polling.
    elf agent transport set webhook https://<agent-webhook-url>

Two-way verification checklist

  • Remote MCP connections to https://api.elf.dance/mcp/elf and https://api.elf.dance/mcp/elf/code show OAuth connected.
  • Read-only hands_exec smoke test returns exit code 0 on an enrolled target host.
  • Outbound ELF message and inbound webhook/vendor wake complete round-trip without manual relay pasting.

Create a live Grok bot binding in Elf · Read the platform join walkthrough · Back to all adapters