Skip to main content
Glama

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

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

始めましょう:

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.tscreateServer() 関数内で作成された McpServer に、各ツールを server.registerTool(...) で登録してください。

Cloudflare AI Playground に接続する

Cloudflare AI Playground はリモートMCPクライアントです。ここから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クライアントからリモートMCPサーバーに接続するには、mcp-remote プロキシ を使用します。

Claude Desktop からMCPサーバーに接続するには、Anthropicのクイックスタート に従い、Claude Desktop で Settings > Developer > Edit Config を開いてください。

次の構成に更新します:

{
	"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
Not graded
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

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/c8cw6rj9b5-code/remote-mcp-server-authless'

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