跳到正文

workers-mcp

维护中
cloudflare/workers-mcp

Cloudflare 推出的命令行工具与 Worker 内库,可把 Worker 上的 TypeScript 方法转换成 MCP 工具,供 Claude Desktop 或任意 MCP 客户端调用。

在 GitHub 查看
星标
649
Fork
67
关注
649
未关闭 Issue
23

该介绍目前仅提供英文版本。

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.

按共同分类和标签排序的同类开源项目。

全部 AI 项目 →