Skip to main content
Glama
prashil1996

Remote MCP Server on Cloudflare

by prashil1996

Cloudflare上にリモートMCPサーバーを構築する(認証なし)

この例では、Cloudflare Workers上で認証を必要としないステートレスなリモートMCPサーバーをデプロイできます。通常のツール呼び出しではレガシークライアントとの互換性を維持しつつ、MCP 2026-07-28仕様を実装しています。

はじめに

Deploy to Workers

これにより、MCPサーバーが次のようなURLにデプロイされます: remote-mcp-server-authless.<your-account>.workers.dev/mcp

または、以下のコマンドラインを使用して、ローカルマシン上にリモートMCPサーバーを作成することもできます:

npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless

Related MCP server: Remote MCP Server (Authless)

MCPサーバーのカスタマイズ

MCPサーバーに独自のツールを追加するには、src/index.ts内のcreateServer()関数で作成されたMcpServerに、server.registerTool(...)を使用して各ツールを登録します。

Cloudflare AI Playgroundに接続する

リモートMCPクライアントであるCloudflare AI PlaygroundからMCPサーバーに接続できます:

  1. https://playground.ai.cloudflare.com/ にアクセスします

  2. デプロイしたMCPサーバーのURL(remote-mcp-server-authless.<your-account>.workers.dev/mcp)を入力します

  3. プレイグラウンドから直接MCPツールを使用できるようになります!

Claude DesktopをMCPサーバーに接続する

mcp-remoteプロキシを使用して、ローカルのMCPクライアントからリモートMCPサーバーに接続することもできます。

Claude DesktopからMCPサーバーに接続するには、Anthropicのクイックスタートに従い、Claude Desktop内で設定 > 開発者 > 設定の編集に進みます。

次の設定で更新します:

{
	"mcpServers": {
		"calculator": {
			"command": "npx",
			"args": [
				"mcp-remote",
				"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
			]
		}
	}
}

Claudeを再起動すると、ツールが利用可能になるはずです。

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Cloudflare Workers MCP server: crypto-signal

  • Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prashil1996/remote-mcp-server-authless'

If you have feedback or need assistance with the MCP directory API, please join our Discord server