MCP.so
登录

Workers MCP Server

@geelen

基本信息

分类

云与基础设施

传输方式

stdio

作者

geelen

关于 Workers MCP Server

Talk to a Cloudflare Worker from Claude Desktop!

Workers MCP Server 配置

暂无标准配置

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

代码仓库

Workers MCP Server 工具

工具列表暂未提供

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

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

概览

What is Workers Mcp?

Workers Mcp is a package that connects Claude Desktop (or any MCP Client) to a Cloudflare Worker on your account. It provides both CLI tooling and in‑Worker logic to expose Worker RPC methods as MCP tools.

How to use Workers Mcp?

Install with npm install workers-mcp, then run npx workers-mcp help for instructions. Create a Worker with a WorkerEntrypoint that exports RPC methods documented with JSDoc. Add workers-mcp docgen src/index.ts to your deploy script, add a fetch handler that proxies events to your entrypoint using ProxyToSelf, generate a shared secret with workers-mcp secret generate, deploy with npm run deploy, and finally run workers-mcp install <alias> <url> to add the Worker to Claude Desktop.

Key features of Workers Mcp

  • Connects Claude Desktop to Cloudflare Workers
  • Exposes Worker RPC methods as MCP tools
  • Uses simple shared‑key authentication
  • Generates tool documentation from JSDoc
  • Automates secret generation and deployment
  • Supports iterative development with redeploy

Use cases of Workers Mcp

  • Build custom Cloudflare Worker tools that Claude can invoke
  • Deploy and interact with Worker functions via natural language
  • Rapidly prototype and iterate on Worker endpoints with AI assistance
  • Extend Claude’s capabilities with your own serverless logic

常见问题

1

How do I install Workers Mcp?

Install it via npm: `npm install workers-mcp`.

2

How do I set up authentication?

Use `npx workers-mcp secret generate` to generate a shared secret, then `npx workers-mcp secret upload` to add it to your deployed Worker. The fetch handler uses `SHARED_SECRET` for authentication.

3

How do I redeploy after changing my Worker code?

Run `npm run deploy` (which runs `workers-mcp docgen` and `wrangler deploy`). If you change method names, parameters, or add/remove methods, Claude will only see the updates after a restart.

4

What transport does Workers Mcp use?

Currently only `ProxySelf` is provided, which requires the Worker to be available on a public URL. `ProxyToServiceBinding` and `ProxyToDurableObject` are planned.

5

Can I use an existing Worker?

Yes, as long as you route your `fetch` calls appropriately and define a `WorkerEntrypoint` with RPC methods.

评论

云与基础设施 分类下的更多 MCP 服务器