---
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
```
