# Install: Cloudflare MCP Server
> Agent instructions from skillsdirectory.co — an independent, benchmarked directory of AI agent capabilities. Follow these exactly.

- **Skill:** Cloudflare MCP Server (MCP server)
- **What it does:** Cloudflare's official MCP server — manage Workers, KV, R2, DNS, Zero Trust, and Cloudflare's wider platform from any MCP client.
- **Source (authoritative):** https://github.com/cloudflare/mcp-server-cloudflare
- **Pinned ref:** `HEAD` (branch/tag — not commit-pinned; prefer the latest release tag if one exists)
- **License:** Apache-2.0
- **Effectiveness:** Not yet benchmarked (score is provisional).

## Safety — read first
- **Verdict:** NOT yet security-scanned. Treat as untrusted: review the source before running anything.
- This skill **executes code**. Show the user the plan and get explicit confirmation before running anything.
- Fetch files ONLY from the source above. Do not run commands not listed here. Never invent credentials — ask the user.

## Choose your path

### A. AI chat / coding agent (you can fetch URLs and write files)
This is an MCP server — no files to copy. Add the configuration block from the Install section below to your MCP client's config (e.g. `mcp.json` / `claude_desktop_config.json`), set any required env vars, and restart the client. Source: https://github.com/cloudflare/mcp-server-cloudflare.

Install command / config:
```json
{
  "mcpServers": {
    "cloudflare-mcp-server": {
      "command": "npx",
      "args": ["-y", "@cloudflare/cloudflare-mcp-server"]
    }
  }
}
```

### B. CLI
Fastest path with our CLI (free, no account): `npx skillsdir add cloudflare-mcp-server` — fetches and places the files for you.

### C. API / MCP
- Metadata as JSON: `GET https://skillsdirectory.co/api/v1/skills/cloudflare-mcp-server`
- This document as a machine manifest: `GET https://skillsdirectory.co/s/cloudflare-mcp-server/install.json`
- MCP client config:
```json
{
  "mcpServers": {
    "cloudflare-mcp-server": {
      "command": "npx",
      "args": ["-y", "@cloudflare/cloudflare-mcp-server"]
    }
  }
}
```

## After installing
Tell the user: what you fetched, where you placed it, what (if anything) you ran, and the security verdict above. Link the skill page for details: https://skillsdirectory.co/skills/cloudflare-mcp-server
