- Home
- MCP servers
- Remote MCP Server (Authless)
Remote MCP Server (Authless)
- 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 on Cloudflare Workers that doesn’t require authentication, making it easy to add your own tools and expose them to MCP clients like the Cloudflare AI Playground or Claude Desktop. This server acts as a central point to host your MCP tools and connect remote clients to run those tools securely and efficiently.
How to use
Connect to your remote MCP server from an MCP client to start using your tools. In the Cloudflare AI Playground you can enter your deployed MCP server URL and interact with your tools directly from the browser. You can also connect local clients through the mcp-remote proxy by pointing the client at the server’s SSE URL.
How to use
To connect Claude Desktop to your remote MCP server, configure the client to reach the server via the provided proxy. The following example shows how to add a calculator tool that delegates to the remote server. Replace the URL with your actual server URL.
How to install
Prerequisites you need before installing:
- Node.js and npm installed on your machine
- Access to a Cloudflare account if you plan to deploy to Workers
- Basic familiarity with running commands in your terminal
How to install
Install and bootstrap the remote MCP server using the Cloudflare template. Run the following command in your terminal to create the server project and scaffold it with the remote, authless example.
How to install
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
This will set up a new MCP server project configured to run on Cloudflare Workers without authentication. You can customize your tools inside the src/index.ts file by calling this.server.tool(...) within the init() method.
## Configuration and usage notes
- Your remote MCP server URL will resemble: `remote-mcp-server-authless.<your-account>.workers.dev/sse`.
- You can connect from the Cloudflare AI Playground by entering your server URL and using the built-in client to invoke your tools.
- You can connect Claude Desktop to your server by configuring the MCP connection to point to the server via the mcp-remote proxy as shown below.
## Configuration and usage notes
{ "mcpServers": { "calculator": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse ] } } }
Restart Claude Desktop after saving the config to make the tools available.
Notes on security and access
This setup demonstrates an authless remote MCP server intended for testing or internal use. When deploying publicly, consider adding appropriate authentication and access controls to prevent misuse of your tools.
Troubleshooting and tips
If tools don’t appear in the client, verify that the server is reachable at the specified SSE URL and that the client is pointed at the correct endpoint. Check that your deployment environment allows SSE connections and that any firewall rules aren’t blocking the connection.
Available tools
tool
Defines a tool within the MCP server by calling this.server.tool(...) inside the init() method to expose a new capability to MCP clients.