Description

Cloudflare Audit Logs MCP server provides secure access to Cloudflare account activity logs through a standardized interface. Built on Cloudflare Workers, it authenticates users via OAuth, retrieves detailed audit information about account changes, and presents the data in a structured format optimized for AI assistants. The server leverages Durable Objects for state management and implements comprehensive filtering options for querying logs by time period, actor, action type, and resource scope. It's particularly valuable for security monitoring, compliance tracking, and investigating configuration changes across Cloudflare accounts.

Installation

git clone https://github.com/cloudflare/mcp-server-cloudflare/tree/HEAD/apps/auditlogs

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "cloudflare-audit-logs": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}