@primeuicom/mcp 0.1.10 → 0.1.11
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 +11 -9
- package/dist/service.js +1075 -44
- package/dist/service.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Core goals:
|
|
|
18
18
|
- An MCP client that supports `stdio` servers.
|
|
19
19
|
- A working Node.js runtime (the server is launched via `npx`).
|
|
20
20
|
- A valid PrimeUI API key (`PRIMEUI_API_KEY`).
|
|
21
|
+
- API key format: `pui_<22-char-base64url>`.
|
|
21
22
|
|
|
22
23
|
## PrimeUI API KEY
|
|
23
24
|
|
|
@@ -29,26 +30,27 @@ Core goals:
|
|
|
29
30
|
Try this in your MCP-enabled agent:
|
|
30
31
|
|
|
31
32
|
```text
|
|
32
|
-
Use PrimeUI MCP to get my project info, list pages that are ready to export.
|
|
33
|
+
Use PrimeUI MCP to get my project info, list pages that are ready to export. Compare them with my current pages
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
Next step:
|
|
36
37
|
|
|
37
38
|
```text
|
|
38
|
-
Export [
|
|
39
|
+
Export [X page | XX pages] from PrimeUI and add them to my project.
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
## Tools
|
|
42
43
|
|
|
43
44
|
Available tools:
|
|
44
45
|
|
|
45
|
-
| Tool | What it does
|
|
46
|
-
| -------------------------- |
|
|
47
|
-
| `primeui_get_project_info` | Returns project metadata and page list, including export readiness and source paths.
|
|
48
|
-
| `primeui_list_exports` | Lists existing exports with ID, status, and creation time.
|
|
49
|
-
| `primeui_create_export` | Starts a new export and returns created export info plus page snapshot.
|
|
50
|
-
| `primeui_download_export` | Downloads and extracts a completed export into `.primeui/temp/exports/<exportId
|
|
51
|
-
| `
|
|
46
|
+
| Tool | What it does | Input |
|
|
47
|
+
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
|
|
48
|
+
| `primeui_get_project_info` | Returns project metadata and page list, including export readiness and source paths. | none |
|
|
49
|
+
| `primeui_list_exports` | Lists existing exports with ID, status, and creation time. | none |
|
|
50
|
+
| `primeui_create_export` | Starts a new export and returns created export info plus page snapshot. | none |
|
|
51
|
+
| `primeui_download_export` | Downloads and extracts a completed export into `.primeui/temp/exports/<exportId>/` and writes sidecar manifest `.primeui/temp/exports/<exportId>.manifest.json`. | `id` (export ID) |
|
|
52
|
+
| `primeui_copy_page` | Safely copies one page from downloaded export into user project (new files only, conflicts as diff, add-only missing deps). | `originPageSlug`, `actualPageSlug?` |
|
|
53
|
+
| `primeui_clear_temp` | Clears `.primeui/temp/` and recreates baseline temp layout. | none |
|
|
52
54
|
|
|
53
55
|
## Getting started
|
|
54
56
|
|