Cloudflare Logpush MCP 服务

该服务通过 Cloudflare Logpush API 提供按账户查询 Logpush 任务及错误状态的能力,适用于日志推送作业的监控与故障排查;目前已弃用,建议改用 Cloudflare API MCP server。

  • by cloudflare
  • TypeScript
  • 云端部署
  • 4429 星标
  • 更新于
在 GitHub 查看 cloudflare/mcp-server-cloudflare

使用说明

Cloudflare Logpush MCP Server 📜

[!WARNING] This server is deprecated. Use the Cloudflare API MCP server at https://mcp.cloudflare.com/mcp instead. It covers the full Cloudflare API, including Logpush.

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

It integrates tools powered by the Cloudflare Logpush API to provide insights into Logpush jobs.

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 remains durable security state; no MCP protocol session or protocol Durable Object is retained.

🔨 Available Tools

Currently available tools:

Category Tool Description
Logpush Jobs By Account logpush_jobs_by_account_id Fetches Logpush jobs by specific account or all accounts under the user

This MCP server is still a work in progress, and we plan to add more tools in the future.

Prompt Examples

  • Which Logpush jobs failed recently?
  • Do any of my Logpush jobs in my <insert name> account have errors?
  • Can you list all the enabled job failures from today?

Connect to the MCP server

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