AI-Assisted Development

Use AI tools to build with assistant-ui faster. AI-accessible documentation, Claude Code skills, and MCP integration.

Build faster with AI assistants that understand assistant-ui. This page covers all the ways to give your AI tools access to assistant-ui documentation and context.

AI Accessible Documentation

Our docs are designed to be easily accessible to AI assistants:

Context Files

Add assistant-ui context to your project's CLAUDE.md or .cursorrules:

## assistant-ui

This project uses assistant-ui for chat interfaces.

Documentation: https://www.assistant-ui.com/llms-full.txt

Key patterns:
- Use AssistantRuntimeProvider at the app root
- Thread component for full chat interface
- AssistantModal for floating chat widget
- useChatRuntime hook with AI SDK transport

Skills

Install assistant-ui skills for AI Tools:

npx skills add assistant-ui/skills
SkillPurpose
/assistant-uiGeneral architecture and overview guide
/setupProject setup and configuration (AI SDK, LangGraph, custom backends)
/primitivesUI component primitives (Thread, Composer, Message, etc.)
/runtimeRuntime system and state management
/toolsTool registration and tool UI
/streamingStreaming protocol with assistant-stream
/cloudCloud persistence and authorization
/thread-listMulti-thread management
/updateUpdate assistant-ui and AI SDK to latest versions

Use by typing the command in Claude Code, e.g., /assistant-ui for the main guide or /setup when setting up a project.

MCP

@assistant-ui/mcp-docs-server provides direct access to assistant-ui documentation and examples in your IDE via the Model Context Protocol.

Once installed, your AI assistant will understand everything about assistant-ui - just ask naturally:

  • "Add a chat interface with streaming support to my app"
  • "How do I integrate assistant-ui with the Vercel AI SDK?"
  • "My Thread component isn't updating, what could be wrong?"

Quick Install (CLI)

npx assistant-ui mcp

Or specify your IDE directly:

npx assistant-ui mcp --cursor
npx assistant-ui mcp --windsurf
npx assistant-ui mcp --vscode
npx assistant-ui mcp --zed
npx assistant-ui mcp --claude-code
npx assistant-ui mcp --claude-desktop

Manual Installation

Install in Cursor

Or add to .cursor/mcp.json:

{
  "mcpServers": {
    "assistant-ui": {
      "command": "npx",
      "args": ["-y", "@assistant-ui/mcp-docs-server"]
    }
  }
}

After adding, open Cursor Settings → MCP → find "assistant-ui" and click enable.

Available Tools

ToolDescription
assistantUIDocsAccess documentation: getting started, component APIs, runtime docs, integration guides
assistantUIExamplesBrowse code examples: AI SDK, LangGraph, OpenAI Assistants, tool UI patterns

Troubleshooting

  • Server not starting: Ensure npx is installed and working. Check configuration file syntax.
  • Tool calls failing: Restart the MCP server and/or your IDE. Update to latest IDE version.