@cookiemunch/mcp 0.6.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 +9 -0
- package/dist/bin.cjs +27 -3
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-6NEWNBRL.js → chunk-3C3J6N2L.js} +28 -4
- package/dist/{chunk-6NEWNBRL.js.map → chunk-3C3J6N2L.js.map} +1 -1
- package/dist/index.cjs +27 -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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Every published release, newest first. Dates are the day the version was cut. Each release tracks the same-numbered `@cookiemunch/sdk`.
|
|
4
4
|
|
|
5
|
+
## 0.7.1 (2026-10-24)
|
|
6
|
+
|
|
7
|
+
- Changed: tool descriptions name each vendor's own embed manifest (`/.well-known/<product>-embed.json`); built on `@cookiemunch/sdk` 0.7.1.
|
|
8
|
+
|
|
9
|
+
## 0.7.0 (2026-10-24)
|
|
10
|
+
|
|
11
|
+
- Added: `get_sandbox`, `create_sandbox` (erasing a sandbox stays a person's `cookiemunch sandbox delete`), `list_api_versions`, `set_own_api_version`.
|
|
12
|
+
- Changed: built on `@cookiemunch/sdk` 0.7.0.
|
|
13
|
+
|
|
5
14
|
## 0.6.0 (2026-10-24)
|
|
6
15
|
|
|
7
16
|
- Added: `open_dsar_case`, `get_dsar_case`, `cancel_dsar_case`, `get_dsar_case_receipt`, `find_dsar_by_trace`, `get_dsar_settings`, `set_dsar_settings`, `get_subject_card`, `run_executor_conformance`, `roll_executor_completion_secret`. The grace period is opt-in for existing sites (they read `graceDays: 0` until set).
|
package/dist/bin.cjs
CHANGED
|
@@ -805,7 +805,7 @@ function registerIntegrationTools(tool, client) {
|
|
|
805
805
|
);
|
|
806
806
|
tool(
|
|
807
807
|
"get_embed_manifest",
|
|
808
|
-
"A site\u2019s embed manifest (the tenant variant of /.well-known/
|
|
808
|
+
"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.",
|
|
809
809
|
{ cbid: import_zod3.z.string() },
|
|
810
810
|
(a) => client.embedManifest(a.cbid)
|
|
811
811
|
);
|
|
@@ -870,6 +870,30 @@ function registerKeyAndTagTools(tool, client) {
|
|
|
870
870
|
{},
|
|
871
871
|
() => client.keys.self()
|
|
872
872
|
);
|
|
873
|
+
tool(
|
|
874
|
+
"list_api_versions",
|
|
875
|
+
"The dated API versions, what each one changed, and the version the key this server runs with is pinned to (`yours`). Read-only.",
|
|
876
|
+
{},
|
|
877
|
+
() => client.versions()
|
|
878
|
+
);
|
|
879
|
+
tool(
|
|
880
|
+
"set_own_api_version",
|
|
881
|
+
"Re-pin the key this server runs with to another dated API version (from list_api_versions). It changes how the API behaves for this key (for example strict request bodies from 2026-10-24), never what the key may do.",
|
|
882
|
+
{ apiVersion: import_zod4.z.string().describe("A version from list_api_versions, e.g. 2026-10-24.") },
|
|
883
|
+
(a) => client.keys.updateSelf({ apiVersion: a.apiVersion })
|
|
884
|
+
);
|
|
885
|
+
tool(
|
|
886
|
+
"get_sandbox",
|
|
887
|
+
"The organisation\u2019s sandbox (a separate test organisation with the same people and plan features, never billed), or null. Read-only.",
|
|
888
|
+
{},
|
|
889
|
+
() => client.sandbox.get()
|
|
890
|
+
);
|
|
891
|
+
tool(
|
|
892
|
+
"create_sandbox",
|
|
893
|
+
"Make a sandbox of the organisation, or return the one it has, with a new test-format key for it (shown once). Everything in a sandbox is test data: its keys are cookiemunch_test_ keys and every rights request filed there is a test. Needs a full-access key or orgs:create.",
|
|
894
|
+
{ keyName: import_zod4.z.string().min(1).max(100).optional().describe('A name for the new key. Default "sandbox".') },
|
|
895
|
+
(a) => client.sandbox.create(a.keyName !== void 0 ? { keyName: a.keyName } : {})
|
|
896
|
+
);
|
|
873
897
|
tool(
|
|
874
898
|
"list_api_keys_standard",
|
|
875
899
|
"The organisation\u2019s keys in the suite-standard shape (id, owner, kind, env, scopes, resources, created_at, expires_at, last_used_at, last_used_ip, status). Needs a full-access key. Read-only.",
|
|
@@ -1944,7 +1968,7 @@ ${JSON.stringify(r, null, 2)}` : r;
|
|
|
1944
1968
|
);
|
|
1945
1969
|
tool(
|
|
1946
1970
|
"import_cookie_manifest",
|
|
1947
|
-
'Declare ANY vendor\u2019s cookies and browser storage from its embed manifest (/.well-known
|
|
1971
|
+
'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.',
|
|
1948
1972
|
{
|
|
1949
1973
|
cbid: import_zod6.z.string(),
|
|
1950
1974
|
url: import_zod6.z.string().optional().describe("An https:// embed manifest URL."),
|
|
@@ -2401,7 +2425,7 @@ ${JSON.stringify(r, null, 2)}` : r;
|
|
|
2401
2425
|
}
|
|
2402
2426
|
|
|
2403
2427
|
// src/index.ts
|
|
2404
|
-
var MCP_VERSION = "0.
|
|
2428
|
+
var MCP_VERSION = "0.7.1";
|
|
2405
2429
|
function createCookieMunchMcp(opts) {
|
|
2406
2430
|
const client = opts.client ?? (0, import_sdk.createCookieMunch)({ apiKey: opts.apiKey, baseUrl: opts.baseUrl, userAgent: opts.userAgent ?? `cookiemunch-mcp/${MCP_VERSION}` });
|
|
2407
2431
|
const server = new import_mcp.McpServer({ name: "cookiemunch", version: "1.0.0" });
|