Review Cloudflare audit logs and settings with an agent
Use Cloudflare's MCP servers to ask who changed DNS or firewall settings and get a report from audit logs for review.
DifficultyBeginner
Setup timeUnder 1 hour
CategoryIT & DevOps
The use case
After an unexpected change, admins need to know who changed what across Cloudflare accounts. Cloudflare's MCP servers let agents query audit logs and generate reports, and other servers cover DNS analytics, logs and configuration. An admin can ask which rules changed in the last week and by whom, and get a summary with links. This speeds up change reviews and compliance checks. The admin still confirms findings in the dashboard and handles any rollback, and the agent should get read-only API tokens.
Example workflow
- Connect the Cloudflare MCP server with a read-only token
- Ask about recent changes or a specific zone
- Review the generated report
- Confirm in the Cloudflare dashboard
- Roll back or document changes by hand
Tools
- Cloudflare MCP servers
- Claude
- Cloudflare
Risks and guardrails
- Write-capable tokens could change DNS; use read-only
- Audit summaries may miss events outside the queried window
- Keep reports internal; they reveal infrastructure details
Sources
Written by Agents Lookup. Credits and official pages for the tools this use case names:
- Cloudflare on GitHub: MCP servers: github.com/cloudflare/mcp-server-cloudflare
- Cloudflare blog: new MCP servers: blog.cloudflare.com/thirteen-new-mcp-servers-from-cloudflare
- Cloudflare MCP servers (official page): github.com/cloudflare/mcp-server-cloudflare (checked 2026-11-09)
- Claude (official page): claude.ai (checked 2026-11-09)