Skip to main content
Glama
ai-visibility-mcp

ai-visibility-mcp

by tsushanth

ai-visibility-mcp

Ein MCP-Server zur Überprüfung und Verbesserung der Sichtbarkeit einer Website für KI-Crawler und Antwortmaschinen (ChatGPT, Claude, Perplexity, Google AI Overviews usw.) im Vergleich zu Ihren eigenen Eigenschaften.

Die meisten „AI SEO“-Ratschläge enden mit „Fügen Sie eine llms.txt hinzu.“ In der Praxis liegt das größere und häufigere Problem jedoch davor: robots.txt – oft automatisch von einem CDN wie Cloudflare verwaltet – blockiert stillschweigend genau die Crawler, die Sie erreichen möchten, was jede llms.txt oder Inhaltsarbeit zunichte macht. Dieser Server überprüft beides und kann das Problem auditieren und die Behebung generieren.

Tools

  • check_visibility(url) — ruft die aktuelle robots.txt einer Website ab und markiert benannte KI-Bots (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, Applebot-Extended, CCBot, Bytespider, Amazonbot, meta-externalagent und andere), die mit Disallow: / blockiert sind, oder einen Wildcard-Block. Überprüft auch, ob llms.txt als echte Datei existiert oder ob sie auf eine SPA-Catch-All-Route fällt (ein häufiger Falsch-Positiv: Die Datei liefert einen HTTP-200-Status, ist aber tatsächlich Ihre Startseite).

  • cloudflare_ai_bot_audit(domain) — liest die Bot-Management-KI-Bot-Einstellungen (ai_bots_protection, ai_training, ai_search, ai_user, is_robots_txt_managed) einer Cloudflare-Zone für eine von Ihnen kontrollierte Domain aus. Erfordert die Umgebungsvariablen CLOUDFLARE_API_EMAIL + CLOUDFLARE_API_KEY (Global API Key).

  • generate_llms_txt(name, description, url, phrase?) — erzeugt eine llms.txt-Zeile und, wenn Sie eine eigene Nischen-phrase angeben, ein kleines Content-Paket (Meta-Beschreibung + FAQ-Block), das auf dieser Phrase basiert. Reine Textgenerierung – keine Dateisystem- oder Git-Schreibvorgänge.

Related MCP server: ai-readiness

Install

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

Fügen Sie zu Ihrer MCP-Client-Konfiguration hinzu (z. B. 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"
      }
    }
  }
}

Die Cloudflare-Umgebungsvariablen werden nur für cloudflare_ai_bot_audit benötigt – check_visibility und generate_llms_txt arbeiten ohne Konfiguration.

Warum dies existiert

Websites auf Cloudflare haben häufig standardmäßig die KI-Crawler-Blockierung aktiviert (der Schalter „Block AI Bots“), der die ausgelieferte robots.txt so umschreibt, dass GPTBot, ClaudeBot, Google-Extended und andere ausgeschlossen werden – selbst wenn der Website-Betreiber dies nie explizit entschieden hat und eigentlich KI-Such-Sichtbarkeit wünscht. Dies ist leicht zu übersehen, da die Website für menschliche Besucher und normale Suchmaschinen weiterhin normal aussieht und funktioniert; nur KI-Crawler werden stillschweigend abgewiesen. check_visibility deckt dies von außen auf (was tatsächlich ausgeliefert wird) und cloudflare_ai_bot_audit bestätigt es von der Kontoseite (was die Cloudflare-Einstellungen sagen), sodass Sie die beiden unterscheiden können.

Lizenz

MIT

Available Tools

3 tools
check_visibilityA

Check a site's actual AI-crawler visibility: fetch its live robots.txt and look for Disallow rules blocking named AI bots (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, etc.) or a wildcard block, plus whether llms.txt actually exists as a real file (vs. falling through to a SPA catch-all).

Inputs: url (required).

cloudflare_ai_bot_auditA

Read a Cloudflare zone's Bot Management AI-bot settings (ai_bots_protection, ai_training, ai_search, ai_user, is_robots_txt_managed) for a domain. Requires CLOUDFLARE_API_EMAIL and CLOUDFLARE_API_KEY env vars (Global API Key, X-Auth-Email/X-Auth-Key auth).

Inputs: domain (required).

generate_llms_txtA

Generate an llms.txt line plus a content pack (ownable phrase, llms.txt sentence, meta description, FAQ block) for a product, ready to hand-place on a landing page or drop as a file. Does not write files or touch git — pure text generation.

Inputs: url (required), name (required), description (required), phrase.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: one checks live robots.txt and llms.txt, one audits Cloudflare's specific AI bot settings, and one generates llms.txt content. There is no overlap or ambiguity.

    Naming Consistency4/5

    All names use snake_case and include a verb, but check_visibility and generate_llms_txt follow a verb_noun pattern while cloudflare_ai_bot_audit places the verb at the end of a compound noun. This slight inconsistency is minor and does not hinder readability.

    Tool Count4/5

    Three tools is a reasonable number for a focused domain like AI crawler visibility. The scope is narrow enough that each tool earns its place without feeling sparse or excessive.

    Completeness4/5

    The tool set covers the core workflows: checking visibility, auditing a specific provider's settings, and generating content. However, it lacks support for other hosting providers beyond Cloudflare and does not include any write/modify capabilities, which may be expected in a visibility management server but is likely intentional as an analysis-only tool.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      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
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Generates a complete suite of AI readiness files (llms.txt, ai.txt, schema, RAG indexes) for any website to optimize representation in ChatGPT, Claude, Gemini, and Perplexity.
      52 npm
      4
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to audit and improve a site's visibility in AI search by checking robots.txt against 17 major AI crawlers, detecting llms.txt, and returning a 0-100 visibility score with per-crawler verdicts; it also lists known AI crawlers and their purposes.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Checks a site for AI crawlers: which of 11 AI crawlers its robots.txt lets in, whether its llms.txt follows llmstxt.org, and what its home page says without scripts. Findings with evidence; no scores, no model calls, no telemetry.
      5
      43 npm
      MIT