- Home
- MCP servers
- Remote MCP Server Authless MCP
Remote MCP Server Authless MCP
- typescript
0
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 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 deploy a remote MCP server on Cloudflare Workers that exposes tools to MCP clients without requiring authentication. This makes it easy to integrate custom tools into an accessible, server-hosted MCP instance that clients can connect to from playgrounds or local MCP clients.
How to use
Connect your MCP clients to the remote server URL you deploy. You can use the Cloudflare AI Playground to run and test your tools directly from a browser-based MCP client. Enter the deployed server URL, and you’ll be able to access the tools you’ve added to your server.
How to install
Prerequisites you need before getting started:
- Node.js and npm installed on your machine
- A Cloudflare account to deploy Workers
Step-by-step commands to create and deploy your remote MCP server on Cloudflare Workers:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
Additional setup and usage notes
To customize your MCP server, edit the init() method in src/index.ts and define each tool with this.server.tool(yourTool). This is where you add the specific capabilities your MCP server will offer.
To connect from the Cloudflare AI Playground, open the playground and input your deployed MCP server URL. You can then experiment with your tools directly in the playground interface.
Configuring local MCP client connections
If you are using a local or desktop MCP client, you can point it to the remote server or use the mcp-remote proxy to bridge to your remote server. A typical client configuration might include the server URL in the endpoint field so your client can forward requests to the deployed MCP host.
Example client connection configurations
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}