MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@trigidigital

关于 Building a Remote MCP Server on Cloudflare (Without Auth)

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

trigidigital

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

A template for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It exposes tools via an SSE endpoint and is intended for developers who want to experiment with remote MCP servers accessible from Cloudflare’s AI Playground or local MCP clients.

How to use Building a Remote MCP Server on Cloudflare (Without Auth)?

Deploy by clicking the “Deploy to Workers” button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside src/index.ts using this.server.tool(...). Connect from the Cloudflare AI Playground by entering your deployed SSE URL, or from Claude Desktop using the mcp-remote proxy with an adapted claude_desktop_config.json.

Key features of Building a Remote MCP Server on Cloudflare (Without Auth)

  • One‑click deploy to Cloudflare Workers
  • No authentication required for the MCP server
  • Easy tool customization via this.server.tool()
  • Pre‑configured SSE endpoint (/sse)
  • Works with Cloudflare AI Playground as a remote client
  • Compatible with local MCP clients using mcp-remote proxy

Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Prototyping custom MCP tools without auth overhead
  • Connecting Cloudflare AI Playground to user‑defined tools
  • Running a remote MCP server for personal experimentation
  • Testing MCP integrations before adding authentication

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy the MCP server?

Click the “Deploy to Workers” button or use the CLI command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless.

How do I add custom tools?

Add tools inside the init() method of src/index.ts using this.server.tool(...). Each tool is defined following the MCP Server SDK.

How do I connect the server to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL (e.g., remote-mcp-server-authless.your-account.workers.dev/sse), and start using the tools directly in the playground.

How do I connect the server to Claude Desktop?

Install mcp-remote (npx mcp-remote ...) and update Claude Desktop’s configuration (claude_desktop_config.json) to use the mcp-remote command with your SSE URL as an argument.

Does the server require any authentication?

No, this example explicitly builds an MCP server without authentication. For production use, you may want to add authentication.

评论

开发工具 分类下的更多 MCP 服务器