@primeuicom/mcp 0.1.7 → 0.1.8
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 +12 -24
- package/package.json +28 -1
package/README.md
CHANGED
|
@@ -45,16 +45,6 @@ Create or update `.mcp.json`:
|
|
|
45
45
|
}
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Optional environment variables:
|
|
49
|
-
|
|
50
|
-
- `PRIMEUI_API_BASE_URL`: custom PrimeUI app base URL (default: `https://app.primeui.com/`).
|
|
51
|
-
- `PRIMEUI_PROJECT_ROOT`: absolute path to the target local project root. If omitted, current working directory is used.
|
|
52
|
-
|
|
53
|
-
Notes:
|
|
54
|
-
|
|
55
|
-
- API root is normalized to `/api/v1`.
|
|
56
|
-
- Temporary export files are written under `.primeui/temp/`.
|
|
57
|
-
|
|
58
48
|
## Install in common MCP clients
|
|
59
49
|
|
|
60
50
|
If your CLI command syntax differs by client version, use the JSON config from Getting started with the same `primeui` server block.
|
|
@@ -166,36 +156,34 @@ Use the same JSON server configuration shown in Getting started:
|
|
|
166
156
|
|
|
167
157
|
Available tools:
|
|
168
158
|
|
|
169
|
-
| Tool
|
|
170
|
-
|
|
|
171
|
-
| `primeui_get_project_info` | Returns project metadata and page list, including export readiness and source paths. | none
|
|
172
|
-
| `primeui_list_exports`
|
|
173
|
-
| `primeui_create_export`
|
|
174
|
-
| `primeui_download_export`
|
|
175
|
-
| `primeui_clear_temp`
|
|
159
|
+
| Tool | What it does | Input |
|
|
160
|
+
| -------------------------- | ------------------------------------------------------------------------------------ | ---------------- |
|
|
161
|
+
| `primeui_get_project_info` | Returns project metadata and page list, including export readiness and source paths. | none |
|
|
162
|
+
| `primeui_list_exports` | Lists existing exports with ID, status, and creation time. | none |
|
|
163
|
+
| `primeui_create_export` | Starts a new export and returns created export info plus page snapshot. | none |
|
|
164
|
+
| `primeui_download_export` | Downloads and extracts a completed export into `.primeui/temp/exports/<exportId>/`. | `id` (export ID) |
|
|
165
|
+
| `primeui_clear_temp` | Clears `.primeui/temp/` and recreates baseline temp layout. | none |
|
|
176
166
|
|
|
177
167
|
## Your first prompt
|
|
178
168
|
|
|
179
169
|
Try this in your MCP-enabled agent:
|
|
180
170
|
|
|
181
171
|
```text
|
|
182
|
-
Use PrimeUI MCP to get my project info, list pages that are ready to export
|
|
172
|
+
Use PrimeUI MCP to get my project info, list pages that are ready to export.
|
|
183
173
|
```
|
|
184
174
|
|
|
185
175
|
Next step:
|
|
186
176
|
|
|
187
177
|
```text
|
|
188
|
-
|
|
178
|
+
Export [missing pages | XXX page] with PrimeUI MCP and add them to my project.
|
|
189
179
|
```
|
|
190
180
|
|
|
191
181
|
## Runtime behavior
|
|
192
182
|
|
|
193
183
|
- PrimeUI MCP uses bearer authentication with `PRIMEUI_API_KEY`.
|
|
194
|
-
- If `PRIMEUI_API_BASE_URL` is not set, it uses `https://app.primeui.com/`.
|
|
195
184
|
- Downloaded archives are validated as ZIP payloads before extraction.
|
|
185
|
+
- Temporary export files are written under `.primeui/temp/` in user project folder
|
|
196
186
|
|
|
197
|
-
##
|
|
187
|
+
## Credits
|
|
198
188
|
|
|
199
|
-
|
|
200
|
-
- `Failed to extract zip`: verify local file permissions and retry.
|
|
201
|
-
- API contract mismatch errors: your client/server versions may be out of sync; update to latest package and verify PrimeUI backend version.
|
|
189
|
+
PrimeUI 2026
|
package/package.json
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primeuicom/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "MCP server that connects AI agents with PrimeUI project",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mcp",
|
|
7
|
+
"model-context-protocol",
|
|
8
|
+
"primeui",
|
|
9
|
+
"ai-agent",
|
|
10
|
+
"agent-tools",
|
|
11
|
+
"developer-tools",
|
|
12
|
+
"nextjs",
|
|
13
|
+
"export",
|
|
14
|
+
"website ai generation",
|
|
15
|
+
"next.js ai generation",
|
|
16
|
+
"ai sitebuilder",
|
|
17
|
+
"primeui components",
|
|
18
|
+
"primeui pages"
|
|
19
|
+
],
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Oleg",
|
|
22
|
+
"email": "oleg@primeui.com",
|
|
23
|
+
"url": "https://pixelpoint.io/"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://primeui.com/",
|
|
26
|
+
"repository": "https://primeui.com/",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://primeui.com/",
|
|
29
|
+
"email": "oleg@primeui.com"
|
|
30
|
+
},
|
|
4
31
|
"type": "module",
|
|
5
32
|
"main": "dist/service.js",
|
|
6
33
|
"bin": {
|