HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/.codex/.tmp/plugins/plugins/cloudflare/commands/build-mcp.md
---
description: Build a remote MCP server on Cloudflare with tools and OAuth
argument-hint: [mcp-description]
allowed-tools: [Read, Glob, Grep, Bash, Write, Edit, WebFetch]
---

# Build MCP Server on Cloudflare

This command helps you build remote Model Context Protocol (MCP) servers on Cloudflare with tools, OAuth authentication, and production deployment.

## Arguments

The user invoked this command with: $ARGUMENTS

## Instructions

When this command is invoked:

1. Read the skill file at `skills/building-mcp-server-on-cloudflare/SKILL.md` for core guidance
2. Reference `skills/building-mcp-server-on-cloudflare/references/examples.md` for official templates
3. Use `skills/building-mcp-server-on-cloudflare/references/oauth-setup.md` for security and OAuth
4. Consult `skills/building-mcp-server-on-cloudflare/references/troubleshooting.md` for common issues

## Capabilities

- Remote MCP server deployment on Cloudflare Workers
- OAuth 2.0 authentication setup
- Tool definition and implementation
- Production-ready deployment patterns
- Integration with Codex and other MCP clients

## Example Usage

```
/cloudflare:build-mcp a GitHub integration server
/cloudflare:build-mcp database query tool with OAuth
/cloudflare:build-mcp file management MCP server
```