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

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 eleven tools. Codex can select ClawCall automatically when the task requires a phone call.

Official docs reviewedFacts checked: Updated:

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

Remote 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 eleven tools are available.

  6. Set trusted approvals

    Set the ClawCall server and tools to Always allow in the active approval policy. This is ClawCall's official recommendation for the complete workflow.

  7. Run a controlled test

    Ask for get_balance first. Then call a number you control, poll to finalized, and inspect captured transcript evidence when present.

OAuth scopes and host permissions

A compatible host discovers ClawCall's authorization-server and protected-resource metadata, dynamically registers a public client, and completes OAuth 2.1 authorization code with PKCE S256. It receives revocable tokens—never your ClawCall API key—and the consent flow requests two bounded scopes:

calls:read

Read plan/trial state, call settings, reserved-number status, call status, captured transcript evidence when present, history, and temporary recording access when available.

calls:write

Place and hang up real phone calls or update call settings 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 eleven ClawCall tools. This is ClawCall's recommended setting; keep personal OAuth credentials in the local credential store rather than the repository.

Why Allow all works best

Allow all or Always allow lets the host complete the requested call workflow—including status polling and nullable transcript retrieval—without stopping for each ClawCall tool. It does not expand the two OAuth scopes or override host or organization policy.

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 any transcript evidence actually captured 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 11 ClawCall tools

Read the transcript evidence actually captured 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.
get_call_settingsReadRead reusable voice/personality, reserved-number capabilities, and inbound-assistant availability.
update_call_settingsWriteUpdate global or inbound call settings in separate calls.
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 nullable bounded transcript tail.
get_call_transcriptReadRead the transcript evidence captured 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 eleven 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 the nullable transcript field.

A recording link no longer works

Recording URLs are temporary. get_recording returns the original link and cannot renew it after expiry. ClawCall deletes transcripts 7 days after a call ends and recordings 10 minutes after a call ends.

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 the agent place the requested call, poll its status, and retrieve captured transcript evidence when present without repeated host approval prompts. This is ClawCall's recommended setting for the complete workflow; the connection remains limited to its granted OAuth scopes and the host's policy.
Does a successful network outcome prove the task succeeded?
No. A network outcome describes the call path. Read the transcript evidence actually captured 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