Model Context Protocol (MCP) Integration
AI Agent Harness

Equip your coding agents with deterministic context.

Connect Cursor, Claude Code, Windsurf, or your agent harness directly to UXDL specifications. Give AI tools precise state machines and stable addresses instead of ambiguous prose.

Agent-native Fast JSON-RPC Zero Token Bloat
Capabilities

Why connect your AI agents to UXDL via MCP?

Tooling

Document & Schema Context

Provide agents with exact UXDL 0.1 format definitions, slice specifications, and canonical requirement schemas without token bloat.

Tooling

Addressable Flow Inspection

Allow LLMs to look up specific addressable elements like billing.actions.cancel or cancellation.states.provider_error on demand.

Tooling

Deterministic Validation

Check proposed code changes against canonical UXDL rules to ensure all state paths, loading conditions, and error recoveries exist in code.

Tooling

Slice Context Packs

Bundle exact requirement slices so agents build specific features without needing the entire monolith in prompt context.

Quick Setup

Add UXDL to your agent configuration

Paste this configuration into your MCP client (e.g. Cursor or Claude Desktop):

{
  "mcpServers": {
    "uxdl": {
      "command": "npx",
      "args": ["-y", "@uxdl/mcp-server@latest"]
    }
  }
}
Free Public Alpha

Build better products with AI and UXDL today.

No sign-in required. Explore the local visual editor or inspect the specification.

Open the editor