该介绍目前仅提供英文版本。
Overview
workers-mcp provides both the CLI tooling and the in-Worker logic to connect Claude Desktop (or any MCP client) to a Cloudflare Worker on your account.
How it works
A build step translates the TypeScript methods of a WorkerEntrypoint class — documented with JSDoc — into MCP tools. A local Node.js server exposes those tools to the MCP client over stdio and proxies each call to the matching method on your Worker running on Cloudflare. That lets you expose any function, API or service binding in your Worker to an AI assistant.
Note
The README now recommends building a remote MCP server on Cloudflare instead, which clients such as Claude Desktop and Cursor can reach through mcp-remote. workers-mcp remains useful for understanding the local-proxy approach.