Remote MCP Server on Cloudflare
by scorecard-ai
This example provides a way to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It allows you to connect to the server from the Cloudflare AI Playground or local MCP clients like Claude Desktop.
Last updated: N/A
What is Remote MCP Server on Cloudflare?
This is a remote MCP server that can be deployed on Cloudflare Workers. It allows you to expose tools to MCP clients like the Cloudflare AI Playground or Claude Desktop without requiring authentication.
How to use Remote MCP Server on Cloudflare?
- Deploy the server to Cloudflare Workers using the provided button or command line.
- Customize the server by adding your own tools in the
src/index.ts
file. - Connect to the server from the Cloudflare AI Playground by entering the deployed server URL.
- Connect to the server from local MCP clients like Claude Desktop using the
mcp-remote
proxy and updating the client's configuration.
Key features of Remote MCP Server on Cloudflare
Easy deployment on Cloudflare Workers
Authentication-free access
Customizable with your own tools
Connects to Cloudflare AI Playground
Connects to local MCP clients (e.g., Claude Desktop)
Use cases of Remote MCP Server on Cloudflare
Exposing custom tools to the Cloudflare AI Playground
Integrating custom tools with Claude Desktop
Creating a remote MCP server for testing and development
Providing access to tools without requiring authentication
Building AI-powered applications using MCP
FAQ from Remote MCP Server on Cloudflare
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol that allows AI models to interact with external tools and services.
What are Cloudflare Workers?
What are Cloudflare Workers?
Cloudflare Workers are a serverless execution environment that allows you to run code on Cloudflare's global network.
How do I add my own tools to the MCP server?
How do I add my own tools to the MCP server?
You can add your own tools by defining them inside the init()
method of src/index.ts
using this.server.tool(...)
.
How do I connect to the MCP server from Claude Desktop?
How do I connect to the MCP server from Claude Desktop?
You can connect to the server from Claude Desktop using the mcp-remote
proxy and updating the client's configuration as described in the README.
Do I need an API key?
Do I need an API key?
For local development, you may need to set a SCORECARD_API_KEY
environment variable.