multisite-cms-mcp 1.0.16 → 1.0.18
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 +3 -1
- package/dist/tools/get-tenant-schema.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Add to your MCP configuration (e.g., `.cursor/mcp.json`):
|
|
|
13
13
|
"mcpServers": {
|
|
14
14
|
"multisite-cms": {
|
|
15
15
|
"command": "npx",
|
|
16
|
-
"args": ["-y", "multisite-cms-mcp"],
|
|
16
|
+
"args": ["-y", "multisite-cms-mcp@latest"],
|
|
17
17
|
"env": {
|
|
18
18
|
"FASTMODE_API_URL": "https://api.fastmode.ai"
|
|
19
19
|
}
|
|
@@ -22,6 +22,8 @@ Add to your MCP configuration (e.g., `.cursor/mcp.json`):
|
|
|
22
22
|
}
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
> **Tip:** Using `@latest` ensures you always get the newest version on restart.
|
|
26
|
+
|
|
25
27
|
### Global Installation
|
|
26
28
|
|
|
27
29
|
```bash
|
|
@@ -65,7 +65,7 @@ ${resolved.error}
|
|
|
65
65
|
const { tenantId } = resolved;
|
|
66
66
|
const apiUrl = (0, api_client_1.getApiUrl)();
|
|
67
67
|
// Fetch the AI prompt for this tenant
|
|
68
|
-
const response = await (0, api_client_1.apiRequest)('/api/
|
|
68
|
+
const response = await (0, api_client_1.apiRequest)('/api/collections/ai-prompt', {
|
|
69
69
|
tenantId,
|
|
70
70
|
});
|
|
71
71
|
if ((0, api_client_1.isApiError)(response)) {
|
|
@@ -76,7 +76,7 @@ ${resolved.error}
|
|
|
76
76
|
return authResult.message;
|
|
77
77
|
}
|
|
78
78
|
// Retry the request
|
|
79
|
-
const retryResponse = await (0, api_client_1.apiRequest)('/api/
|
|
79
|
+
const retryResponse = await (0, api_client_1.apiRequest)('/api/collections/ai-prompt', {
|
|
80
80
|
tenantId,
|
|
81
81
|
});
|
|
82
82
|
if ((0, api_client_1.isApiError)(retryResponse)) {
|
package/package.json
CHANGED