Skip to main content
Glama
bhailu261

remote-mcp-server-authless

by bhailu261

在 Cloudflare 上构建远程 MCP 服务器(无需身份验证)

此示例允许你在 Cloudflare Workers 上部署一个无需身份验证的无状态远程 MCP 服务器。它实现了 MCP 2026-07-28 规范,同时保持与旧版客户端在普通工具调用方面的兼容性。

开始使用:

部署到 Workers

这会将你的 MCP 服务器部署到一个类似这样的 URL:remote-mcp-server-authless.<your-account>.workers.dev/mcp

或者,你可以使用下面的命令行在本地机器上创建远程 MCP 服务器:

npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless

Related MCP server: logistics-mcp

自定义你的 MCP 服务器

要将你自己的 工具 添加到 MCP 服务器,请在 src/index.tscreateServer() 函数中创建的 McpServer 上使用 server.registerTool(...) 注册每个工具。

连接到 Cloudflare AI Playground

你可以从 Cloudflare AI Playground 连接到你的 MCP 服务器,它是一个远程 MCP 客户端:

  1. 前往 https://playground.ai.cloudflare.com/

  2. 输入你部署的 MCP 服务器 URL(remote-mcp-server-authless.<your-account>.workers.dev/mcp

  3. 你现在就可以从 playground 直接使用你的 MCP 工具了!

将 Claude Desktop 连接到你的 MCP 服务器

你还可以通过 mcp-remote 代理 从本地 MCP 客户端连接到你的远程 MCP 服务器。

要从 Claude Desktop 连接到你的 MCP 服务器,请按照 Anthropic 的快速入门指南 操作,然后在 Claude Desktop 中转到 Settings > Developer > Edit Config。

使用此配置进行更新:

{
	"mcpServers": {
		"calculator": {
			"command": "npx",
			"args": [
				"mcp-remote",
				"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
			]
		}
	}
}

重启 Claude 后,你应该会看到这些工具变为可用。

F
license - not found
Not graded
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables deploying a remote MCP server on Cloudflare Workers without authentication, allowing tools to be defined and used with MCP clients like Cloudflare AI Playground or Claude Desktop.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables deploying a remote MCP server on Cloudflare Workers without authentication, allowing custom tool definitions and connections to clients like Claude Desktop and Cloudflare AI Playground.
    253
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Cloudflare Workers MCP server: crypto-signal

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bhailu261/remote-mcp-server-authless'

If you have feedback or need assistance with the MCP directory API, please join our Discord server