Your first month is free.First month free on any plan.Thanks to the Deepgram for Startups program. Use codeStart free with DEEPGRAM

OpenAI Codex phone-call integration guide

How to connect ClawCall to OpenAI Codex

Run `codex mcp add clawcall --url https://api.clawcall.dev/mcp`, then `codex mcp login clawcall`. Complete ClawCall OAuth, restart or refresh the client if requested, and use `/mcp` or `codex mcp list` to verify the nine tools. Codex can select ClawCall automatically when the task requires a phone call.

Official docs reviewedFacts checked:

Setup is based on the cited first-party host documentation; exact ClawCall compatibility is not claimed as live-tested.

Hosted MCP endpointhttps://api.clawcall.dev/mcp

Before you start

Codex is included because OpenAI reports multi-million-user adoption and its CLI and IDE extension publish a precise Streamable HTTP, OAuth, and Dynamic Client Registration setup path suitable for ClawCall.

Availability: Use a current Codex CLI or IDE extension. Local configuration and OAuth credentials belong to the user profile; project policy can disable or restrict servers and tools.
Setup surfaceCLI or IDE MCP server
TransportStreamable HTTP
AuthenticationOAuth with DCR/CIMD
  • A OpenAI Codex account or workspace where CLI or IDE MCP server is available.
  • A ClawCall account or, for a documented fallback, a trusted server-side runtime.
  • A real US destination in +1 E.164 format for any call you choose to place.
  • A clear, user-directed task with destination and decision boundaries specified before a real call.

Connect OpenAI Codex to ClawCall

These steps use the cited host documentation. Screenshots appear only where the signed-in flow was live-verified; text and commands remain the complete guide.

  1. Update Codex

    Use a current Codex CLI or IDE extension that supports Streamable HTTP and OAuth MCP servers.

  2. Add ClawCall

    Add the remote server under the name clawcall.

    codex mcp add clawcall --url https://api.clawcall.dev/mcp
  3. Start OAuth

    Run the login command. Codex supports DCR/CIMD; ClawCall's discovery metadata handles registration without a copied API key.

    codex mcp login clawcall
  4. Approve the scopes

    Sign in to ClawCall and review calls:read and calls:write. Return to Codex after the browser callback completes.

  5. Verify discovery

    Run `codex mcp list` and open `/mcp` in the TUI. Confirm clawcall is enabled and nine tools are available.

  6. Set trusted approvals

    After reviewing all tools, set the ClawCall server/tools to Always allow in the active approval policy. This is the official ClawCall recommendation for a trusted local profile.

  7. Run a controlled test

    Ask for get_balance first. Then call a number you control, poll to finalized, and inspect the transcript.

OAuth scopes and host permissions

A compatible host receives revocable OAuth tokens, never your ClawCall API key. The consent flow requests two bounded scopes:

calls:read

Read plan and trial state, call status, transcripts, history, and temporary recording access.

calls:write

Place and hang up real phone calls when you ask the assistant to do so.

Recommended Codex setting: Always allow all ClawCall tools

Use Codex's per-server or per-tool approval controls to Always allow all nine ClawCall tools after review. Keep the setting in a trusted user profile; do not commit personal OAuth credentials to a repository.

Elevated-risk disclosure

Codex can combine code, shell, and external tools. Always allow removes repeat tool approval, so an ambiguous prompt can have real-world effects. Keep call instructions explicit and review repository instructions before trusting project-scoped MCP configuration.

Always allow removes repetitive host prompts; it does not expand OAuth scopes, bypass host or organization policy, authorize spam or robocalls, increase service limits, or turn ClawCall into a bulk campaign tool.

Verify read-only, then place one controlled call

Start with account state. Only after that succeeds should you use a number you control for the first real call.

1 · Read-only verification

Check my ClawCall plan and remaining trial allowance. Do not place a call.

2 · Controlled connector test

Using ClawCall, call my phone at +1XXXXXXXXXX. Say this is a connector test, ask me to confirm I can hear the AI, then end the call. Show me the complete transcript afterward.

No manual selection required. When OpenAI Codex is operating through a compatible MCP host, ask normally. The host can select ClawCall automatically when the task needs a call. Manual selection is optional and remains useful for diagnosis.
No fabricated artifact. This host was researched from official documentation but not live-tested with ClawCall for this release, so the page does not show or imply a successful call outcome.

The 9 ClawCall tools

Read the transcript before declaring success. A call's outcome describes the phone network; it does not prove the user's task was completed.

ToolAccessWhat it does
get_calling_guideReadRequired before any ClawCall work. Read current workflow guidance and examples before placing calls.
get_balanceReadRead the signed-in account's plan and remaining trial allowance.
place_callWriteStart one real outbound phone call and return immediately.
place_call_and_waitWriteStart one call and wait up to 90 seconds for an initial result.
get_callReadRead a call's lifecycle, outcome, and a bounded transcript tail.
get_call_transcriptReadRead the complete transcript for a call.
list_callsReadRead recent call history for the connected account.
get_recordingReadGet a temporary, playable recording URL when one is available.
hangup_callWriteStop a queued or live phone call.

Troubleshooting

The server returns 404 or no tools appear

Confirm the server URL is exactly https://api.clawcall.dev/mcp; the trailing /mcp is required. Refresh or reconnect after correcting it.

You see 401 or Sign in required

Restart the host's Connect, Auth, or MCP login flow and approve ClawCall access again. Do not replace OAuth with a pasted ClawCall API key.

The tool list looks stale

Refresh or restart the MCP connection, then start a new conversation so the host loads current tool metadata. The current server exposes nine tools.

A phone number is rejected

ClawCall currently calls real US numbers only. Use +1 E.164 format: +1 followed by ten digits.

The wait ended while the call is still running

Ask the host to poll get_call. A host or tool wait cap is not itself a call failure; verify lifecycle, outcome, and transcript.

A recording link no longer works

Recording URLs are temporary. Request a fresh URL with get_recording; treat the transcript as the durable result.

Disconnect and revoke access

01Disconnect or remove ClawCall in OpenAI Codex.
02Open ClawCall Dashboard → Settings → Connected AI assistants → Disconnect to revoke the OAuth token family.

OpenAI Codex and ClawCall FAQ

Do I need to choose ClawCall before every request?
No. Once a compatible connection is enabled, the agent can select ClawCall automatically when an ordinary prompt requires a phone call. A tool picker or explicit tool name is useful for diagnosis, not a mandatory ritual.
Why does ClawCall recommend Always allow or Allow all?
It lets a trusted agent place the requested call, poll its status, and retrieve the transcript without repeated host approval prompts. This is an elevated-risk choice because real calls can affect people and consume plan allowance.
Does a successful network outcome prove the task succeeded?
No. A network outcome describes the call path. Read the full transcript before claiming a reservation, cancellation, price, or other real-world task was completed.
How do I revoke access?
Remove or disconnect ClawCall in the host, then open ClawCall Dashboard → Settings → Connected AI assistants → Disconnect to revoke that connection's token family.

Sources, review method, and next steps

ClawCall reviewed first-party host documentation and its own current product documentation on the dates below. Only ChatGPT and Claude are labeled as live UI verified.

  1. OpenAI: Model Context Protocol in Codexofficial-host-doc · checked
  2. OpenAI: The next phase of Education for Countriesfirst-party-adoption · checked
  3. ClawCall: Hosted MCP for AI agentsfirst-party-product-doc · checked
  4. ClawCall securityfirst-party-security · checked
Use ClawCall on iMessage