@mybe/contensa-mcp 1.0.1 → 1.0.2
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 +23 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ Add to your Cursor MCP settings (`~/.cursor/mcp.json` or workspace `.cursor/mcp.
|
|
|
47
47
|
"command": "contensa-mcp",
|
|
48
48
|
"env": {
|
|
49
49
|
"CONTENSA_API_KEY": "your-api-key-here",
|
|
50
|
+
"CONTENSA_USER_ID": "your-user-id-here",
|
|
50
51
|
"CONTENSA_PROJECT_ID": "your-default-project-id"
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -63,6 +64,7 @@ Add to your Cursor MCP settings (`~/.cursor/mcp.json` or workspace `.cursor/mcp.
|
|
|
63
64
|
"args": ["@mybe/contensa-mcp"],
|
|
64
65
|
"env": {
|
|
65
66
|
"CONTENSA_API_KEY": "your-api-key-here",
|
|
67
|
+
"CONTENSA_USER_ID": "your-user-id-here",
|
|
66
68
|
"CONTENSA_PROJECT_ID": "your-default-project-id"
|
|
67
69
|
}
|
|
68
70
|
}
|
|
@@ -80,6 +82,7 @@ Or if running from the monorepo:
|
|
|
80
82
|
"args": ["/path/to/mybe-cms/packages/mcp-server/dist/cli.js"],
|
|
81
83
|
"env": {
|
|
82
84
|
"CONTENSA_API_KEY": "your-api-key-here",
|
|
85
|
+
"CONTENSA_USER_ID": "your-user-id-here",
|
|
83
86
|
"CONTENSA_PROJECT_ID": "your-default-project-id"
|
|
84
87
|
}
|
|
85
88
|
}
|
|
@@ -98,6 +101,7 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
98
101
|
"command": "contensa-mcp",
|
|
99
102
|
"env": {
|
|
100
103
|
"CONTENSA_API_KEY": "your-api-key-here",
|
|
104
|
+
"CONTENSA_USER_ID": "your-user-id-here",
|
|
101
105
|
"CONTENSA_PROJECT_ID": "your-default-project-id"
|
|
102
106
|
}
|
|
103
107
|
}
|
|
@@ -114,6 +118,7 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
114
118
|
"args": ["@mybe/contensa-mcp"],
|
|
115
119
|
"env": {
|
|
116
120
|
"CONTENSA_API_KEY": "your-api-key-here",
|
|
121
|
+
"CONTENSA_USER_ID": "your-user-id-here",
|
|
117
122
|
"CONTENSA_PROJECT_ID": "your-default-project-id"
|
|
118
123
|
}
|
|
119
124
|
}
|
|
@@ -126,8 +131,9 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
126
131
|
| Variable | Required | Description |
|
|
127
132
|
|----------|----------|-------------|
|
|
128
133
|
| `CONTENSA_API_KEY` | Yes | Your Contensa API key |
|
|
129
|
-
| `
|
|
134
|
+
| `CONTENSA_USER_ID` | Yes | Your user ID (required for creating/updating content) |
|
|
130
135
|
| `CONTENSA_PROJECT_ID` | No | Default project ID |
|
|
136
|
+
| `CONTENSA_BASE_URL` | No | Custom API base URL (defaults to Contensa production API or localhost in dev) |
|
|
131
137
|
|
|
132
138
|
### API Base URL
|
|
133
139
|
|
|
@@ -146,6 +152,7 @@ You can override the default by setting `CONTENSA_BASE_URL` for custom API endpo
|
|
|
146
152
|
"args": ["./packages/mcp-server/dist/cli.js"],
|
|
147
153
|
"env": {
|
|
148
154
|
"CONTENSA_API_KEY": "your-api-key",
|
|
155
|
+
"CONTENSA_USER_ID": "your-user-id",
|
|
149
156
|
"CONTENSA_BASE_URL": "https://your-custom-api.com/api/v1"
|
|
150
157
|
}
|
|
151
158
|
}
|
|
@@ -758,12 +765,25 @@ Example response:
|
|
|
758
765
|
}
|
|
759
766
|
```
|
|
760
767
|
|
|
761
|
-
## Getting Your API Key
|
|
768
|
+
## Getting Your API Key and User ID
|
|
769
|
+
|
|
770
|
+
### API Key
|
|
762
771
|
|
|
763
772
|
1. Log in to your Contensa dashboard
|
|
764
773
|
2. Go to Settings → API Keys
|
|
765
774
|
3. Generate a new API key
|
|
766
|
-
4. Copy the key and add it to your MCP configuration
|
|
775
|
+
4. Copy the key and add it to your MCP configuration as `CONTENSA_API_KEY`
|
|
776
|
+
|
|
777
|
+
### User ID
|
|
778
|
+
|
|
779
|
+
Your User ID is required for creating and updating content. To find it:
|
|
780
|
+
|
|
781
|
+
1. Log in to your Contensa dashboard
|
|
782
|
+
2. Go to Settings → Profile or Account Settings
|
|
783
|
+
3. Your User ID will be displayed in your profile information
|
|
784
|
+
4. Copy the User ID and add it to your MCP configuration as `CONTENSA_USER_ID`
|
|
785
|
+
|
|
786
|
+
**Note**: The User ID is a UUID that uniquely identifies your account. It's required for all write operations (creating/updating content, content types, fields, etc.).
|
|
767
787
|
|
|
768
788
|
## Development
|
|
769
789
|
|
package/package.json
CHANGED