- Home
- MCP servers
- Remote MCP Server (Authless Cloudflare)
Remote MCP Server (Authless Cloudflare)
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run a remote MCP server that exposes tools over a live endpoint without authentication on Cloudflare Workers. This enables you to connect from clients like the Cloudflare AI Playground or your own MCP clients to discover and use your tools in real time.
How to use
Connect your MCP server to a client to discover and run your tools. From the Cloudflare AI Playground, you can load your MCP server and access its tools directly in the playground interface. You can also connect from local MCP clients using the standard remote URL or a local proxy configuration.
How to install
Prerequisites you need before installing your MCP server:
-
Node.js installed on your machine (version 16 or newer) and npm available in your PATH.
-
Basic familiarity with running commands in a terminal.
Step 1: Create and deploy your MCP server to Cloudflare Workers using the template for the remote, authless MCP example.
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
Additional content
Configure your server to include your own tools by editing the init() method of the server’s source file. You add tools with this.server.tool(...) inside src/index.ts to expose them to MCP clients.
Connect to Cloudflare AI Playground to use your MCP server from a remote client. Open the Playground, enter your deployed MCP server URL, and begin using the tools directly from the playground interface.
If you run an MCP client from your own environment, you can connect via the mcp-remote proxy. You can configure a local client like Claude Desktop by adding an MCP server entry that points to the remote URL.
Example client configuration for Claude Desktop (to connect to a remote MCP server): you configure the MCP servers section with a stdio entry that uses npx to run the mcp-remote proxy and connects to the remote endpoint.
MCP connections and examples
{
"mcpServers": {
"remote_authless": {
"type": "http",
"url": "https://remote-mcp-server-authless.<your-account>.workers.dev/sse",
"args": []
},
"remote_authless_cli": {
"type": "stdio",
"name": "remote_authless_cli",
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}