MCPInstall
Cloudflare Audit Logs logo

Cloudflare Audit Logs

Featured
by cloudflare 4,424 stars cloudflare/mcp-server-cloudflare

Audit logs summarize the history of changes made within your Cloudflare account. Audit logs include account level actions like zone configuration changes.

READMEHEAD

Cloudflare Audit Logs MCP Server 🕵🏻

Deprecated

This dedicated MCP server is deprecated. Use the Cloudflare API MCP server at mcp.cloudflare.com/mcp instead. It covers the Audit Logs v2 API, including filters and cursor pagination through GET /accounts/{account_id}/logs/audit.

The Audit Logs API itself is not deprecated. Only this dedicated MCP server is being retired.

Configure the replacement server in your MCP client:

{
	"mcpServers": {
		"cloudflare-api": {
			"url": "https://mcp.cloudflare.com/mcp"
		}
	}
}

The replacement's search and execute tools cover the full Cloudflare API and return the complete Audit Logs API response. Clients that need endpoint-specific tools can use https://mcp.cloudflare.com/mcp?codemode=false; Audit Logs is exposed as get_accounts_logs_audit. See cloudflare/mcp for details.

The tool below still works for now, but no new features will be added. Please migrate to the Cloudflare API MCP server.


This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Cloudflare OAuth built-in.

Audit logs summarize the history of changes made within your Cloudflare account. Audit logs include account level actions like zone configuration changes. The tool is powered by the Audit Log API.

The /mcp URL uses a stateless SDK v2 handler that creates a fresh server with request-scoped auth/account context for every request. The retired /sse URL returns 410 Gone pointing at /mcp. OAuth grants and token validation remain durable security state; the server stores no MCP protocol session.

🔨 Available Tools

Currently available tools:

CategoryToolDescription
Audit Logsauditlogs_by_account_idFetches the history of changes between within your Cloudflare account over a specific time range

Note: This tool is account-scoped. Single-account credentials and account-scoped API tokens are detected automatically. If your credentials can access multiple accounts, pass account_id to the tool or set a cf-account-id request header in your MCP client configuration.

Prompt Examples

  • Were there any suspicious changes made to my Cloudflare account yesterday around lunch time?
  • When was the last activity that updated a DNS record?

Connect to the MCP server

This connection information is retained for existing users. New users should configure mcp.cloudflare.com/mcp as shown above.

Connect your MCP client directly to https://auditlogs.mcp.cloudflare.com/mcp. If prompted, complete the Cloudflare OAuth flow in your browser. The tools become available after authorization.

Bug fixes are still accepted. See CONTRIBUTING.md for local setup. New features should be proposed in the unified cloudflare/mcp repository.

More Security & Testing MCP servers

Similar servers from the same category.

Enables deepfake detection in images through Proofly API integration, providing detailed analysis results including real/fake probability scores and individual model results for each detected face.

Security & Testing

CASB provides comprehensive visibility and control over your SaaS applications, so you can easily eliminate the risk of compromise, prevent data loss, and avoid compliance violations.

Security & Testing

YaraFlux

threatflux

Provides YARA-based malware scanning capabilities with support for local and MinIO storage backends, enabling security professionals to manage rules, scan files/URLs, and analyze results for threat detection.

filesystemstorage

Secures remote AI servers using Azure API Management as a gateway with Microsoft Entra ID authentication, enabling enterprise-grade access control for organizations leveraging existing Azure identity services.

authentication