# Connect OpenAI Codex to ClawCall with remote MCP

Canonical HTML: https://clawcall.dev/guides/codex-mcp
Published: 2026-08-23
Updated: 2026-10-04

Add ClawCall with `codex mcp add`, then sign in with `codex mcp login clawcall`. Codex can then place a call when a task needs one, with [live delegation](/guides/live-agent-lookups): during the call it answers questions the request didn’t cover.

## Connection summary

- Setup path: CLI or IDE MCP server
- Transport: Streamable HTTP
- Auth: OAuth with DCR/CIMD
- Availability: Use a current Codex CLI or IDE extension. Your configuration and OAuth credentials stay in your own user profile.
- Remote MCP endpoint: https://api.clawcall.dev/mcp

## Before you start

- A current OpenAI Codex CLI or IDE extension.
- A ClawCall account.
- A destination number 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.

## Setup steps

### 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 its tools are available.

### 6. Always allow ClawCall

Set the ClawCall server and tools to Always allow in the active approval policy.

## Recommended: Always allow ClawCall tools

Always allow skips the repeated approval prompts, and the two OAuth scopes keep ClawCall’s access exactly where you set it.

Use Codex’s per-server or per-tool approval controls to Always allow all of ClawCall's tools, so it can run the complete calling workflow. Keep your OAuth credentials in the local credential store, not the repository.

Codex can pick ClawCall automatically when a task needs a phone call; naming the tool is optional.

## Verify and place a first call

- Read-only check: "Check my ClawCall plan and remaining trial allowance. Do not place a call."
- First call prompt: "Using ClawCall, call my phone at +1XXXXXXXXXX. Say this is a test, ask me to confirm I can hear you, then hang up and tell me what was said."

## What a Codex call looks like

For example, you ask Codex to confirm whether a store has a part in stock. Codex places one call with `delegation: true`. If the store asks for a model number the request didn’t include, the phone agent asks Codex, which checks your files and answers mid-call, and the other side hears one caller. If the store asks for a decision only you can make, ClawCall holds the line, calls you, briefs you privately and bridges you in only on your yes. The phone agent presses through the phone menu and detects hold by itself. When the call ends, Codex reads the outcome and the transcript (when present) before it reports back.

## Troubleshooting

Shared MCP and OAuth troubleshooting: https://clawcall.dev/docs#troubleshooting

## OAuth scopes and MCP tools

- `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, answer the phone agent's questions during a call, or update call settings when you ask the assistant to do so.

- `get_calling_guide` (Read): Returns current request fields, workflows, and example requests for building calls.
- `get_balance` (Read): Read the signed-in account's plan and remaining trial allowance.
- `get_call_settings` (Read): Read reusable voice/personality, reserved-number capabilities, and inbound-assistant availability.
- `update_call_settings` (Write): Update global or inbound call settings in separate calls.
- `place_call` (Write): Start one real outbound phone call and return immediately.
- `track_call` (Read): Wait for a call's next event. On calls with delegation enabled, it also returns the phone agent's questions, and answering one needs calls:write.
- `get_call` (Read): Read a call's lifecycle, outcome, and the latest transcript lines when present.
- `get_call_transcript` (Read): Read the transcript evidence captured for a call.
- `list_calls` (Read): Read recent call history for the connected account.
- `get_recording` (Read): Get a temporary, playable recording URL when one is available.
- `hangup_call` (Write): Stop a queued or live phone call.
- `connect_webhook` (Write): Send call events to a webhook endpoint if your system supports webhooks, then send a test event.

## Frequently asked questions

### What does it cost?

New ClawCall accounts get 30 calls or 30 minutes free, whichever comes first. After that, plans start at $8.99 a month with no per-minute charges.

### Do I have to mention ClawCall?

No. Once it’s connected, Codex uses ClawCall on its own when a task needs a phone call. Naming it is optional.

### Can Codex stay in the call and answer questions?

Yes, on calls placed with `delegation: true`. Codex follows the live transcript with `track_call`, answers the phone agent’s questions as they come up, and ends the call with `hangup_call`.

### What number does the call come from?

A shared ClawCall number on every plan, or your own private number with your choice of area code on Unlimited Reserve at $14.99 a month.

### Where do the OAuth credentials live?

In your user profile. Codex keeps them in its local credential store, so keep them out of the repository.

### How do I control the connection?

Switch clawcall off in Codex’s MCP servers at any time, or manage access from your ClawCall dashboard.

## Related comparison

Can OpenAI Codex make phone calls? https://clawcall.dev/compare/codex-phone-calls

## Sources

- [OpenAI: Model Context Protocol in Codex](https://developers.openai.com/codex/mcp/) (checked 2026-08-23)
- [OpenAI: The next phase of Education for Countries](https://openai.com/index/the-next-phase-of-education-for-countries/) (checked 2026-08-23)
- [ClawCall: Hosted MCP for AI agents](https://clawcall.dev/for-agents) (checked 2026-08-23)
- [ClawCall security](https://clawcall.dev/security) (checked 2026-08-23)
- [ClawCall pricing](https://clawcall.dev/pricing) (checked 2026-08-23)
