Open
Conversation
2dd55d9 to
050f619
Compare
Add a new `apps/dns-records` MCP server with full CRUD operations for Cloudflare DNS records. This is a standalone app separate from dns-analytics, as DNS record management is operationally distinct from analytics reporting. Tools provided: - dns_records_list: List/filter DNS records for a zone - dns_record_get: Get a specific DNS record by ID - dns_record_create: Create DNS records (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR) - dns_record_update: Partial update via PATCH semantics - dns_record_delete: Delete a DNS record Plus shared account and zone tools from @repo/mcp-common. Closes cloudflare#251 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
050f619 to
a598afd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
apps/dns-recordsMCP server with full CRUD operations for Cloudflare DNS records. This is a standalone app separate fromdns-analytics, as DNS record management is operationally distinct from analytics reporting.Closes #251
New Tools
dns_records_listreadOnlyHint: truedns_record_getreadOnlyHint: truedns_record_createdestructiveHint: falsedns_record_updatedestructiveHint: falsedns_record_deletedestructiveHint: truePlus shared
accounts_list,set_active_account,zones_list, andzone_detailstools from@repo/mcp-common.Design Decisions
dns-analytics: DNS record management (CRUD) is operationally distinct from DNS analytics (reporting). This follows the monorepo's pattern of focused, single-purpose MCP servers (e.g.,workers-bindingsvsworkers-observability). Issue Feature Request: DNS Records Management MCP Server #251 also explicitly requests a separate server.dns_record_update: Uses the SDK'sclient.dns.records.edit()(PATCH) rather thanupdate()(PUT/full overwrite), so users only need to provide fields they want to change. This is a better fit for MCP tool usage where partial updates are the common case.dns_records:readanddns_records:write(plus required base scopes andaccount:read/zone:readfor shared tools). No analytics or settings scopes needed.Files
Testing
check:turbo(39/39),check:format,check:deps,test(31/31)wrangler devusingDEV_DISABLE_OAUTH=truemode