@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/CHANGELOG.md +4 -0
- package/dist/bin.cjs +3 -3
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-QCLUFJZ5.js → chunk-3C3J6N2L.js} +4 -4
- package/dist/{chunk-QCLUFJZ5.js.map → chunk-3C3J6N2L.js.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -799,7 +799,7 @@ function registerIntegrationTools(tool, client) {
|
|
|
799
799
|
);
|
|
800
800
|
tool(
|
|
801
801
|
"get_embed_manifest",
|
|
802
|
-
"A site\u2019s embed manifest (the tenant variant of /.well-known/
|
|
802
|
+
"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.",
|
|
803
803
|
{ cbid: z3.string() },
|
|
804
804
|
(a) => client.embedManifest(a.cbid)
|
|
805
805
|
);
|
|
@@ -1962,7 +1962,7 @@ ${JSON.stringify(r, null, 2)}` : r;
|
|
|
1962
1962
|
);
|
|
1963
1963
|
tool(
|
|
1964
1964
|
"import_cookie_manifest",
|
|
1965
|
-
'Declare ANY vendor\u2019s cookies and browser storage from its embed manifest (/.well-known
|
|
1965
|
+
'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.',
|
|
1966
1966
|
{
|
|
1967
1967
|
cbid: z6.string(),
|
|
1968
1968
|
url: z6.string().optional().describe("An https:// embed manifest URL."),
|
|
@@ -2419,7 +2419,7 @@ ${JSON.stringify(r, null, 2)}` : r;
|
|
|
2419
2419
|
}
|
|
2420
2420
|
|
|
2421
2421
|
// src/index.ts
|
|
2422
|
-
var MCP_VERSION = "0.7.
|
|
2422
|
+
var MCP_VERSION = "0.7.1";
|
|
2423
2423
|
function createCookieMunchMcp(opts) {
|
|
2424
2424
|
const client = opts.client ?? createCookieMunch({ apiKey: opts.apiKey, baseUrl: opts.baseUrl, userAgent: opts.userAgent ?? `cookiemunch-mcp/${MCP_VERSION}` });
|
|
2425
2425
|
const server = new McpServer({ name: "cookiemunch", version: "1.0.0" });
|
|
@@ -2432,4 +2432,4 @@ export {
|
|
|
2432
2432
|
MCP_VERSION,
|
|
2433
2433
|
createCookieMunchMcp
|
|
2434
2434
|
};
|
|
2435
|
-
//# sourceMappingURL=chunk-
|
|
2435
|
+
//# sourceMappingURL=chunk-3C3J6N2L.js.map
|