@fabiocv/component-code-mcp 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  An MCP App that shows a React component in the chat in Component Code: a live
4
4
  preview beside the code that uses it, where every value is a control.
5
5
 
6
- It is one of the [`mcp-ui-tools`](../mcp-ui-tools), and installs on its own or
6
+ It is one of the tools in [`@fabiocv/mcp`](../server), and installs on its own or
7
7
  with the others.
8
8
 
9
9
  Ask your agent for a component and say "show it in Component Code".
@@ -38,20 +38,20 @@ code --add-mcp '{"name":"component-code","command":"npx","args":["-y","@fabiocv/
38
38
  Codex:
39
39
 
40
40
  ```sh
41
- codex mcp add component-code --url https://mcp-ui-tools.fabio.cv/component-code/mcp
41
+ codex mcp add component-code --url https://mcp.fabio.cv/component-code/mcp
42
42
  ```
43
43
 
44
44
  Claude.ai, ChatGPT and other hosts that take a remote connector:
45
45
 
46
46
  ```
47
- https://mcp-ui-tools.fabio.cv/component-code/mcp
47
+ https://mcp.fabio.cv/component-code/mcp
48
48
  ```
49
49
 
50
50
  If the app can't find `npx`, as when Node comes from nvm, add the URL instead.
51
51
 
52
52
  ## The tool
53
53
 
54
- `show_in_component_code`, titled Show in Component Code, takes:
54
+ `component_code_show`, titled Show in Component Code, takes:
55
55
 
56
56
  | Input | What it is |
57
57
  | ---------- | ---------------------------------------------------------------------------------------- |
@@ -67,7 +67,7 @@ such as `checked={true}`, the component gets a handler such as
67
67
  component in the preview shows in the code the agent gets. State of its own is
68
68
  only for when that handler is missing.
69
69
 
70
- `show_html_in_component_code`, titled Show HTML in Component Code, takes:
70
+ `component_code_show_html`, titled Show HTML in Component Code, takes:
71
71
 
72
72
  | Input | What it is |
73
73
  | ---------- | ------------------------------------------------------------------------------------------------------------------------------- |