Who it is forA developer who works in Claude Code, Cursor or Codex and wants the assistant to pick and add UI components without copying URLs by hand.
The problemFinding the right registry URL and adding each item manually slows down UI work inside an agent session.
The outcomeAn agent that can search the affectUI catalog, read item docs and add a chosen component to the project.
What you need first
- A React 19 project, with or without TypeScript
- A setup that supports the shadcn CLI, such as Next.js or shadcn-configured projects with the @/* import alias
- Access to the affectui.com registry URLs
Steps
- Run
claude mcp add --transport http affectui https://www.affectui.com/api/mcponce for Claude Code. - For Cursor or other MCP clients, add
{ "mcpServers": { "affectui": { "url": "https://www.affectui.com/api/mcp" } } }to the client's MCP config. - Ask the agent to search affectUI for the component you need, for example a reaction bar or onboarding checklist.
- Review the file the agent adds to components/ui before importing it into your screens.
- Run the project build to confirm the added component compiles.
Prompt for your agent
Use the affectUI MCP server at https://www.affectui.com/api/mcp to search for <component-need> and add the best match to the <project-path> React 19 project. Expected output: the new component file in components/ui and a short note naming the item chosen. Verify that the project builds after the file is added.
Caveat. The MCP server is hosted at Affectui.com, so the agent depends on that service being reachable, and Pro items are not in this repository and will not install from here.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for flohoeller/affectui and "Let an AI coding agent find and add UI items for you"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer