Skip to main content
Glama

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.tscreateServer() 関数で作成された 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 クライアントからも、mcp-remote プロキシ を使用してリモート MCP サーバーに接続できます。

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
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

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/rajbpatel2769-source/claude-spx-mcp'

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