MCP.so
登录

Cloudflare MCP Server

@shashankboosi

基本信息

分类

云与基础设施

许可证

MIT

传输方式

stdio

作者

shashankboosi

关于 Cloudflare MCP Server

Build an MCP server and deploy it to cloudflare workers

Cloudflare MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "cloudflare-mcp": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

Cloudflare MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Cloudflare MCP?

Cloudflare MCP is a template repository for creating and deploying a Model Context Protocol (MCP) server on Cloudflare Workers. It is intended for developers who want to build custom MCP servers that run on Cloudflare’s edge network and can be integrated with AI agents.

How to use Cloudflare MCP?

To get started, run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to create a new project from the template. Navigate into the project directory and run npm start to run the server locally. For production, deploy with npm run deploy, which publishes the server as a Cloudflare Worker with an SSE endpoint.

Key features of Cloudflare MCP

  • Creates a new MCP server using a Cloudflare-provided template
  • Runs locally with a single npm start command
  • Deploys to Cloudflare Workers with npm run deploy
  • Supports testing via MCP Inspector and Cloudflare Playground
  • Uses SSE transport for remote MCP communication
  • Requires only Node.js, Wrangler CLI, and a Cloudflare account

Use cases of Cloudflare MCP

  • Build custom MCP servers to expose tools and resources to AI agents
  • Deploy MCP servers at the edge for low-latency access
  • Rapidly prototype and test MCP tools using Cloudflare’s developer tools
  • Integrate Cloudflare Workers’ capabilities (e.g., KV, D1, AI) into MCP toolkits

常见问题

1

What are the prerequisites for using Cloudflare MCP?

You need Node.js (version 18 or later), the Wrangler CLI (`npm install -g wrangler`), and a Cloudflare account for deployments.

2

How do I test my MCP server locally?

Run `npm start` to start the server, then use `npx @modelcontextprotocol/inspector` to inspect and test your tools and resources. You can also connect to the server using the Cloudflare Playground at `https://playground.ai.cloudflare.com/`.

3

Where is the MCP server deployed?

It deploys to Cloudflare Workers at a URL like `https://my-mcp-server.<your-account>.workers.dev/sse`, using Server-Sent Events (SSE) as the transport protocol.

4

Does the template include authentication?

The template is labeled “authless”, meaning no built-in authentication is included. Users may need to add their own authentication layer for production use.

评论

云与基础设施 分类下的更多 MCP 服务器