Cloudflare Community フォーラム ↗ 向けの MCP サーバーです。AI エージェントがトピックを検索し、投稿を読み、ユーザーを調べ、コンテンツを絞り込めます。
サーバーは、公式の Discourse MCP サーバーである @discourse/mcp ↗ で動作します。
npx @discourse/mcp@latest~/.config/opencode/opencode.jsonc の "mcp" ブロック内に追加します。
"discourse": {
"type": "local",
"command": ["npx", "-y", "@discourse/mcp@latest"],
"enabled": true
}claude_desktop_config.json に追加します。
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": ["-y", "@discourse/mcp@latest"]
}
}
}プロジェクトルートの .cursor/mcp.json に追加します。
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": ["-y", "@discourse/mcp@latest"]
}
}
}クライアントを設定したら、discourse_select_site ツールに次を指定します。
https://community.cloudflare.com公開データの読み取りに API キーは不要です。API キーが必要になるのは、投稿やモデレーションなどの書き込み操作だけです。
| ツール | 説明 |
|---|---|
discourse_select_site |
community.cloudflare.com に接続します |
discourse_search |
トピックと投稿を全文検索します |
discourse_filter_topics |
カテゴリ、タグ、ステータス、日付で絞り込みます |
discourse_read_topic |
トピックの投稿とメタデータを読みます |
discourse_read_post |
特定の投稿を読みます |
discourse_get_user |
ユーザーのプロフィールを調べます |
discourse_list_user_posts |
ユーザーの投稿一覧を取得します |
接続後、AI アシスタントに次のような依頼ができます。
- 「Cloudflare community で Error 522 に関するトピックを検索して」
- 「SSL カテゴリで、直近 3 日の未回答トピックを探して」
- 「トピック 42325 を読んで、問題を要約して」
- 「ユーザー sandro の最近の返信を見せて」
AI エージェントは、community.cloudflare.com 上の次のエンドポイントから MCP サーバーを自動検出できます。
/.well-known/mcp.json↗ — MCP Server Card/llms.txt↗ — サーバー情報とインストール手順を含む LLMs.txt/.well-known/agent.json↗ — A2A Agent Card