r/reactjs • u/ozz_aj12 • 3d ago
I built a React + Vue component library with a hosted MCP server so Cursor and Claude Code stop guessing props
chould i create a post in there ? with this
I built Orvain UI, a React (and Vue) component library with a hosted MCP server, so Cursor / Claude Code use the real component API instead of hallucinating props.
45 components are free on npm (@orvain/react, no account), there's a Figma library that matches the code 1:1, and theming is one token file.
Happy to answer questions about how the MCP side works.
0
Upvotes
1
u/xzinkx 2d ago
shipping both react and vue from one library is rare, most stop at react. the mcp angle makes sense too, made-up prop names are the most annoying claude code mistake in ui work. how do you keep the two apis in sync, is there one shared spec that generates both packages (and what the mcp server returns), or are they maintained by hand?