Remote MCP Server for Website Analysis

Integrations

  • Utilizes Cloudflare's Browser Rendering and AI capabilities for website analysis and content extraction.

  • Enables deployment of the MCP server on Cloudflare Workers infrastructure for serverless execution.

  • Provides the mcp-remote proxy package for connecting local MCP clients to the remote MCP server.

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

此示例允许您在 Cloudflare Workers 上部署无需身份验证的远程 MCP 服务器。该服务器包含使用 Cloudflare 的浏览器渲染和 AI 功能进行网站分析和内容提取的工具。

开始:

这会将您的 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

可用工具

网站分析工具

  1. 分析网站
    • 使用 Cloudflare 的浏览器渲染功能抓取并分析网站
    • 使用 Cloudflare AI 提供网站内容摘要
    • 输入: url (字符串)- 需要分析的网站 URL
    • 示例: [tool] analyze_website(url: "https://example.com")
  2. 关于网站的问题
    • 抓取网站内容并回答有关其内容的具体问题
    • 使用 Cloudflare AI 理解并回答有关网站的问题
    • 输入:
      • url (字符串) - 要分析的网站 URL
      • question (字符串) - 您关于网站内容的问题
    • 示例: [tool] ask_q_about_website(url: "https://example.com", question: "What services does this company offer?")

自定义您的 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,您就会看到工具可用。

要求

要使用网站分析工具,您需要:

  1. 启用浏览器绑定的 Cloudflare Workers
  2. Cloudflare AI 绑定已配置
  3. 两种绑定的适当权限

确保您的wrangler.jsonc包含:

{ "browser": { "binding": "BROWSER" }, "ai": { "binding": "AI" } }
-
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 服务器,使用 Cloudflare 的浏览器渲染和 AI 功能提供抓取、分析和回答有关网站的问题的工具。

  1. 开始:
    1. 可用工具
      1. 网站分析工具
    2. 自定义您的 MCP 服务器
      1. 连接到 Cloudflare AI Playground
        1. 将 Claude Desktop 连接到您的 MCP 服务器
          1. 要求

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that runs on Cloudflare Workers with OAuth login, allowing AI assistants like Claude to execute tools remotely through HTTP connections.
              Last updated -
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server for Cloudflare Workers that integrates with Claude AI, enabling tool usage through OAuth login and SSE connections.
              Last updated -
              14
              TypeScript
            • A
              security
              A
              license
              A
              quality
              A server that leverages Playwright for automated browser testing and integrates with Cloudflare Workers, enabling AI assistants to control web browsers for navigation, interaction, and screenshots.
              Last updated -
              21
              60,271
              37
              TypeScript
              Apache 2.0
            • -
              security
              F
              license
              -
              quality
              A Cloudflare Workers-based server implementing the Model Context Protocol that enables AI assistants like Claude to securely access external tools through OAuth authentication.
              Last updated -
              14
              TypeScript

            View all related MCP servers

            ID: se9d08cr51