cimb-mekari-mcp-server
Cloudflare でのリモート MCP サーバーの構築(認証なし)
この例では、Cloudflare Workers 上で認証を必要としないステートレスなリモート MCP サーバーをデプロイできます。MCP 2026-07-28 仕様を実装しつつ、通常のツール呼び出しにおいてレガシークライアントとの互換性も維持しています。
はじめに:
これにより、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-authlessRelated MCP server: remote-mcp-server-authless
MCP サーバーのカスタマイズ
MCP サーバーに独自のツールを追加するには、src/index.ts の createServer() 関数で作成した McpServer に、server.registerTool(...) を使用して各ツールを登録します。
Cloudflare AI Playground への接続
リモート MCP クライアントである Cloudflare AI Playground から MCP サーバーに接続できます:
デプロイした MCP サーバーの URL(
remote-mcp-server-authless.<your-account>.workers.dev/mcp)を入力しますこれで、Playground から MCP ツールを直接使用できます!
Claude Desktop を MCP サーバーに接続
ローカルの MCP クライアントからリモート MCP サーバーに接続するには、mcp-remote プロキシを使用することもできます。
Claude Desktop から MCP サーバーに接続するには、Anthropic の Quickstart に従い、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
Related MCP Connectors
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: ai-agent-scratchpad
Cloudflare Workers MCP server: form-backend
Related MCP Servers
- 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 deploying a stateless remote MCP server on Cloudflare Workers without authentication, allowing custom tools to be accessed from remote MCP clients and local clients via mcp-remote.-
- 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.-