MCP.so
登录

MCP Demo

@akazwz

基本信息

分类

其他

传输方式

stdio

作者

akazwz

关于 MCP Demo

cloudflare workers MCP server

MCP Demo 配置

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

{
  "mcpServers": {
    "workers-mcp-demo": {
      "command": "npx",
      "args": [
        "workers-mcp",
        "setup"
      ]
    }
  }
}

MCP Demo 工具

工具列表暂未提供

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

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

概览

What is MCP Demo?

MCP Demo is a demonstration project that uses Cloudflare Workers MCP to create custom AI tools. These tools can be used with MCP‑capable AI assistants such as Claude Desktop, Cursor, and others. It is intended for developers who want to extend the capabilities of AI assistants with their own serverless functions.

How to use MCP Demo?

Clone the repository, install dependencies with pnpm install, log in to Cloudflare via wrangler login, run npx workers-mcp setup, then deploy with pnpm run deploy. For Claude Desktop, run pnpx workers-mcp install:claude. For Cursor, add a JSON configuration that includes the path to the worker and the worker’s URL. Free‑tier users must remove the browser section from wrangler.jsonc before deploying.

Key features of MCP Demo

  • Custom AI tools running on Cloudflare Workers
  • Seamless integration with Claude, Cursor, and other MCP clients
  • Extend AI capabilities through your own serverless functions
  • Includes tools like getRandomNumber, generateImage, screenshotURL, and extractImagesFromURL

Use cases of MCP Demo

  • Prototype and test custom MCP tools quickly
  • Build custom AI‑powered workflows with a personal serverless backend
  • Experiment with the Model Context Protocol and Cloudflare Workers
  • Integrate generative image creation into AI assistant interactions

常见问题

1

What are the prerequisites for using MCP Demo?

You need Node.js v16 or later, the pnpm package manager, a Cloudflare account, the Wrangler CLI, and an MCP‑compatible client such as Claude Desktop or Cursor.

2

Does MCP Demo require a paid Cloudflare plan?

No, but free‑tier users must remove the `browser` binding from `wrangler.jsonc`. Doing so disables `screenshotURL` and `extractImagesFromURL`; all other tools remain functional.

3

How can I add my own tools?

Edit `src/index.ts` and add a new method to the Worker class. Then redeploy your worker with `pnpm run deploy`. Remember to restart your AI assistant after changing method names or parameters.

4

What should I do if my AI assistant cannot see the tools?

Restart the assistant. If the problem persists, check the Cloudflare Workers logs for deployment errors. Free‑tier users should verify they have removed the `browser` configuration.

5

Where does the project get its data or run?

The entire toolset runs on Cloudflare Workers. No data is stored locally; each tool execution is a stateless request to the deployed worker.

评论

其他 分类下的更多 MCP 服务器