
cloudflare_worker_mcp_sample
一个用于演示 Cloudflare Worker 和 MCP 协议集成的示例项目。
Repository Info
About This Server
一个用于演示 Cloudflare Worker 和 MCP 协议集成的示例项目。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
cloudflare_worker_mcp_sample
事前準備
Home - Cloudflare Workers®からCloudflare workersにサインアップ
環境構築
npm install
ローカルでの実行
npm run dev
動作確認
npx @modelcontextprotocol/inspector
- http://127.0.0.1:6274をブラウザで開く
- TransportTypeを「Streamable HTTP」、URLに http://localhost:8787/mcp 入力し、connect
Cloudflareへのデプロイ
npm deploy
- ブラウザが表示されるためログインする
- デプロイが成功すると「https://<サブドメイン>.workers.dev」の形式でURLが表示される
- 表示されたURLの/mcpパスで、動作確認を行う
Quick Start
Clone the repository
git clone https://github.com/rei06666/cloudflare_worker_mcp_sampleInstall dependencies
cd cloudflare_worker_mcp_sample
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.