How to Connect Cloudflare Workers Bindings Remote MCP to OpenAI Codex CLI

Add Cloudflare's remote MCP server to OpenAI Codex CLI in about a minute.

๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEOAuth 2.1ยทhttps://bindings.mcp.cloudflare.com/mcp

Step-by-step

  1. Edit ~/.codex/config.toml
    Add the [mcp_servers.cloudflare-workers] table shown in the connect card (TOML) to ~/.codex/config.toml โ€” Codex loads remote MCP servers at startup.
  2. Authorize
    On first use your client opens a Cloudflare OAuth consent screen โ€” approve it and tools become available.
  3. Verify
    Restart Codex, then run codex mcp list (or ask the agent to call a tool). Verify in the browser: paste https://bindings.mcp.cloudflare.com/mcp into remotemcp.net/inspector and run initialize + tools/list.

Troubleshooting OAuth / 401

  • A 401 Unauthorized on first connect is normal โ€” the endpoint is OAuth-protected; let OpenAI Codex CLI finish the browser consent flow.
  • If the consent window never opens, remove and re-add the server, then retry.
  • Check the exact challenge at our OAuth debugger.
  • Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
HTTP + SSEhttps://bindings.mcp.cloudflare.com/mcp
Legacy SSE endpoint
SSEhttps://bindings.mcp.cloudflare.com/sse

Add to ~/.codex/config.toml โ€” Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.cloudflare-workers]
url = "https://bindings.mcp.cloudflare.com/mcp"

Tools exposed by Cloudflare Workers Bindings MCP (15)

ToolSafetyDescriptionParameters
workers_list
~31 tok
๐ŸŸข ReadList Workers scripts in the account.โ€”
worker_get_worker_code
~31 tok
๐ŸŸข ReadDownload a Worker's code.โ€”
worker_put_worker_code
~31 tok
๐ŸŸ  WriteDeploy code for a Worker.โ€”
kv_list_namespaces
~29 tok
๐ŸŸข ReadList KV namespaces.โ€”
kv_get
~26 tok
๐ŸŸข ReadGet a KV entry value.โ€”
kv_put
~25 tok
๐ŸŸ  WriteWrite a KV entry.โ€”
kv_delete
~26 tok
๐Ÿ”ด DestructiveDelete a KV entry.โ€”
d1_list_databases
~28 tok
๐ŸŸข ReadList D1 databases.โ€”
d1_create_database
~29 tok
๐ŸŸ  WriteCreate a D1 database.โ€”
d1_database_query
~32 tok
๐ŸŸ  WriteRun a SQL query on a D1 database.โ€”
r2_list_buckets
~27 tok
๐ŸŸข ReadList R2 buckets.โ€”
r2_create_bucket
~28 tok
๐ŸŸ  WriteCreate an R2 bucket.โ€”
r2_delete_bucket
~28 tok
๐Ÿ”ด DestructiveDelete an R2 bucket.โ€”
r2_list_objects
~30 tok
๐ŸŸข ReadList objects in an R2 bucket.โ€”
r2_get_object
~28 tok
๐ŸŸข ReadGet an object from R2.โ€”

Connect Cloudflare Workers Bindings MCP to another client

Other servers for OpenAI Codex CLI

GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.

https://api.githubcopilot.com/mcp/
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.1๐Ÿ›ก๏ธ A+~3096 tok92 toolsOnline261ms
Notion MCPNotion Labs

Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.

https://mcp.notion.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEOAuth 2.1๐Ÿ›ก๏ธ A+~606 tok18 toolsOnline21ms
Linear MCPLinear Orbit Inc.

Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.

https://mcp.linear.app/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedHTTP + SSEOAuth 2.1๐Ÿ›ก๏ธ A+~899 tok30 toolsOnline8ms

Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.

https://mcp.figma.com/mcp
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.1๐Ÿงฉ MCP App๐Ÿ›ก๏ธ A+~286 tok8 toolsOnline231ms
AWS KnowledgeAmazon Web Services

AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated โ€” connect and call tools immediately.

https://knowledge-mcp.global.api.aws
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPPublic ยท No Auth๐Ÿ›ก๏ธ A+~1896 tok5 toolsOnline155ms

Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.

https://mcp.stripe.com
๐Ÿ›ก๏ธ Officialโœ“ VerifiedStreamable HTTPOAuth 2.1๐Ÿ›ก๏ธ A+~1336 tok43 toolsOnline217ms