Give your Muse Code agent a phone number
Meta's Muse Code reads MCP servers from its settings file and supports agentskills.io skills. Add AgentPhone and the terminal agent can text you when a job finishes, read the reply and place a call.

Muse Code is Meta's coding agent for the terminal and CI, built on Muse Spark. Like the other terminal agents it keeps MCP servers in a settings file and reads skills in the agentskills.io format, so AgentPhone connects the same way it does elsewhere. One caveat up front: Muse Code is new and its configuration docs give field names rather than a verbatim block, so check the keys below against muse --help on your installed version.
Setup
Muse Code's settings live at ~/.config/muse/settings.json and must include a schema version. An MCP server entry names a transport and, for the hosted AgentPhone server, a URL and headers.
{"schema_version": 1,"mcp_servers": {"agentphone": {"transport": "streamable_http","url": "https://mcp.agentphone.ai/mcp","headers": { "Authorization": "Bearer ${AGENTPHONE_API_KEY}" },"enabled": true,"mode": "optional"}}}
${AGENTPHONE_API_KEY} is interpolated from your environment. To use browser sign-in instead, drop the headers and run:
muse mcp login agentphone
/mcp inside a session lists connected servers and their tools. Muse Code's docs note that MCP tools are not sandboxed, which is worth remembering for a tool set that can spend money.
The skill
Muse Code reads skills from <repo>/.agents/skills, ~/.agents/skills and its own config directory, and it also scans .claude/skills and .codex/skills. If you already installed the AgentPhone skill for Claude Code or Codex, Muse finds it. Otherwise:
npx skills add AgentPhone-AI/skills
The installer puts it under .agents/skills, which Muse already scans, so there is nothing else to run. The skill carries the REST and MCP reference behind a /agentphone command.
What to ask it
The phone numbers in the examples are placeholders from the reserved 555 range. Replace each with the number you actually mean: your own mobile for the text test, the real business for a call.
- "Run the migration, then text me at +1 415 555 0123 when it is done." Muse finishes and sends the message.
- "Wait for my reply on that number and continue only if I say go."
watch_messagesdelivers the reply as a notification. - "Call +1 415 555 0199 and confirm the server delivery for tomorrow." Hosted calls are $0.22 a minute and begin with an AI disclosure.
Buying a number asks for confirmation. Messages and calls are billed as soon as the tool runs, so keep those tools off a shared agent until you trust the prompt.
Things to know
- $5 of signup credit, no card. A number is $3 a month, SMS $0.02 a segment.
- Inbound SMS works immediately. Outbound on a US number needs 10DLC registration, which we submit for you.
- In CI, use a bearer header with the key from the environment; OAuth needs a browser.
FAQ
Where is Muse Code's MCP config? In ~/.config/muse/settings.json, under mcp_servers, with "schema_version": 1 at the top. Field names here follow Meta's docs; confirm against your installed version.
How do I authenticate? Either a bearer header with ${AGENTPHONE_API_KEY} interpolated from the environment, or muse mcp login agentphone for OAuth in the browser.
Will Muse pick up the skill I installed for Claude Code? Yes. Muse Code scans .claude/skills and .codex/skills as well as .agents/skills, so one install serves all three.
Can it receive replies? Yes. Ask it to watch a number and the next inbound message arrives as a notification in the session.
What does the first test cost? Nothing beyond the $5 signup credit: a $3 number and about 100 two-cent messages.


