# Cloudflare Audit Logs (verified)

Audit log queries and reporting. Query audit logs and generate compliance reports.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add cloudflare/audit-logs

# Browse available tools
npx -y @smithery/cli@latest tool list cloudflare/audit-logs

# Get full schema for a tool
npx -y @smithery/cli@latest tool get cloudflare/audit-logs accounts_list

# Call a tool
npx -y @smithery/cli@latest tool call cloudflare/audit-logs accounts_list '{}'
```

## Direct MCP Connection

Endpoint: `https://cloudflare-audit-logs.run.tools`

## Tools (3)

- `accounts_list` — List all accounts in your Cloudflare account
- `set_active_account` — Set active account to be used for tool calls that require accountId
- `auditlogs_by_account_id` — Find all audit logs (a list of who made what change when) for a Cloudflare Account by ID.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get cloudflare/audit-logs <tool-name>
```
