Workers MCP Server

MCP transport to your own Cloudflare Worker

Local serverstdioTypeScript

What is the Workers MCP MCP server?

Workers MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Workers MCP directly instead of describing what you should do. MCP transport to your own Cloudflare Worker.

What you get

This package 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, so you can customise it to suit your needs. It works via a build step that can translate TypeScript methods of your Worker like this:

Setting it up

Installation goes through your MCP client rather than a global install: point it at create-cloudflare on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Workers MCP is connected, these are the calls the assistant has available:

  • Cursor — To get your Cloudflare MCP server working in Cursor, you need to combine the 'command' and 'args' from your config file into a single string and use

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the workers mcp mcp server does with a few real requests.

Choosing this one

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Workers MCP's toolset — Cursor — is a fair guide to whether it matches your workflow. It is maintained by cloudflare; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
CursorTo get your Cloudflare MCP server working in Cursor, you need to combine the 'command' and 'args' from your config file into a single string and use type 'command'.

How to install the Workers MCP MCP server

{
  "mcpServers": {
    "your-mcp-server-name": {
      "command": "/path/to/workers-mcp",
      "args": [
        "run",
        "your-mcp-server-name",
        "https://your-server-url.workers.dev",
        "/path/to/your/project"
      ],
      "env": {}
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Workers MCP to Cursor.

Frequently asked questions

It connects Workers MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Cursor) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Workers MCP directly.