# Component Code

> Code with live parameters that you can change and see the component update.

- name: cv.fabio/component-code
- version: 0.6.1
- connection class: R0 (autonomous)
- trust: 92/100 flags: duplicate-repo
- quality: 88/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/cv.fabio%2Fcomponent-code
- tools: https://api.protogrid.dev/v1/servers/cv.fabio%2Fcomponent-code/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "component-code": {
      "type": "http",
      "url": "https://mcp.fabio.cv/component-code/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-100% +updated-2d-ago -duplicate-repo(3 names)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 88/100 (new)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 2 of 2 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: component_code_show (destructiveHint, idempotentHint); component_code_show_html (destructiveHint, idempotentHint)
- pass `tools.token_cost`: about 850 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 3 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @fabiocv/component-code-mcp@0.6.1

- tools: 2, about 850 tokens to load them all
- tool set hash: a6dd16ee358ec52e8c67a0493bfdcf8f
- badge: [![protogrid quality](https://protogrid.dev/badge/cv.fabio/component-code.svg)](https://protogrid.dev/servers/cv.fabio/component-code)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Dependencies

- npm @fabiocv/component-code-mcp@0.6.1: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://mcp.fabio.cv/component-code/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm @fabiocv/component-code-mcp@0.6.1

## Tools (2)

- `component_code_show`: 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.
- `component_code_show_html`: 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 an experiment without React.

## Prompts and resources

### Resources (1)

- `` ui://fabio.cv/component-code ``: A component or page beside the code that makes it.
