@cookiemunch/mcp 0.1.1 → 0.2.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 +11 -6
- package/dist/bin.cjs +514 -146
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +2 -2
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-Y4NTLOVB.js → chunk-PLBLLTYO.js} +514 -146
- package/dist/chunk-PLBLLTYO.js.map +1 -0
- package/dist/index.cjs +513 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-Y4NTLOVB.js.map +0 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ it server-side — you never pass an `orgId`.
|
|
|
14
14
|
| Env var | Required | Default |
|
|
15
15
|
| --- | --- | --- |
|
|
16
16
|
| `COOKIEMUNCH_API_KEY` | yes | — |
|
|
17
|
-
| `COOKIEMUNCH_BASE_URL` | no | `
|
|
17
|
+
| `COOKIEMUNCH_BASE_URL` | no | `https://api.cookiemunch.net` |
|
|
18
18
|
|
|
19
19
|
Generate a key from the dashboard (it looks like `fck_…`).
|
|
20
20
|
|
|
@@ -34,6 +34,13 @@ Generate a key from the dashboard (it looks like `fck_…`).
|
|
|
34
34
|
| `advance_dsar` | Move a DSAR to a new status. |
|
|
35
35
|
| `list_vendors` | Vendors with computed risk scores. |
|
|
36
36
|
| `list_ropa` | Records of Processing Activities. |
|
|
37
|
+
| `get_rights_page`, `update_rights_page`, `patch_rights_page`, `preview_rights_page` | Read, replace, change or dry-run the hosted rights page draft. Pass `baseUpdatedAt` so a newer save is a conflict, not overwritten. |
|
|
38
|
+
| `publish_rights_page`, `get_published_rights_page`, `list_rights_page_versions`, `rollback_rights_page` | Publish (live at once), read the live page and its history, roll back. A rollback replaces the draft; pass `baseUpdatedAt` to both. |
|
|
39
|
+
| `list_rights_page_domains`, `add_rights_page_domain`, `verify_rights_page_domain`, `remove_rights_page_domain` | Serve the rights page on your own hostname. |
|
|
40
|
+
| `create_rights_link` | A signed, single-use rights-page link for a signed-in person. |
|
|
41
|
+
| `get_mail_provider`, `set_mail_provider`, `test_mail_provider`, `remove_mail_provider` | Your own email provider for rights-request mail. |
|
|
42
|
+
|
|
43
|
+
The full list, with every argument, is on [cookiemunch.net/docs/mcp-tools](https://cookiemunch.net/docs/mcp-tools).
|
|
37
44
|
|
|
38
45
|
## Client configuration
|
|
39
46
|
|
|
@@ -49,8 +56,7 @@ Add to your MCP servers config (`claude_desktop_config.json`, or via
|
|
|
49
56
|
"command": "npx",
|
|
50
57
|
"args": ["-y", "@cookiemunch/mcp"],
|
|
51
58
|
"env": {
|
|
52
|
-
"COOKIEMUNCH_API_KEY": "fck_your_key_here"
|
|
53
|
-
"COOKIEMUNCH_BASE_URL": "https://cmp.example.com"
|
|
59
|
+
"COOKIEMUNCH_API_KEY": "fck_your_key_here"
|
|
54
60
|
}
|
|
55
61
|
}
|
|
56
62
|
}
|
|
@@ -66,8 +72,7 @@ Or, from a local checkout after `pnpm --filter @cookiemunch/mcp build`:
|
|
|
66
72
|
"command": "node",
|
|
67
73
|
"args": ["/absolute/path/to/packages/mcp/dist/bin.js"],
|
|
68
74
|
"env": {
|
|
69
|
-
"COOKIEMUNCH_API_KEY": "fck_your_key_here"
|
|
70
|
-
"COOKIEMUNCH_BASE_URL": "https://cmp.example.com"
|
|
75
|
+
"COOKIEMUNCH_API_KEY": "fck_your_key_here"
|
|
71
76
|
}
|
|
72
77
|
}
|
|
73
78
|
}
|
|
@@ -80,6 +85,6 @@ Or, from a local checkout after `pnpm --filter @cookiemunch/mcp build`:
|
|
|
80
85
|
import { createCookieMunchMcp } from '@cookiemunch/mcp';
|
|
81
86
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
82
87
|
|
|
83
|
-
const server = createCookieMunchMcp({ apiKey: process.env.COOKIEMUNCH_API_KEY!, baseUrl: 'https://
|
|
88
|
+
const server = createCookieMunchMcp({ apiKey: process.env.COOKIEMUNCH_API_KEY!, baseUrl: 'https://api.cookiemunch.net' });
|
|
84
89
|
await server.connect(new StdioServerTransport());
|
|
85
90
|
```
|