Skip to content
naso avatar

Component Code

naso/ui.fabio.cv

Live, tweakable component previews shown inside the chat, with controls for each value.

CCM score
80 of 100
tools
2
transport
STDIO, HTTP
last updated
Nov 30, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Shows React components with component_code_show, turning each string, number, and boolean into an editable control beside the code
  • Shows HTML, CSS, and JS pages with component_code_show_html, with a tab per file and controls for attributes, CSS properties, and JS constants
  • Runs over stdio with a local npx command or over HTTP at a hosted endpoint, with no account or API key mentioned in the source
  • Designed for trying a component's props, testing edge cases, and explaining layouts before any code reaches your codebase

Install

$ npx -y add-mcp https://mcp.fabio.cv/component-code/mcp --name component-code -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http component-code https://mcp.fabio.cv/component-code/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Nov 27, 2026.

component_code_showShows a React component in the chat in Component Code: a live preview beside the code that uses it. Each string, number and boolean in the code becomes a control the reader can change. Use it when someone asks to show a component in Component Code, or to see, preview or try one.4 params

Shows a React component in the chat in Component Code: a live preview beside the code that uses it. Each string, number and boolean in the code becomes a control the reader can change. Use it when someone asks to show a component in Component Code, or to see, preview or try one.

Parameters* required
code*string
How the component is used, in JSX: elements, props and text only, with no hooks, calls or conditions. It is shown as code and rendered as the preview. Each string, number and boolean in it becomes...
controlsobject
How a prop is changed, by its name or by `Element.prop`: a list of options, `{ min, max, step }` for a number, or `false` to keep it as written.
filestring
The file named in the code's tab, such as `Card.tsx`.
source*string
The component's module in TSX. It may import only from 'react'. Its exports, the default one by its function's name, are what `code` can name. For each value the reader can change by using the comp...
component_code_show_htmlShows HTML, CSS and JS running in the chat in Component Code: the page beside its code, with a tab for each file. The values named in `controls` become controls the reader can change. Use it when someone asks to show HTML, CSS, JS, a canvas or an SVG in Component Code, or for...2 params

Shows HTML, CSS and JS running in the chat in Component Code: the page beside its code, with a tab for each file. The values named in `controls` become controls the reader can change. Use it when someone asks to show HTML, CSS, JS, a canvas or an SVG in Component Code, or for...

Parameters* required
controlsobject
The values the reader can change, by name: an attribute, as `r` or `circle.r`, a CSS property or custom property, as `--speed`, or a JS `const` set to a number, string or boolean. Each takes `true`...
files*object
The files by name, such as `index.html`, `style.css` and `script.js`, each in its own tab. They run together as one page in a sandboxed frame: the HTML is the page's body, with the CSS in a style e...

Readme

Details

Repository
github.com/naso/ui.fabio.cv
Website
ui.fabio.cv/mcp/component-code
Categories
Developer Tools, Design & UI/UX
Package
@fabiocv/component-code-mcp
Transport
STDIO, HTTP
Registry
MCP registry, active
Resources
1
Tools verified
Nov 27, 2026

Questions

Which MCP server handles Developer Tools work for code components with live parameters?

Component Code is in the Developer Tools category on Claude Marketplaces, where Front-End Checklist, Context7, Chrome DevTools MCP, Codebase Memory and Mcp Server Filesystem are other servers in the same category. It sets itself apart by showing React components and HTML pages directly in the chat with live controls for their values.

How do I install the Component Code MCP server in Claude Code?

Run claude mcp add --transport http component-code https://mcp.fabio.cv/component-code/mcp in a terminal. After that, the agent gains access to its two tools for showing components and HTML pages in the chat.

What tools does the Component Code MCP server give an agent?

The server provides two tools, component_code_show for React components and component_code_show_html for HTML, CSS and JS pages. Each tool displays the rendered result beside its code, so the reader can change the values and watch the output update.

Can I use the Component Code MCP server with a local package?

Yes, the server is published on npm as @fabiocv/component-code-mcp and supports both stdio and streamable HTTP transports. The listing does not require an account or API key.

More from naso

All 3

Similar to Component Code

More Developer Tools