Skip to main content
MCP server CX Codex

CookieGuard — Claude Code MCP server: what does it do, how to install

CookieGuard — an MCP server for Claude Code audits HTTP cookie configuration against local security policy. The tool runs locally over stdio and reports findings without exposing cookie values.

MIT ★ 5 updated 2026-11-14

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp -- npx -y @aiscihub/cookieguard-mcp
Open on GitHub

What CookieGuard does

The server evaluates endpoints and inspects cookie attributes through specific diagnostic tools like cookieguard_audit and cookieguard_scan. Operation requires Node.js 24 or later and an explicit JSON configuration file defining allowed origins and audit rules.

Configuration is loaded once at startup, so any policy updates require restarting the server process. Remote cloud hosting or external API keys are not required for execution.

What it helps with

  • audit HTTP cookie configuration against local policy
  • scan server endpoints for cookie security issues
  • explain rule failure codes and remediation steps
  • inspect scanner capabilities and active checks

Example prompts for the agent

  • Read CookieGuard's policy, then scan http://127.0.0.1:3000/secure and explain any confirmed failures.
  • Run an audit tool call using CookieGuard with an evidence file.
  • Show capabilities and checks configured in CookieGuard.

How to install CookieGuard

Platform CLI

claude mcp add mcp -- npx -y @aiscihub/cookieguard-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about CookieGuard

How to install CookieGuard in Claude Code?

Run the command claude mcp add mcp -- npx -y @aiscihub/cookieguard-mcp.

What does CookieGuard do?

It scans HTTP cookie headers and attributes, returning pass or fail statuses, rule IDs, and explanations for identified issues.

What is needed to run CookieGuard?

Node.js 24 or later and a local configuration file containing your allowed origins and policy settings are required.

Similar MCP servers

All MCP servers for Security →

Project sponsors

Companies that keep this analytics open