Loading languages...
JA

jasiekkk/jan-stripe

@jasiekkk

No description provided.

cloudflare
workers
sse
remote
authless

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.

Get started:

Deploy to 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

Customizing your MCP Server

To add your own tools to the MCP server, define each tool inside the init() method of src/index.ts using this.server.tool(...).

Connect to Cloudflare AI Playground

You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:

  1. Go to https://playground.ai.cloudflare.com/
  2. Enter your deployed MCP server URL (remote-mcp-server-authless.<your-account>.workers.dev/sse)
  3. You can now use your MCP tools directly from the playground!

Connect Claude Desktop to your MCP server

You can also connect to your remote MCP server from local MCP clients, by using the mcp-remote proxy.

To connect to your MCP server from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.

Update with this configuration:

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"  // or remote-mcp-server-authless.your-account.workers.dev/sse
      ]
    }
  }
}

Restart Claude and you should see the tools become available.

# mcpServer Config

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}
Transport:
sse
Language:
TypeScript
Created: 4/28/2025
Updated: 2/2/2026

Recommend MCP Servers 💡

mcp-bearer-auth-example

mcp-bearer-auth-example

jmorrell-cloudflare

A remote Model Context Protocol (MCP) server designed to run on Cloudflare, enhanced with Bearer Token authentication.

2025-04-11
sse
@aashari/mcp-server-aws-sso

@aashari/mcp-server-aws-sso

aashari

Node.js/TypeScript MCP server for AWS Single Sign-On (SSO). Enables AI systems (LLMs) with tools to initiate SSO login (device auth flow), list accounts/roles, and securely execute AWS CLI commands using temporary credentials. Streamlines AI interaction with AWS resources.

2025-03-29
TypeScript
aws-security-mcp

aws-security-mcp

groovyBugify

A Model Context Protocol server enabling AI assistants to query, inspect, and analyze AWS infrastructure for security issues and misconfigurations.

2025-04-23
sse
harness/mcp-server

harness/mcp-server

harness

The official Harness MCP server providing seamless integration with Harness APIs for advanced automation and tool interaction via the Model Context Protocol (MCP)

2025-05-14
Go
mcp-server-cloudflare

mcp-server-cloudflare

cloudflare

Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, you can find several MCP servers allowing you to connect to Cloudflare's service from an MCP client (e.g. Cursor, Claude) and use natural language to accomplish tasks through your Cloudflare account.

2024-11-27
sse
k8s-mcp-server

k8s-mcp-server

alexei-led

K8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI systems to assist with cluster management, troubleshooting, and deployments

2025-03-27
Python