@cookiemunch/mcp 0.7.0 → 0.7.1

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/dist/index.cjs CHANGED
@@ -825,7 +825,7 @@ function registerIntegrationTools(tool, client) {
825
825
  );
826
826
  tool(
827
827
  "get_embed_manifest",
828
- "A site\u2019s embed manifest (the tenant variant of /.well-known/forgedeck-embed.json): every origin the Cookie Munch embed touches on that site, by CSP directive (non-origin sources such as 'unsafe-inline' under requires), every cookie and browser-storage key it writes with category and lifetime, the checkers\u2019 User-Agent, and the hosts of the site\u2019s rights page and preference centre. Use it to build a Content-Security-Policy. Read-only.",
828
+ "A site\u2019s embed manifest (the tenant variant of /.well-known/cookiemunch-embed.json): every origin the Cookie Munch embed touches on that site, by CSP directive (non-origin sources such as 'unsafe-inline' under requires), every cookie and browser-storage key it writes with category and lifetime, the checkers\u2019 User-Agent, and the hosts of the site\u2019s rights page and preference centre. Use it to build a Content-Security-Policy. Read-only.",
829
829
  { cbid: import_zod3.z.string() },
830
830
  (a) => client.embedManifest(a.cbid)
831
831
  );
@@ -1988,7 +1988,7 @@ ${JSON.stringify(r, null, 2)}` : r;
1988
1988
  );
1989
1989
  tool(
1990
1990
  "import_cookie_manifest",
1991
- 'Declare ANY vendor\u2019s cookies and browser storage from its embed manifest (/.well-known/forgedeck-embed.json): give its https URL (re-read hourly afterwards) or the manifest document. The vendor id is the manifest\u2019s product; rows are marked source "manifest". An invalid manifest is refused with each broken rule named. Use dryRun first; remove it with remove_cookie_preset and the product id.',
1991
+ 'Declare ANY vendor\u2019s cookies and browser storage from its embed manifest (/.well-known/<product>-embed.json): give its https URL (re-read hourly afterwards) or the manifest document. The vendor id is the manifest\u2019s product; rows are marked source "manifest". An invalid manifest is refused with each broken rule named. Use dryRun first; remove it with remove_cookie_preset and the product id.',
1992
1992
  {
1993
1993
  cbid: import_zod6.z.string(),
1994
1994
  url: import_zod6.z.string().optional().describe("An https:// embed manifest URL."),
@@ -2445,7 +2445,7 @@ ${JSON.stringify(r, null, 2)}` : r;
2445
2445
  }
2446
2446
 
2447
2447
  // src/index.ts
2448
- var MCP_VERSION = "0.7.0";
2448
+ var MCP_VERSION = "0.7.1";
2449
2449
  function createCookieMunchMcp(opts) {
2450
2450
  const client = opts.client ?? (0, import_sdk.createCookieMunch)({ apiKey: opts.apiKey, baseUrl: opts.baseUrl, userAgent: opts.userAgent ?? `cookiemunch-mcp/${MCP_VERSION}` });
2451
2451
  const server = new import_mcp.McpServer({ name: "cookiemunch", version: "1.0.0" });