affectUI
MCP server by flohoeller Community
Search, read and install agent-ready React components for AI products through the affectUI MCP server. It is aimed at developers building agent interfaces who use Claude Code, Cursor, VS Code or Codex.
Install affectUI
Built from the published package, never by AI.
claude mcp add --transport http affectui https://www.affectui.com/api/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"affectui": {
"url": "https://www.affectui.com/api/mcp"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"affectui": {
"url": "https://www.affectui.com/api/mcp"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"affectui": {
"url": "https://www.affectui.com/api/mcp"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
{
"mcpServers": {
"affectui": {
"serverUrl": "https://www.affectui.com/api/mcp"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
https://www.affectui.com/api/mcpIn ChatGPT: Settings, Connectors, Add custom connector, then paste this URL. Works in any client that supports remote servers.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the affectui block.
About
affectUI is a library of React components for AI agent interfaces, covering runs, tool calls, traces, handoffs, approvals and context. It also includes general app pieces such as inputs, menus, charts, screens, illustrations and motion. Each item is a single .tsx file with its styles inside, and the source says no Tailwind, CSS setup or animation library is needed.
Items can be installed with the shadcn CLI or copied by hand. The affectUI MCP server lets Claude Code, Cursor, VS Code or Codex search the catalog, read item docs and add items to a project. The source says the components suit developers building agent dashboards, AI chat, human-in-the-loop approvals, tool-call views and generative UI in React 19 apps.
Written from the project's README and checked against it.
Tools it gives your assistant
Search itemsLets the assistant search the affectUI component catalog.Read item docsLets the assistant read the documentation for a component.Add itemsLets the assistant add a component to the user's project.
What you need
- React 19
- shadcn CLI, for installing items from registry URLs
- An MCP client such as Claude Code, Cursor, VS Code or Codex
| Setting | Needed | What it is |
|---|---|---|
AuthorizationHeader, secret | Optional | 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. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search affectUI for a tool call card component for React
- Read the docs for the affectUI Decision Inbox component
- Add the affectUI Reaction Bar component to my project
Good to know
- Items marked Pro are not in this repository.
- Some items on the website are part of the paid affectUI Pro offering.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to affectUI
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
affectUI: common questions
Does affectUI work with plain React or only Next.js?
The source says it works with any React setup, including Next.js, Vite, Remix or plain React. The @/* import alias is needed only if you use the shadcn CLI.
Do the components need Tailwind or a CSS framework?
No. The source says each item is one .tsx file with its styles inside, with no Tailwind, CSS setup or animation library needed.
Which AI tools can connect to the affectUI MCP server?
The source names Claude Code, Cursor, VS Code and Codex, and says other MCP clients can be added with a URL in their MCP config.
How do I install affectUI?
In Claude Code run claude mcp add --transport http affectui https://www.affectui.com/api/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is affectUI the official server?
affectUI is a community project by flohoeller, not verified by a company domain.
Is affectUI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is affectUI safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to affectUI?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does affectUI work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
