You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide walks you through deploying an [example MCP server](https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless) to your Cloudflare account.
13
-
Once deployed, you can customize the MCP server to add your own [tools](/agents/model-context-protocol/tools/). This example does not require users to authenticate, meaning any client can connect to the server to use the tools. To add authentication & authorization to your MCP server, follow the example [below](/agents/guides/remote-mcp-server/#add-authentication).
12
+
This guide will show you how to deploy your own remote MCP server on Cloudflare, with two options:
13
+
14
+
-**Without authentication** — anyone can connect and use the server (no login required).
15
+
-**With [authentication and authorization](/agents/guides/remote-mcp-server/#add-authentication)** — users sign in before accessing tools, and you can control which tools an agent can call based on the user's permissions.
16
+
17
+
You can start by deploying a [public MCP server](https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless) without authentication, then add user authentication and scoped authorization later. If you already know your server will require authentication, you can skip ahead to the next section.
14
18
15
19
The button below will guide you through everything you need to do to deploy this [example MCP server](https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless) to your Cloudflare account:
16
20
17
21
[](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless)
18
22
23
+
Once the MCP server is set up, you can customize the server to add your own [tools](/agents/model-context-protocol/tools/). This example does not require users to authenticate, meaning any client can connect to the server to use the tools. To add authentication & authorization to your MCP server, follow the example in the [next section](/agents/guides/remote-mcp-server/#add-authentication).
24
+
19
25
Once deployed, this server will be live at your workers.dev subdomain (e.g. remote-mcp-server-authless.your-account.workers.dev/sse). You can connect to it immediately using the [AI Playground](https://playground.ai.cloudflare.com/) (a remote MCP client), [MCP inspector](https://github.com/modelcontextprotocol/inspector) or [other MCP clients](/agents/guides/remote-mcp-server/#connect-your-remote-mcp-server-to-claude-and-other-mcp-clients-via-a-local-proxy).
20
26
21
-
Once you deploy the MCP server, a new git repository will be set up on your GitHub or GitLab account for your MCP server, configured to automatically deploy Cloudflare each time you push a change or merge a pull request to the main branch of the repository. You can then clone this repository, [develop locally](/agents/guides/remote-mcp-server/#local-development), and start writing code and building.
27
+
If you're using the "Deploy to Cloudflare" button, a new git repository will be set up on your GitHub or GitLab account for your MCP server, configured to automatically deploy to Cloudflare each time you push a change or merge a pull request to the main branch of the repository. You can then clone this repository, [develop locally](/agents/guides/remote-mcp-server/#local-development), and start writing code and building.
0 commit comments