Skip to main content
Glama

DS4AI MCP 服务器

DS4AI,即 Design Suite for AI,来自 Polymathie-Studio 的聚合端点。它以可调用的 MCP 工具形式提供整个套件,因此与 AI 协作的人可以通过其代理访问一致性审计器和生成器,而无需调用函数。与指向规范来源的 @proof-of-coord 标准服务器不同,此服务器运行这些原语,并且由于它是进程而非浏览器,因此它可以获取 URL 并审计所提供的 HTML。

运行

无需构建步骤,无需全局安装,与其他服务器的运行方式相同:

deno run -A jsr:@polymathie/ds4ai

或者通过 npm:npx @polymathie/ds4ai。它通过 stdio 进行 MCP 通信。

将其作为 stdio 服务器添加到 MCP 客户端(Claude Code、Cursor 等),该服务器的命令为 deno,参数为 run -A jsr:@polymathie/ds4ai。

Related MCP server: aeo-graph-engine

工具

  • audit_surface { url? , html? }:使用 MISSING 一致性审计器,对已发布的表面在全部六个隐形正确性维度上进行审计。提供 URL,它将获取并审计所提供的 HTML。它会声明静态检查无法判断的维度,而不是将其报告为无问题。

  • generate_head、generate_jsonld、generate_sitemap、generate_robots、audit_findability(BEACON):可发现性 head 标签、JSON-LD、sitemap、robots.txt 以及深度可发现性审计。

  • generate_image_markup、generate_cache_config、audit_delivery(FLEET):响应式 image 和 picture 标记、按主机的缓存头配置,以及深度交付审计。

  • solve_palette、check_contrast(TEMPER):为某个模式求解完整调色板以达到对比度下限,并检查两种颜色之间的 WCAG 对比度。

每个结果都带有来源戳记,声明服务器和捆绑的原语版本。

资源

  • ds4ai://manifest:DS4AI 家族清单(以通用方式读取,因此它将清单作为其数据源进行跟踪)。

  • ds4ai://agents:代理指令(AGENTS.md),因此已连接的代理可以自动获得组合套件的指令。

  • ds4ai://standard:MISSING 标准。

构建方式

使用 MCP SDK 和 zod 模式构建的 TypeScript,带有来源戳记,遵循 @proof-of-coord 模式。零依赖原语(TEMPER、BEACON、FLEET 和 MISSING 一致性审计器)已捆绑在内,因此服务器是自包含的,每个工具都会戳记其捆绑的原语版本。发布到 JSR 的 @polymathie 下,并附带 npm bin。

安全性

URL 审计路径(audit_surface 获取实时 URL)按照防御性威胁模型构建,并在发布前针对服务端请求伪造、拒绝服务和资源耗尽攻击进行对抗性测试和加固。获取的内容被视为不受信任的输入:它会被解析,但绝不会被执行,并且获取器仅连接到经过验证的公共地址。该实现以 Apache-2.0 许可开放供审查。

DS4AI 的一部分

来自 Polymathie-Studio 的 DS4AI(即 Design Suite for AI)与 PT4AI 和 PC4AI 一起,加入提供给 AI 的语料库家族。这些工具和 MISSING 标准托管于 Polymathie-Studio。

许可证

服务器采用 Apache-2.0 许可。版权所有 2026 Regis Lloyd Chapman。请参阅 LICENSE 和 NOTICE。

捆绑的资源来自 Polymathie-Studio/missing 仓库,并保留其各自的许可证:resources/standard.md(MISSING 标准)采用 CC-BY-4.0 双重许可;清单和 AGENTS.md 采用 Apache-2.0。src/vendor/ 下的内置原语源代码采用 Apache-2.0,来自其工具仓库。

Available Tools

11 tools
audit_deliveryB

Audit a page HTML string for delivery in depth (FLEET): unsized images, a lazy-loaded first image, render-blocking head scripts, and inline @font-face without font-display.

Inputs: html (required).

audit_findabilityA

Audit a page HTML string for findability in depth (BEACON): head essentials, Open Graph, Twitter, JSON-LD validity, and the canonical-versus-og:url agreement invariant.

Inputs: html (required).

audit_surfaceA

Audit a shipped web surface across all six invisible-correctness axes (perceivable, operable, off-happy-path, key-private, findable, fast-and-stable) with the MISSING conformance auditor. Pass a url to fetch and audit the served HTML, or pass html directly. Returns a per-axis report that declares the axes a static check cannot judge rather than reporting them clean.

Inputs: url, html.

check_contrastA

Check the WCAG 2.1 contrast ratio between two hex colors and whether it clears the AA thresholds (4.5:1 for normal text, 3:1 for large text or non-text).

Inputs: background (required), foreground (required).

generate_cache_configA

Generate cache-header config for a named host (netlify, vercel, nginx): revalidate HTML, cache content-hashed assets for a year as immutable.

Inputs: target (required), options.

generate_headA

Generate the findability head tags (title, description, canonical, Open Graph, Twitter card) for a page from a flat metadata object, as an SSR/build-time string. Also returns the html lang attribute.

Inputs: metadata (required).

generate_image_markupA

Generate responsive or markup with reserved dimensions and correct scheduling. Mark the LCP image priority (eager, high fetchpriority); mark offscreen images lazy. Pass avif/webp for format negotiation to get a .

Inputs: image (required).

generate_jsonldA

Serialize one or several schema.org objects into a JSON-LD script tag, with the sequence escaped. Pass a schema object or an array of them.

Inputs: schema (required).

generate_robotsA

Serialize a robots.txt for crawl control. Pass allow/disallow (string or array) and one or more sitemap URLs. Index control belongs in the head robots directive, not here.

Inputs: options (required).

generate_sitemapA

Serialize a sitemap.xml from a list of canonical URLs (strings, or objects with loc, lastmod, changefreq, priority).

Inputs: urls (required).

solve_paletteA

Solve a full TEMPER palette to verified contrast floors for a mode. mode is light, soft-light, soft-dark, or dark; notch is 0 (brighter), 1 (middle), or 2 (deeper); family is a color family key (for example iron, oxblood, moss); vision constrains for a color-vision deficiency (default, rg, by, mono). Returns the semantic token set.

Inputs: mode (required), notch, family, vision.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each tool names a distinct artifact or audit focus (head, JSON-LD, sitemap, robots, images, cache, palette, contrast). The only mild overlap is audit_surface versus audit_findability/audit_delivery, but the descriptions clearly differentiate a broad holistic audit from in-depth single-axis audits.

    Naming Consistency5/5

    Tool names consistently follow a verb_noun pattern: generate_* for output serializers, audit_* for auditors, plus solve_palette and check_contrast. There is no mixed casing or vague verb style, making the naming pattern predictable and readable.

    Tool Count5/5

    11 tools is well within the ideal scope for a web-correctness toolkit. Each generator and auditor addresses a distinct deliverable or audit pass, and none feels redundant or out of place.

    Completeness4/5

    The set covers core generation (head, structured data, sitemap, robots, images, cache) and auditing (surface, findability, delivery) plus color accessibility. The main gap is that index/noindex control is mentioned as living in the head, but no tool directly emits that meta robots directive.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      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
      68 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to crawl live websites, audit AEO readiness, generate Schema.org @graph JSON-LD, llms.txt, ai.txt, and robots.txt, inject structured data into HTML, validate optimizations, and retrieve framework-specific code snippets.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to scan pages and whole sites for SEO and AI-search visibility, generate ready-to-paste fixes and validated structured data, and verify HTML before deploy and live results after — all through stable issue codes so an agent can fix problems one by one and prove they are gone.
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to run evidence-first technical SEO and GEO audits, inspect HTML, structured data, robots policies and sitemaps, and compare before/after reports to verify fixes.
      5
      1
      MIT