Remote MCP Server

by popokpjt

Not rated
GitHub

About

An example of a remote MCP server deployable on Cloudflare Workers, customizable by defining tools.

Details

Author
popokpjt
Categories
Developer Tools, Cloud Service, Infrastructure

Setup

Install Remote MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/popokpjt/remote-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

Building a Remote MCP Server on Cloudflare (Without Auth)

This example allows you to deploy a remote MCP server that doesn't require authentication on Cloudflare Workers.

This will deploy your MCP server to a URL like:remote-mcp-server-authless.<your-account>.workers.dev/sse

Alternatively, you can use the command line below to get the remote MCP Server created on your local machine:

npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless

To add your owntoolsto the MCP server, define each tool inside theinit()method ofsrc/index.tsusingthis.server.tool(...).

You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:
- Go to
[https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (remote-mcp-server-authless.<your-account>.workers.dev/sse)
- You can now use your MCP tools directly from the playground!

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.