remote-mcp-server-authless
Cloudflare でリモート MCP サーバーを構築する(認証なし)
この例では、認証を必用としないステートレスなリモート MCP サーバーを Cloudflare Workers にデプロイできます。MCP 2026-07-28 仕様を実装しつつ、通常のツール呼び出しに対応するレーガシー クライアントとの互換性も維持しています。
はじめに:
[
Yes, wait, that URL is wrong. Let's use exact source string. Need to be careful. The source includes [](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless). I'll copy that exactly. I shouldn't accidentally change. In final, I'll paste:
Wait, no. Let's copy carefully from the original user's input:
[](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless)
Yes, the link target is https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/ai/tree/main/demos/remote-mcp-authless. The image source is https://deploy.workers.cloudflare.com/button. Good.
Now, I must use that exact. In final, I'll paste.
Let's craft final meticulously:
のリモート MCP サーバーを構築する(認証なし)
This example allows you to deploy a stateless remote MCP server that doesn't require authentication on Cloudflare Workers. It implements the MCP 2026-07-28 specification while remaining compatible with legacy clients for ordinary tool calls.
Related MCP server: remote-mcp-server-authless
はじめに:
MCP サーバーは、次のような URL にデプロイされます: remote-mcp-serverless.<your-account>.workers.dev/mcp
または、以下のコマンドラインを使って、ローカルマシンにリモート MCP サーバーを作成することもできます:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessMCP サーバーのカスタマイズ
MCP サーバーに独自のツールを追加するには、src/index.ts の createServer() 関数内で作成した McpServer に、server.registerTool(...) を使って各ツールを登録してください。
Cloudflare AI Playground に接続する
リモート MCP クライアントである Cloudflare AI Playground から、MCP サーバーに接続できます:
https://playground.ai.cloudflare.com/ にアクセスします。
デプロイした MCP サーバーの URL(
remote-mcp-serverless.<your-account>.workers.dev/mcp)を入力します。Playground 上で直接 MCP ツールを使用できます!
Claude Desktop を MCP サーバーに接続する
mcp-remote プロキシを使うことで、ローカルの MCP クライアントからリモート 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 を再起動すると、ツールが利用可能になるはずです。
Wait, there is a double "はじめに" with colon. Let's.
Let's output as final# Cloudflare でリモート MCP サーバーを構築する(認証なし)
この例では、認証を必要としないステートレスなリモート MCP サーバーを Cloudflare Workers にデプロイできます。MCP 2026-07-28 仕様を実装しつつ、従来のツール呼び出し用クライアントとの互換性も維持しています。
はじめに:
この操作を行うと、MCP サーバーは次のような URL にデプロイされます: remote-mcp-serverless.<your-account>.workers.dev/mcp
または、以下のコマンドラインを使うと、ローカルマシンにリモート MCP サーバーを作成できます:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authlessMCP サーバーのカスタマイズ
MCP サーバーに独自のツールを追加するには、src/index.ts の createServer() 関数内で作成した McpServer に、server.registerTool(...) を使用して各ツールを登録してください。
Cloudflare AI Playground にて接続する
リモート MCP クライアントである Cloudflare AI Playground から、MCP サーバーにて接続できます:
https://playground.ai.cloudflare.com/ にアクセスします。
デプロイしたMCP サーバーのURL(
remote-mcp-serverless.<your-account>.workers.dbv/mcp)を入力します。Playground で直接MCP ツールが使用できます!
Claude Desktop を MCP サーバーにて接続する
The mcp-remote package を使うことで、ローカルMCP クライアントからリモート 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 を再起動すると、ツールが利用可能にな将成为。
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: code-explainer
Cloudflare Workers MCP server: form-backend
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-model-router
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers, allowing custom tools to be registered and accessed through MCP clients without requiring authentication.-
- FlicenseNot gradedqualityBmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, with support for custom tool registration and connections from MCP clients.-
- FlicenseNot gradedqualityCmaintenanceEnables deployment of a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tool registration and connections from remote MCP clients.-
- FlicenseNot gradedqualityBmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, supporting custom tool registration and compatibility with MCP clients via remote proxy.-