Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-xcodethink-pixelcheck": {
"command": "npx",
"args": [
"-y",
"pixelcheck"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_VALUE>",
"LOG_FILE": "<VALUE>",
"LOG_LEVEL": "info",
"LOG_PRETTY": "auto",
"AUDIT_AUTO_CONSENT": "<VALUE>",
"AUDIT_COST_LEDGER_PATH": "~/.pixelcheck/cost-ledger.json",
"AUDIT_COST_MAX_RUN_USD": "5",
"AUDIT_RESULT_CACHE_PATH": "~/.pixelcheck/result-cache.db",
"AUDIT_COST_MAX_DAILY_USD": "50",
"AUDIT_ACTS_RETENTION_DAYS": "30",
"AUDIT_COST_GUARD_DISABLED": "<VALUE>",
"AUDIT_COST_MAX_RUN_TOKENS": "10000000",
"AUDIT_RESULT_CACHE_TTL_MS": "86400000",
"AUDIT_SEES_RETENTION_DAYS": "30",
"AUDIT_COST_MAX_DAILY_TOKENS": "100000000",
"AUDIT_JUDGES_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_DISABLED": "<VALUE>",
"AUDIT_RESULT_CACHE_MAX_ROWS": "10000",
"AUDIT_COMPARES_RETENTION_DAYS": "30",
"AUDIT_EXTRACTS_RETENTION_DAYS": "30",
"AUDIT_RESULT_CACHE_MAX_DISK_MB": "500"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| ANTHROPIC_API_KEY secret | Yes | Required. Anthropic API key for Claude. |
| LOG_FILE | No | Path to log file (optional, logs to stderr by default) |
| LOG_LEVEL | No | Minimum log level: trace, debug, info, warn, error, fatal, silent Default: info |
| LOG_PRETTY | No | Force pretty-print or JSON; auto decides by TTY Default: auto |
| AUDIT_AUTO_CONSENT | No | Set to '1' or 'true' to auto-consent to privacy notice (bypasses prompt) |
| AUDIT_COST_LEDGER_PATH | No | Path to the persistent daily ledger Default: ~/.pixelcheck/cost-ledger.json |
| AUDIT_COST_MAX_RUN_USD | No | Max USD per audit run / MCP tool call Default: 5 |
| AUDIT_RESULT_CACHE_PATH | No | SQLite path for result cache Default: ~/.pixelcheck/result-cache.db |
| AUDIT_COST_MAX_DAILY_USD | No | Max USD per UTC day across all runs Default: 50 |
| AUDIT_ACTS_RETENTION_DAYS | No | Retention window for 'act' artifacts Default: 30 |
| AUDIT_COST_GUARD_DISABLED | No | Set to '1' or 'true' to bypass cost guard entirely |
| AUDIT_COST_MAX_RUN_TOKENS | No | Max input+output tokens per run Default: 10000000 |
| AUDIT_RESULT_CACHE_TTL_MS | No | Cache TTL in milliseconds Default: 86400000 |
| AUDIT_SEES_RETENTION_DAYS | No | Retention window for 'see' artifacts; 0 disables prune Default: 30 |
| AUDIT_COST_MAX_DAILY_TOKENS | No | Max input+output tokens per UTC day Default: 100000000 |
| AUDIT_JUDGES_RETENTION_DAYS | No | Retention window for 'judge' artifacts Default: 30 |
| AUDIT_RESULT_CACHE_DISABLED | No | Set to '1' or 'true' to disable result cache |
| AUDIT_RESULT_CACHE_MAX_ROWS | No | Maximum rows in cache (LRU); 0 disables Default: 10000 |
| AUDIT_COMPARES_RETENTION_DAYS | No | Retention window for 'compare' artifacts Default: 30 |
| AUDIT_EXTRACTS_RETENTION_DAYS | No | Retention window for 'extract' artifacts Default: 30 |
| AUDIT_RESULT_CACHE_MAX_DISK_MB | No | Maximum disk usage in MB (LRU); 0 disables Default: 500 |