@contentful/mcp-server 1.15.0 → 1.17.0
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 +1 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -164,6 +164,7 @@ Below is a sample configuration:
|
|
|
164
164
|
| | `space_to_space_param_collection` | Collect parameters for migration workflow |
|
|
165
165
|
| | `export_space` | Export space to file for migration |
|
|
166
166
|
| | `import_space` | Import space from exported file |
|
|
167
|
+
| **Usage** | `get_usages` | Get aggregated usage metrics for an organization, optionally filtered or grouped by space |
|
|
167
168
|
|
|
168
169
|
## 🤝 Contributing
|
|
169
170
|
|
package/dist/index.js
CHANGED
|
@@ -4126,7 +4126,7 @@ init_esm_shims();
|
|
|
4126
4126
|
|
|
4127
4127
|
// src/mcpVersion.ts
|
|
4128
4128
|
init_esm_shims();
|
|
4129
|
-
var MCP_VERSION = "1.
|
|
4129
|
+
var MCP_VERSION = "1.16.0";
|
|
4130
4130
|
|
|
4131
4131
|
// src/getVersion.ts
|
|
4132
4132
|
var getVersion = () => {
|
|
@@ -4149,6 +4149,7 @@ async function registerAllTools(server) {
|
|
|
4149
4149
|
organizationId: env.data.ORGANIZATION_ID,
|
|
4150
4150
|
appId: env.data.APP_ID,
|
|
4151
4151
|
mcpVersion: getVersion(),
|
|
4152
|
+
mcpSource: "local",
|
|
4152
4153
|
deliveryToken: env.data.CONTENTFUL_DELIVERY_TOKEN,
|
|
4153
4154
|
hostDelivery: env.data.CONTENTFUL_DELIVERY_HOST,
|
|
4154
4155
|
protectedEnvironments,
|
|
@@ -4171,6 +4172,7 @@ async function registerAllTools(server) {
|
|
|
4171
4172
|
const spaceTools = tools.getSpaceTools();
|
|
4172
4173
|
const tagTools = tools.getTagTools();
|
|
4173
4174
|
const taxonomyTools = tools.getTaxonomyTools();
|
|
4175
|
+
const usageTools = tools.getUsageTools();
|
|
4174
4176
|
const allToolCollections = [
|
|
4175
4177
|
aiActionTools,
|
|
4176
4178
|
assetTools,
|
|
@@ -4184,6 +4186,7 @@ async function registerAllTools(server) {
|
|
|
4184
4186
|
spaceTools,
|
|
4185
4187
|
tagTools,
|
|
4186
4188
|
taxonomyTools,
|
|
4189
|
+
usageTools,
|
|
4187
4190
|
...registerExoTools ? [
|
|
4188
4191
|
tools.getComponentTools(),
|
|
4189
4192
|
tools.getDataAssemblyTools(),
|