Claude Code は Cloudflare 公式の統合パートナーとして位置づけられている。MCP・スキル・wrangler の3層で何ができるか、そして「検索エンジンに載る/載らない」をどう設計するか。
Claude Code は Cloudflare の 公式統合パートナーとして位置づけられており、MCP サーバー・Skills・wrangler CLI の3層を通じて、DNS / Workers / KV / Pages / Access / Analytics を自然言語で操作できる。SEO は完全に制御可能で、「載せる」「載せない」「個別制御」の3パターンを使い分ける。
Style: minimalist editorial infographic, warm beige background #FAF8F4. Accent colors only: deep red #8B2635, teal #5BA89E, gold #B8985A, dark navy #2C3E50. Composition: horizontal flow from left to right with three distinct zones. No text anywhere in the image. 16:9 aspect ratio. Subject: On the left, a stylized human silhouette at a desk with a laptop, warm orange-red light glowing from the screen. In the center, a single glowing teal node with multiple thin lines radiating outward like a neural hub. On the right, a clean stack of geometric blocks representing cloud infrastructure - some glowing softly, suggesting interconnected services. Thin lines connect the human → hub → infrastructure. Soft shadows, slightly grainy texture. Editorial magazine illustration style, not cartoonish, not photorealistic.
結論: ヒットさせることもできるし、させないこともできる(完全に制御可能)。サイトの設計次第。3つのケースに分けて整理する。
Style: isometric architectural illustration, soft warm beige #FAF8F4 background. Color palette restricted to: deep red #8B2635, teal #5BA89E, gold #B8985A, white, soft gray. No text in the image. Three distinct buildings arranged in a row. 16:9 ratio. Subject: Three small buildings on a shared base, each representing a different website state: 1. Left building: a small open-door house with no signage, surrounded by wandering search-engine spider-like robots that freely walk in and out. Conveys "anyone can find and enter." 2. Middle building: a tall elegant storefront with prominent welcome signage, tall windows, and a clear path leading to the entrance. Robots approach with respect. Conveys "intentionally inviting visitors." 3. Right building: a small fortress with a closed gate, three layered walls visible (outer dotted, middle dashed, inner solid). Robots bounce off the outer wall. One robot carries a "key" and passes through. Conveys "members-only access." Soft shadows, hand-drawn line quality but precise geometry. Editorial illustration style.
*.pages.dev のままで公開する場合事実: Cloudflare Pages の標準ドメイン(tomita-knowledge.pages.dev のような形式)は、Googleの検索エンジンによってクロール・インデックスされることが確認されている。
実際、コミュニティには「ミスで、テストページがGoogleのインデックスに載ってしまった」という相談が複数ある。これは裏を返せば、何もしなくても Google に検索される状態になりうるということ。
ただし、*.pages.dev の検索順位は不利な傾向がある。「Cloudflare Pages 経由で配信されているサイトのみ、キーワード検索でスコアが低くなる」という報告もある(原因は確定していない)。
含意: 内部ナレッジハブを意図せず公開したくない場合は、ケースCの「インデックス防止」が必須。
事実: Cloudflareの機能は検索エンジン順位を改善する複数の要素を提供。サイトスピード、HTTPS、Crawler Hints(検索エンジンに新コンテンツを通知する仕組み)が含まれる。
独自ドメイン(例: alpe.jp)を Cloudflare Pages に向けて運用する場合、SEO上の不利はなく、むしろ有利になる可能性がある。
これはXサーバー単体運用と比較しても、遜色ない、または上回るSEO適合性を持つ。
スタッフ向け内部ナレッジハブの場合、検索エンジンに載らないようにすべき。方法は3つあり、組み合わせるのが最強。
Accessで認証必須にすれば、検索エンジンのクローラーも認証画面に弾かれるため、中身を読めない。インデックスされたとしてもタイトルすら出ない。
HTMLと一緒に robots.txt というファイルを置き、以下を記述する:
User-agent: * Disallow: /
これで「全クローラーに対して全ページのクロールを禁止する」という意思表示になる。ただしこれはお願いベースで、悪意あるクローラーは無視する。
noindex メタタグを置く各HTMLファイルの <head> 内に以下を追加:
<meta name="robots" content="noindex, nofollow"> <meta name="googlebot" content="noindex, nofollow">
検索エンジンへの「載せないで」という指示。
最強の組み合わせ: Cloudflare Access + robots.txt + noindex メタタグ の3点セット。トミタコーチのナレッジハブには、これを推奨。
Style: top-down isometric illustration, warm beige background #FAF8F4. Restricted palette: deep red #8B2635, teal #5BA89E, gold #B8985A, soft gray. No text in the image. Square 1:1 ratio. Subject: A medieval-style castle structure viewed from above, with three concentric circular walls protecting a small glowing treasure chest in the center. - Outermost ring: a low decorative fence with gaps (porous, signaling intent only) - Middle ring: a stone wall with a closed gate (more substantial but passable) - Innermost ring: a tall solid wall with a single guarded gate (truly protective) Three small figures approach from the left edge: - One bounces off the outermost fence (respectful robot) - One passes through the first two rings but stops at the inner wall (ignoring rules) - One holds a glowing key and is being admitted through the innermost gate (authorized staff) Subtle drop shadows, hand-rendered texture, editorial illustration quality.
| 用途 | 推奨設定 | SEO目的 |
|---|---|---|
| 内部ナレッジハブ | Access + robots.txt + noindex | 検索に載せない |
| アルペ・名門コーチの公式サイト | 独自ドメイン + サイトマップ送信 | 検索に載せる |
| 教材の公開サンプル | noindexメタタグで個別制御 | 必要なものだけ載せる |
ここからが本当の驚き。Claude Code は Cloudflare 公式の統合パートナーとして位置づけられている。
Cloudflareの公式ドキュメントには Claude Code 専用のセットアップガイドがあり、以下が用意されている:
つまり、トミタコーチが既に使っている Claude Code から、Cloudflareアカウントの操作を自然言語で行えるということ。
Style: editorial flat illustration, warm beige #FAF8F4 background. Palette: deep red #8B2635, teal #5BA89E, gold #B8985A only. No text. Square 1:1 ratio. Subject: A central elegant desk where a stylized humanoid figure (representing an AI assistant, not too cute, not too technical) sits with multiple thin beams of light radiating outward in 6 directions. Each beam connects to a small floating icon-object at the edge: - Top: a small globe (DNS) - Top-right: a glowing screen with chart (analytics) - Right: a small key (access/authentication) - Bottom-right: a magnifying glass (security) - Bottom: a deployed package box (deployment) - Top-left: an organized folder (file management) The assistant figure is calm and focused. The beams are not aggressive but elegant - more like a conductor with an orchestra than a control center. Soft shadows, refined editorial quality.
Cloudflare MCPサーバーを Claude Code に接続すると、以下が可能になる:
あなた:「アルペのドメインのDNS設定を確認して」 Claude:(DNS情報を取得して表示) あなた:「ナレッジハブの今日のデプロイ状況を見せて」 Claude:(直近のデプロイを表示) あなた:「Access のポリシーに新しいスタッフのメールアドレスを追加して」 Claude:(許可リストを更新) あなた:「先週から今週でアクセス数が増えているか確認して」 Claude:(分析データを取得)
これは Xサーバーでは絶対に実現できない体験。Xサーバーは管理画面が日本語で親切だが、Claude Code との対話的な操作には対応していない。
「DNS レコードの作成、ファイアウォールルールの監査、ゾーンとアカウントメンバーの管理 — すべて Claude Code から実行可能」(Cloudflare公式)。Access の設定変更もこれに含まれる:
| 観点 | 評価 |
|---|---|
| 設定の自動化 | ★★★★★ Claude Code が公式ツールとして認識される |
| 日常運用 | ★★★★☆ 自然言語で管理操作が可能 |
| トラブル対応 | ★★★★☆ ログ取得・分析も自然言語で |
| 学習コスト | ★★★☆☆ MCP接続の初期設定は要勉強 |
| 既習との連続性 | ★★★★★ Claude Code をすでに使っているので導入しやすい |
Cloudflare の公式統合機能は強力だが、いきなり全部使う必要はない。段階的に導入できる。
Style: architectural cross-section illustration, warm beige #FAF8F4. Palette: teal #5BA89E (stage 1), gold #B8985A (stage 2), deep red #8B2635 (stage 3), soft gray. No text. 16:9 horizontal. Subject: A cross-section of a building showing three concentric/nested spaces of increasing size: - Innermost: a small cozy study room with a single desk and laptop. Warm teal lighting. Represents "stage 1: working alone in a small room." - Middle: a hallway and adjacent rooms accessible from the study. Gold lighting. Represents "stage 2: more rooms become accessible." - Outermost: the entire building with multiple floors, all rooms now connected and lit. Soft red highlights. Represents "stage 3: the whole house is manageable." A small figure stands in the innermost room, with subtle arrows or paths indicating expansion outward. The composition flows from intimate (center) to expansive (outer). Editorial illustration, soft shadows, hand-drawn quality with precise lines.
メリット: MCP設定なしで使えるため、学習コストゼロ。
この段階での体感: 「ローカル編集→ブラウザにドラッグ」の往復。
npm install -g wrangler でCLIをインストールwrangler pages deploy でデプロイメリット: ターミナルから一気通貫でデプロイ可能。
この段階での体感: 「Claude Code との対話だけで公開完了」。
メリット: Cloudflare の全機能を Claude Code 経由で操作可能。
この段階での体感: 「インフラ管理が会話で完結」。
Style: layered cross-section diagram, editorial illustration. Background warm beige #FAF8F4. Palette: deep red #8B2635, teal #5BA89E, gold #B8985A. No text. 16:9 ratio. Subject: A vertical stack of three transparent layered platforms, like floors in a glass building viewed from a slight angle: - Top platform (smallest, simplest): A single person at a desk - Middle platform: Three connecting bridges/pathways - Bottom platform (largest, most complex): A web of interconnected nodes representing infrastructure Connecting all three layers: a single elegant beam of light passing vertically through the centers, showing how the layers are unified by one channel. Soft shadows, refined editorial quality. Conveys "simple at top, powerful at bottom, but the channel is one."
これまでの議論を統合した、現実的な推奨フロー:
ここまでの議論をまとめると、ある事実が浮かび上がる:
Cloudflare は AI エージェント時代の運用基盤として、Anthropicと深く連携している。
これは2026年の最新情報で、トミタコーチがすでに Claude Code に投資している前提を考えると、Cloudflare を選ぶことは Claude Code への投資を最大化することと一致する。Xサーバーは安定した日本語サポートを提供するが、Claude Code との統合という観点では Cloudflare に明確に劣る。
| 選択 | 思想 |
|---|---|
| Xサーバー継続 | 既存の安定運用を維持する |
| Cloudflare 移行 | AI エージェント時代の運用基盤を構築する |
つまり最終的な選択肢は単純な比較ではなく、運用思想の選択になる。