Skip to main content
Glama
sulabhdubey

astra-fable-styleguide-mcp

by sulabhdubey

Astra + Fable Style Constitution

Two independent design agents. One governed design standard. Available to humans and machines through MCP.

Architecture

Astra + Fable Style Constitution turns design rules into a versioned, machine-readable contract. Two provider-independent agent roles propose and critique changes; deterministic checks resolve measurable questions; exact candidate hashes prevent fake consensus; humans retain release authority by default.

What it gives you

  • A canonical StyleSpec under /spec.

  • Independent Astra/Fable proposal and cross-review workflow, including an optional one-call product-brief-to-candidate path.

  • Deterministic token, accessibility, component, and governance checks.

  • MCP resources and tools for coding agents.

  • Generated CSS, JSON, and TypeScript artifacts.

  • A human documentation site.

  • Audit-friendly decisions and proposal records.

Related MCP server: eds-mcp-server

Quick verification without external dependencies

The repository includes a dependency-light verification path for the core engine:

npm run verify:core

The full connected build uses pnpm and installs the official MCP SDK, Astro, Zod, ESLint, and TypeScript:

pnpm install
pnpm verify

Production MCP

The production adapter targets MCP 2026-07-28 via the official v2 TypeScript packages and createMcpHandler. The public endpoint is read-oriented by default. Write/release workflows remain governance-gated. When explicitly enabled, generate_style_constitution_candidate can invoke configurable OpenAI/Anthropic-backed roles from a product brief; generated candidates still require exact-hash approvals. The optional release tool is separately disabled by default and requires a distinct human-held approval credential.

Project contract

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    A read-only MCP server that provides AI coding agents with a queryable contract for design system tokens, components, patterns, and anti-patterns.
    6 npm
    1
    Apache 2.0
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to access design system tokens and component contracts through MCP, reducing token usage and ensuring consistency.
    29
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Manages design tokens (colors, spacing, fonts) in a JSON file and enables agents to read, write, export, and detect drift between tokens and CSS via MCP.
    5
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Read-only MCP server that exposes a design system's tokens, components, conventions, and deprecations as queryable tools, enabling agents to look up canonical values, assess change impact, and detect hardcoded value drift.
    8
    1 npm
    MIT