Model Control Protocol Server (MCP)

by zueai

Integrations

  • Example MCP server available for Cloudflare API integration

  • Deploys MCP servers to Cloudflare Workers for fast and easy hosting

  • Example MCP server available for Vercel API integration

create-mcp

A CLI tool that sets up a Model Control Protocol (MCP) server and deploys it to Cloudflare Workers so you can start making new tools for your Cursor Agent in minutes.

Just write TypeScript functions with JSDoc comments to give your agent MCP tools.

Prerequisites

  • Wrangler CLI installed and logged in with your Cloudflare account.
  • Claude Desktop App installed. (This will be removed soon)

Instructions

To scaffold and deploy a new MCP server, just run:

bun create mcp

You can also pass a name directly to the command: bun create mcp --name <server-name>.

What this CLI does

  • Clones the template worker repository into <current-dir>/<server-name>
  • Installs dependencies
  • Initializes a Git repository
  • Deploys a Hello World MCP server to your Cloudflare account
  • Adds it to Claude Desktop
  • Copies the MCP server command to your clipboard so you can paste it into Cursor

How to Use

Just add functions to the MyWorker class in src/index.ts. Each function will compile into an MCP tool.

For example:

/** * A warm, friendly greeting from your new Workers MCP server. * @param name {string} the name of the person we are greeting. * @return {string} the contents of our greeting. */ sayHello(name: string) { return `Hello from an MCP Worker, ${name}!`; }
  • The first line is the tool's description.
  • The @param tags are the tool's params, with types and descriptions.
  • The @return tag is the tool's return value, with its type.

Deploying Changes

  1. Redeploy the worker:
bun run deploy
  1. Reload your Cursor window.

Now you can ask your agent to use the new tool!

Why Cloudflare Workers?

Vibes, great DX, and blazing fast deployments.

I don't like running MCP servers locally, and I'm pretty sure you don't either. Now we don't have to run node processes to use simple MCP tools in Cursor that call APIs.

All you have to do is write functions. Put your descriptions and params in JSDoc comments and it just works.

Example Servers made with create-mcp

You can clone and deploy any MCP server made with create-mcp to your own Cloudflare account:

bun create mcp --clone <github-url>

Contributing

Contributions and feedback are extremely welcome! Please feel free to submit a Pull Request or open an issue!

Acknowledgements

This project would not be possible without workers-mcp made by @geelen

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables the creation and deployment of API-based MCP tools for Cursor Agent using Cloudflare Workers, streamlining development and integration of custom functionalities.

  1. Prerequisites
    1. Instructions
      1. What this CLI does
        1. How to Use
          1. Deploying Changes
            1. Why Cloudflare Workers?
              1. Example Servers made with create-mcp
                1. Contributing
                  1. Acknowledgements

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      A template for creating custom tools for Cursor IDE using Model Context Protocol (MCP), allowing developers to extend Cursor's functionality with their own server-based tools.
                      Last updated -
                      11
                      2
                      Python
                      MIT License
                      • Apple
                      • Linux
                    • -
                      security
                      A
                      license
                      -
                      quality
                      An MCP server that converts Cursor agent plans into structured markdown task lists and organizes them in your repository, helping you track AI-generated plans and recommendations as actionable specifications.
                      Last updated -
                      3
                      Python
                      MIT License
                      • Linux
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.
                      Last updated -
                      26
                      TypeScript
                    • -
                      security
                      A
                      license
                      -
                      quality
                      An MCP server that enables dynamic tool registration and execution based on API definitions, providing seamless integration with services like Claude.ai and Cursor.ai.
                      Last updated -
                      7
                      Python
                      MIT License
                      • Apple

                    View all related MCP servers

                    ID: 0y0kenfcg5