Give your Grok agent a phone number
xAI's Grok CLI adds MCP servers with one command and reads the same config as Claude Code and Cursor. Grok Bot and grok.com connect through custom connectors. All three routes to a Grok that can text and call.

"Grok" is three products that can use tools: the Grok CLI for building, Grok Bot, the cloud teammate that lives in Slack and X and the grok.com chat with its connectors. AgentPhone connects to each a little differently, and the CLI is the one with a config file. This page covers all three so you can pick the one you actually use.
Grok CLI
The CLI has an mcp add command and a TOML config, and it also reads ~/.claude.json, .cursor/mcp.json and a project .mcp.json, so if you set AgentPhone up for another tool, Grok may already see it.
grok mcp add --transport http agentphone https://mcp.agentphone.ai/mcp \--header "Authorization: Bearer ${AGENTPHONE_API_KEY}"
Or in ~/.grok/config.toml (project scope: .grok/config.toml):
[mcp_servers.agentphone]url = "https://mcp.agentphone.ai/mcp"headers = { "Authorization" = "Bearer ${AGENTPHONE_API_KEY}" }
${VAR} and ${VAR:-default} are expanded in URLs, headers and args. For OAuth, leave the header out and sign in when prompted; tokens are kept in ~/.grok/mcp_credentials.json. /mcps in a session lists servers. Skills live in .grok/skills or ~/.grok/skills, and the CLI reads Claude Code skills too, so npx skills add AgentPhone-AI/skills works once for both.
Grok Bot
Grok Bot runs on its own cloud computer and, per xAI's docs, "supports custom tooling, so it can interact with any MCP or API". There is no config file; custom MCP servers are added under Settings → Plugins. Add https://mcp.agentphone.ai/mcp and supply the API key as a bearer header when asked. Grok Bot's "teach a task" skills are recorded steps rather than SKILL.md files, so pair the MCP connection with a short taught task like "text the on-call engineer" if you want a repeatable action.
grok.com
On grok.com, open Connectors → New Connector → Custom and enter the MCP URL. The server has to be public, which the hosted endpoint is. After authorizing, ask Grok to send a text or place a call in a normal chat.
What a Grok with a phone can do
- Text you when a long task finishes and read your reply.
- Place a hosted call at $0.22 a minute and bring back the transcript. Calls open with an AI disclosure.
- Read the last few messages on your support number and draft a reply.
- Buy and attach a number, with a confirmation step since it spends $3.
Things to know
- $5 of signup credit without a card. Numbers are $3 a month, SMS $0.02 a segment.
- Inbound SMS works immediately. Outbound from a US number needs 10DLC registration, which we submit for you.
- For Grok Bot, keep the key in its Vault or a Secure Form rather than pasting it into a chat.
FAQ
How do I add AgentPhone to the Grok CLI? grok mcp add --transport http agentphone https://mcp.agentphone.ai/mcp with a bearer header, or an [mcp_servers.agentphone] block in ~/.grok/config.toml. The CLI also reads Claude Code and Cursor MCP configs.
Does Grok Bot support MCP? Yes. xAI's docs say it can interact with any MCP or API through custom tooling, added under Settings → Plugins. There is no config file for Grok Bot.
Can I use AgentPhone from grok.com chat? Yes. Connectors → New Connector → Custom, paste the public MCP URL, authorize and ask Grok to text or call.
Do skills carry over? The Grok CLI reads Claude Code skills, so the AgentPhone skill installed once serves both. Grok Bot uses taught tasks instead of skill files.
What does it cost to try? The $5 signup credit covers a $3 number and about 100 two-cent messages. Outbound calls need a paid balance.


