← Files CloudflareARCHIVED FILE

commands/build-mcp.md

1.25 KB · Sep 30, 2026 · 23:18 UTC

↓ Download file

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

SHA-256: 4ffd5aadf725050910f2c87c0aef416188c147c7c6afe16b900f5301b44d1469