Remote MCP Server on Cloudflare
About
A template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It provides a ready-to-run MCP server using SSE transport, intended for developers who want to run MCP servers remotely.
Details
- Author
- MCP-Mirror
- Downloads
- 110
- Categories
- Developer Tools
Jump to
- Deploys to Cloudflare Workers for remote access.
- Includes OAuth login out of the box.
- Supports local development with npx nx dev.
- Integrates with the MCP Inspector for testing.
- Uses SSE (Server-Sent Events) transport.
- Provides a getToken tool to inspect the Authorization header.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Remote MCP Server on CloudflareCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies with npm install, run locally with npx nx dev remote-mcp-server-bearer-auth, then connect using the MCP Inspector or a remote MCP client. Deploy to Cloudflare with npm run deploy. Connect a remote client by pointing it to the workers.dev URL appended with /sse.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"remote mcp server on cloudflare": {
"huanshenyi_mcp-server-bearer-auth": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server-bearer-auth"
]
}
}
}
}
McpServers
{
"huanshenyi_mcp-server-bearer-auth": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server-bearer-auth"
]
}
}
Remote MCP Server on Cloudflare
Let's get a remote MCP server up-and-running on Cloudflare Workers complete with OAuth login!
Develop locally
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





