CookieGuard AI
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
CookieGuard audits authentication-cookie configuration for origins the maintainer configured. Start with cookieguard_capabilities. Use cookieguard_audit for one allowed URL or one sanitized evidence file, and cookieguard_explain for rule IDs and error codes. Check isError, status, and exitCode; review items are not confirmed failures and INCOMPLETE is never a pass. Never interpret a pass as proof of application security.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cookieguard_capabilitiesA | Describe CookieGuard: the cookie checks it runs, this server's fixed origins and policy, result and exit-code semantics, integrations for authenticated browser workflows, privacy properties, and limitations. Takes no arguments and makes no network requests. |
| cookieguard_auditA | Audit authentication-cookie configuration with the fixed startup policy. Pass exactly one of: url (GET one URL on a configured origin and audit its Set-Cookie headers; makes network requests, sends no cookies or credentials) or evidenceFile (re-evaluate a sanitized CookieGuard JSON report that your own Browser Use, Playwright, or CLI run wrote to the configured evidence directory). Returns passed, failed, or incomplete (exitCode 0/1/2) with rule IDs and fixes, never cookie values. |
| cookieguard_explainA | Explain a CookieGuard rule ID (CG001-CG009), incomplete reason, error code, or status (passed/failed/incomplete): what it means, when it is confirmed versus review, and how to fix it. Static text only; no network or cookie data. |
| cookieguard_policyA | Read the maintainer-configured origins, cookie policy, timeout, and HTTP-only scope. This tool cannot change them. |
| cookieguard_scanA | GET a URL on a configured origin and audit Set-Cookie headers with the fixed policy. Returns passed, failed, or incomplete (exitCode 0/1/2). Makes network requests; use authorized test endpoints. No login or browser cookies are collected. Same as cookieguard_audit with url. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
cookieguard_scan is explicitly documented as 'Same as cookieguard_audit with url', giving the agent two names for one behaviour with no stated rule for choosing between them. The remaining tools (capabilities, policy, explain) are distinct, but the audit/scan collision is a real misselection hazard.
All five tools use the same cookieguard_ snake_case prefix followed by a short noun/verb (audit, scan, policy, explain, capabilities). The pattern is predictable and readable throughout.
Five tools is a well-scoped surface for a focused cookie-auditing server. The only issue is that one of the five (scan) duplicates an existing mode of audit rather than earning its own place.
The lifecycle is covered: discover capabilities, read the fixed policy, run a live audit or re-evaluate evidence, and look up rule/exit-code meanings. Remaining gaps are minor — no batch/multi-URL auditing and no way to enumerate all rule IDs at once instead of explaining one at a time.