Skip to main content
Glama

Cloudflare MCP Server

by jeffgolden

cloudflare-dns-mcp_create_redirect

Create and configure a single URL redirect (Page Rule) for a specified zone, including source and target URLs, redirect type, query string preservation, priority, and status.

Instructions

Create a single URL redirect (Page Rule) for the given zone

Input Schema

NameRequiredDescriptionDefault
preserve_query_stringNo
priorityNo
redirect_typeNo
source_urlYes
statusNoactive
target_urlYes
zone_nameYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "preserve_query_string": { "default": true, "type": "boolean" }, "priority": { "type": "number" }, "redirect_type": { "default": 301, "type": "number" }, "source_url": { "minLength": 1, "type": "string" }, "status": { "default": "active", "enum": [ "active", "disabled" ], "type": "string" }, "target_url": { "minLength": 1, "type": "string" }, "zone_name": { "type": "string" } }, "required": [ "zone_name", "source_url", "target_url" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeffgolden/cloudflare_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server