@uniformdev/uniform-mcp 20.7.1-alpha.67
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/LICENSE.txt +2 -0
- package/README.md +57 -0
- package/dist/index.mjs +5336 -0
- package/package.json +44 -0
package/LICENSE.txt
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
## Uniform MCP Server
|
|
2
|
+
|
|
3
|
+
A stdio-transport MCP server which allows you to manipulate Uniform entities.
|
|
4
|
+
|
|
5
|
+
Part of the [Uniform Platform](https://uniform.app). See our [documentation](https://docs.uniform.app) for more details.
|
|
6
|
+
|
|
7
|
+
### Setup
|
|
8
|
+
|
|
9
|
+
#### Uniform Rules
|
|
10
|
+
|
|
11
|
+
It is essential to use the [Uniform AI Rules](https://github.com/uniformdev/ai-rules) with Uniform MCP. You will experience poor results without additional context of how Uniform works.
|
|
12
|
+
|
|
13
|
+
#### Register MCP server
|
|
14
|
+
|
|
15
|
+
- Add the following to `.cursor/mcp.json` (for other editors, this should be easily convertible)
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"Uniform": {
|
|
21
|
+
"type": "stdio",
|
|
22
|
+
"command": "npx",
|
|
23
|
+
"args": ["-y", "@uniformdev/uniform-mcp"],
|
|
24
|
+
"env": {
|
|
25
|
+
"UNIFORM_API_KEY": "your-api-key",
|
|
26
|
+
"UNIFORM_PROJECT_ID": "your-project-id",
|
|
27
|
+
// optional, only needed if your API host is not the default (e.g. EU users, developers)
|
|
28
|
+
"UNIFORM_API_HOST": "https://uniform.app",
|
|
29
|
+
"UNIFORM_AI_API_HOST": "https://ai.uniform.global"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- Enable the MCP server if necessary.
|
|
38
|
+
|
|
39
|
+
Note: if you are developing against this mcp server, you must use `node` with args `../path/to/this-package-source/dist/index.mjs` - npx does not support local packages. If your Uniform API host is self-signed, `NODE_TLS_REJECT_UNAUTHORIZED: 0` env var works, but do not use in production.
|
|
40
|
+
|
|
41
|
+
## Notable Limitations
|
|
42
|
+
|
|
43
|
+
The following Uniform features cannot currently be changed using MCP.
|
|
44
|
+
|
|
45
|
+
- Interacting with slot sections (adding, removing, manipulating components within)
|
|
46
|
+
- Creating new Loop component instances
|
|
47
|
+
- Adding, editing, or removing block type fields/parameters, or block type definitions
|
|
48
|
+
- Setting the value of asset or reference type fields/parameters
|
|
49
|
+
- Editing conditional values on parameters or fields (the default value can be edited)
|
|
50
|
+
- Setting visibility rules on component instances
|
|
51
|
+
- Changing data sources, data types, or data resources
|
|
52
|
+
- Adding or removing project map nodes, and linking compositions to project map nodes
|
|
53
|
+
- Adding or removing content from Uniform Releases, or changing releases (i.e. locking, scheduling)
|
|
54
|
+
- All content you work with is in a 'draft' state. You do not have access to published content and cannot assist with publishing
|
|
55
|
+
- Managing workflows, or transitioning compositions, entries, or patterns from one workflow stage to another
|
|
56
|
+
- Managing assets, including generating,uploading, editing, or deleting assets
|
|
57
|
+
- Changing user permissions
|