Skip to main content
Glama
tsushanth

ai-visibility-mcp

by tsushanth

ai-visibility-mcp

自身のプロパティに対して、AIクローラーや回答エンジン(ChatGPT、Claude、Perplexity、Google AI Overviewsなど)へのウェブサイトの可視性を確認し改善するためのMCPサーバー。

ほとんどの「AI SEO」のアドバイスは「llms.txtを追加する」で終わります。実際には、より大きく一般的な問題はその上流にあります。robots.txt(多くの場合CloudflareのようなCDNによって自動管理される)が、アクセスさせたいクローラーを静かにブロックしており、それによってllms.txtやコンテンツの作業を無意味にしています。このサーバーは両方をチェックし、さらに監査して修正を生成することもできます。

ツール

  • check_visibility(url) — サイトのライブのrobots.txtを取得し、名前の付いたAIボット(GPTBot、ClaudeBot、Google-Extended、PerplexityBot、Applebot-Extended、CCBot、Bytespider、Amazonbot、meta-externalagentなど)がDisallow: /でブロックされているか、ワイルドカードブロックがあるかをフラグします。また、llms.txtが実際のファイルとして存在するか、SPAのキャッチオールルートにフォールスルーしているか(よくある誤検出:ファイルは200を返すが、実際はホームページ)もチェックします。

  • cloudflare_ai_bot_audit(domain) — 管理するドメインのCloudflareゾーンのBot Management AIボット設定(ai_bots_protectionai_trainingai_searchai_useris_robots_txt_managed)を読み取ります。環境変数CLOUDFLARE_API_EMAIL + CLOUDFLARE_API_KEY(グローバルAPIキー)が必要です。

  • generate_llms_txt(name, description, url, phrase?)llms.txtの行を生成し、所有可能なニッチなphraseを指定すると、そのフレーズに基づいた小さなコンテンツパック(メタディスクリプション+FAQブロック)も生成します。純粋なテキスト生成であり、ファイルシステムやgitへの書き込みは行いません。

Related MCP server: ai-visibility-mcp

インストール

git clone https://github.com/tsushanth/ai-visibility-mcp.git
cd ai-visibility-mcp
npm install
npm run build

MCPクライアント設定(例:Claude Code、Claude Desktop)に追加します:

{
  "mcpServers": {
    "ai-visibility": {
      "command": "node",
      "args": ["/absolute/path/to/ai-visibility-mcp/dist/index.js"],
      "env": {
        "CLOUDFLARE_API_EMAIL": "you@example.com",
        "CLOUDFLARE_API_KEY": "your-global-api-key"
      }
    }
  }
}

Cloudflare環境変数はcloudflare_ai_bot_auditにのみ必要です — check_visibilitygenerate_llms_txtは設定なしで動作します。

なぜこれが存在するか

Cloudflare上のサイトでは、デフォルトでAIクローラーブロッキングが有効になっていることがよくあります(「Block AI Bots」トグル)。これにより、提供されるrobots.txtが書き換えられ、GPTBot、ClaudeBot、Google-Extendedなどが拒否されます。サイト所有者が明示的にその決定をしたことがなく、実際にはAI検索の可視性を望んでいる場合でもそうです。これは見逃しやすいです。なぜなら、サイトは人間の訪問者や通常の検索エンジンには正常に見え機能しているからです。AIクローラーのみが静かに拒否されています。check_visibilityは外部からこれを明らかにし(実際に提供されているもの)、cloudflare_ai_bot_auditはアカウント側(Cloudflareの設定が示すもの)から確認するため、両者を区別できます。

ライセンス

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Analyze and generate robots.txt files with AI crawler awareness. Fetch any site's robots.txt, detect which AI bots (GPTBot, ClaudeBot, PerplexityBot, Google-Extended) are blocked or allowed, and generate optimized robots.txt with toggle controls for 20+ AI crawlers.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Audits AI-bot visibility: robots.txt per-bot for 22 AI user-agents (GPTBot/ClaudeBot/PerplexityBot/etc), Cloudflare flags, JSON-LD, sitemap, llms.txt, SPA shell, plus cross-model brand mentions via Perplexity + OpenRouter. 0-100 score. SSRF-guarded, spend-capped.
    4
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI agents to check whether a public website is crawlable, understandable, and ready for AI search workflows through local-only audits of robots.txt, sitemaps, metadata, and llms.txt.
    3
    51
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsushanth/ai-visibility-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server