affectUI
Lets your AI agent search, read and install React components and screens built for AI products.
478 stars on GitHubby flohoellerLicense MITUpdated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://www.affectui.com/api/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http affectui https://www.affectui.com/api/mcp --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Optional. "Bearer aui_β¦" with your affectUI Pro access key (Account β Downloads) to get the source of Pro items. Free items and all docs work without it. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Find a component that shows an agent tool call in one line and add it to my project.
Add the Decision Inbox component and show me how to use it.
What it is
affectUI is a library of React components for what agents do: tool calls, traces, handoffs, approvals and more, plus general UI parts. Each item is one file with its styles inside. The MCP server lets coding assistants find components and add them to your project.
What it can do
- Search components, screens and blocks
- Read the docs of an item
- Install an item into your project
- Registry URLs for the shadcn CLI
- llms.txt and llms-full.txt for assistants without MCP
When to use
- βΊWhen you build an interface for an AI agent and need components for tool calls and approvals
- βΊWhen you want your coding assistant to add UI components for you
- βΊWhen you want dark mode and accessible components with no CSS setup
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
kortix-uiTeaches your agent to build React screens with the @kortix/ui component library, using its ready-made chat, session, and project parts.shadcn-uiHelps your agent find, install and customize shadcn/ui components, copy-in interface pieces built with Radix or Base UI and Tailwind CSS.shadcnManages user interface (UI) components and projects. Provides context and documentation for building modern design systems.Frequently asked questions
Is it free?
The readme says it is free and open source. Some items are marked Pro and are not in the repository.
Do I need Tailwind?
No. Each component is one file with its styles inside, with no CSS framework needed.
How do I install a component?
Use the shadcn CLI with the item registry URL, copy and paste the file, or ask an assistant through MCP.
Does it support dark mode?
Yes. Items switch when an ancestor has the class dark or data-theme set to dark.
Is it accessible?
The readme says it has real buttons, labels, keyboard support and live regions where they matter, and respects reduced motion.
Which assistants work with it?
Claude Code, Cursor, VS Code, Codex and v0, among others.
If it does not work
- βΊCheck that your project uses React 19 and has the @/* import alias if you use the shadcn CLI.
- βΊRestart your AI client after adding the MCP URL.
- βΊIf MCP is not available, point your assistant at the llms.txt file instead.
5 new skills a week. 1 minute to read.