Remote MCP Server Authless

by zpg6

Integrations

  • Integrates with Cloudflare AI Playground, allowing users to connect to and use the MCP server's tools directly from the playground interface

  • Enables deployment of a remote MCP server without authentication, hosted on Cloudflare Workers infrastructure

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

此示例允许您部署不需要在 Cloudflare Workers 上进行身份验证的远程 MCP 服务器。

开始:

这会将您的 MCP 服务器部署到类似以下 URL: remote-mcp-server-authless.<your-account>.workers.dev/sse

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

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

自定义您的 MCP 服务器

要将您自己的工具添加到 MCP 服务器,请在src/index.tsinit()方法中使用this.server.tool(...)定义每个工具。

连接到 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/sse )
  3. 您现在可以直接从游乐场使用您的 MCP 工具!

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

您还可以使用mcp-remote 代理从本地 MCP 客户端连接到远程 MCP 服务器。

要从 Claude Desktop 连接到您的 MCP 服务器,请按照Anthropic 的快速入门,并在 Claude Desktop 中转到设置 > 开发人员 > 编辑配置。

使用此配置进行更新:

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

重新启动 Claude,您就会看到工具可用。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

一种无服务器解决方案,用于在 Cloudflare Workers 上部署模型上下文协议 (MCP) 服务器,无需身份验证要求,使开发人员能够通过 MCP 标准创建和访问自定义 AI 工具。

  1. 开始:
    1. 自定义您的 MCP 服务器
      1. 连接到 Cloudflare AI Playground
        1. 将 Claude Desktop 连接到您的 MCP 服务器

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A deployable MCP (Model Context Protocol) server on Cloudflare Workers that doesn't require authentication, allowing users to create and access custom AI tools through Claude Desktop or the Cloudflare AI Playground.
            Last updated -
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A tool that allows deployment of a remote MCP (Model Context Protocol) server on Cloudflare Workers without authentication requirements, enabling connection to AI models through Claude Desktop or Cloudflare AI Playground.
            Last updated -
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A serverless tool that allows deployment of authentication-free Model Context Protocol servers on Cloudflare Workers, enabling AI assistants to utilize custom tool functionalities.
            Last updated -
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A serverless Model Context Protocol implementation on Cloudflare Workers that enables AI tools without requiring authentication, allowing connection from AI Playground or Claude Desktop.
            Last updated -
            TypeScript

          View all related MCP servers

          ID: gij8mg69zx