MCP.so
登录

Remote MCP Server on Cloudflare

@akramansaritorinit

基本信息

分类

数据库

传输方式

stdio

作者

akramansaritorinit

关于 Remote MCP Server on Cloudflare

暂无概览

Remote MCP Server on Cloudflare 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "db-query-mcp-server": {
      "command": "npx",
      "args": [
        "nx",
        "dev",
        "remote-mcp-server"
      ]
    }
  }
}

Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Remote MCP Server on Cloudflare?

A template project for running a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables developers to deploy remote MCP servers that can be connected to MCP clients like Claude Desktop or the MCP Inspector.

How to use Remote MCP Server on Cloudflare?

Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect MCP clients by providing the SSE endpoint (e.g., http://localhost:8787/sse locally or the Workers URL).

Key features of Remote MCP Server on Cloudflare

  • OAuth-based user login for MCP server access
  • Local development with hot reload via nx dev
  • Seamless deployment to Cloudflare Workers
  • SSE (Server-Sent Events) transport for MCP communication
  • Works with MCP Inspector for testing tool calls
  • Ready-to-use configuration for Claude Desktop integration

Use cases of Remote MCP Server on Cloudflare

  • Hosting a remote MCP server for AI agents with authentication
  • Testing MCP tools locally with the MCP Inspector
  • Connecting Claude Desktop to a cloud-hosted MCP server via OAuth
  • Building and deploying custom MCP tool sets on Cloudflare’s edge

常见问题

1

What dependencies are required?

Node.js and npm are needed for local development. A Cloudflare account is required for deployment.

2

How is the MCP server accessed?

Clients connect via SSE at the `/sse` endpoint. The server uses OAuth for authentication during connection.

3

Where does user data (e.g., OAuth tokens) reside?

OAuth authentication state is stored in a Cloudflare KV namespace (`OAUTH_KV`) which must be created before deployment.

4

What transport does the server use?

It uses Server-Sent Events (SSE) as the MCP transport protocol.

5

Can I run this server only locally and not deploy?

Yes. The local development setup with `npx nx dev remote-mcp-server` runs a local server at `http://localhost:8787/` for testing.

评论

数据库 分类下的更多 MCP 服务器