JUHE API Marketplace
gilberth avatar
MCP Server

MCP Cloudflare DNS Server

A Model Context Protocol server implementation that allows AI agents to manage DNS records for domains hosted on Cloudflare by providing tools to list, create, update, and delete various types of DNS records.

1
GitHub Stars
11/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "cloudflare",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@thelord/mcp-cloudflare"
7 ],
8 "env": {
9 "CLOUDFLARE_API_TOKEN": "your-api-token",
10 "CLOUDFLARE_ZONE_ID": "your-zone-id"
11 }
12}
JSON12 lines
  1. Home
  2. MCP Servers
  3. mcp-cloudflare

README Documentation

MCP Cloudflare DNS Server

A Model Context Protocol server implementation for Cloudflare DNS that enables AI agents to manage DNS records for your domains.

Features

  • 🔍 List DNS records - View all or filtered DNS records
  • 📝 Create DNS records - Add new A, AAAA, CNAME, MX, TXT, and other record types
  • ✏️ Update DNS records - Modify existing records
  • 🗑️ Delete DNS records - Remove unwanted records
  • 🔧 Full Cloudflare API support - Supports proxying, TTL, priority settings

Setup

1. Get Cloudflare API Token

  1. Go to Cloudflare API Tokens
  2. Click "Create Token"
  3. Use "Zone:Edit" template or create custom token with:
    • Zone:Read
    • Zone:Edit
  4. Copy your API token

2. Get Zone ID

  1. Go to your domain in Cloudflare Dashboard
  2. Copy the Zone ID from the right sidebar

Usage

With Smithery (Cloud)

Deploy directly to Smithery for hosted access.

With npx (Local)

npx -y @thelord/mcp-cloudflare

Environment Variables

Create a .env file:

CLOUDFLARE_API_TOKEN=your-api-token-here
CLOUDFLARE_ZONE_ID=your-zone-id-here
CLOUDFLARE_EMAIL=your-email@example.com  # Optional

Claude Desktop Configuration

{
  "mcpServers": {
    "cloudflare": {
      "command": "npx",
      "args": ["-y", "@thelord/mcp-cloudflare"],
      "env": {
        "CLOUDFLARE_API_TOKEN": "your-api-token",
        "CLOUDFLARE_ZONE_ID": "your-zone-id"
      }
    }
  }
}

Available Tools

list_dns_records

List all DNS records or filter by name/type.

get_dns_record

Get detailed information about a specific DNS record.

create_dns_record

Create a new DNS record with specified type, name, and content.

update_dns_record

Update an existing DNS record by ID.

delete_dns_record

Delete a DNS record by ID.

Supported DNS Record Types

  • A (IPv4 address)
  • AAAA (IPv6 address)
  • CNAME (Canonical name)
  • MX (Mail exchange)
  • TXT (Text)
  • NS (Name server)
  • SRV (Service)
  • CAA (Certificate Authority Authorization)
  • PTR (Pointer)

Security

  • API tokens are never logged or exposed
  • Uses official Cloudflare API with secure authentication
  • Supports scoped API tokens for minimal permissions

License

MIT# mcp-cloudflare

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved