Design Critique Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Design Critique Mcp (Agent Skill) and scored it 82/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 2 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 2 flagged
The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides comprehensive visual design analysis and critique capabilities. This server enables AI assistants to analyze design images for composition, color harmony, typography, and accessibility compliance.
Note: After installation, update the file path to your actual installation directory.
git clone https://github.com/haasonsaas/design-critique-mcp.git
cd design-critique-mcpnpm installnpm run buildAdd to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"design-critique": {
"command": "node",
"args": ["/path/to/design-critique-mcp/dist/index.js"]
}
}
}Provides comprehensive design critique with visual analysis including composition, color harmony, typography, and accessibility.
Parameters:
image_data (required): Base64 encoded image datadesign_type: Type of design - "web", "mobile", "print", or "general" (default: "web")target_audience: Target audience description (optional)brand_guidelines: Brand guidelines object (optional)colors: Array of brand colors in hex formatfonts: Array of brand font namesReturns: Comprehensive analysis including:
Analyzes color palette and harmony in a design.
Parameters:
image_data (required): Base64 encoded image dataReturns:
Analyzes visual composition and layout structure.
Parameters:
image_data (required): Base64 encoded image datadesign_type: Type of design - "web", "mobile", "print", or "general" (default: "web")Returns:
Analyzes typography hierarchy, readability, and font usage.
Parameters:
image_data (required): Base64 encoded image dataReturns:
Analyzes design accessibility including contrast, color blindness, and WCAG compliance.
Parameters:
image_data (required): Base64 encoded image dataReturns:
Checks contrast ratio between two specific colors.
Parameters:
foreground (required): Foreground color in hex format (e.g., "#000000")background (required): Background color in hex format (e.g., "#ffffff")Returns:
// In Claude Desktop
const result = await critique_design({
image_data: "base64_encoded_image_data_here",
design_type: "web",
target_audience: "Young professionals aged 25-35"
});const contrast = await check_color_contrast({
foreground: "#333333",
background: "#f0f0f0"
});
// Returns: { ratio: 11.2, passes_aa: true, passes_aaa: true }const analysis = await critique_design({
image_data: "base64_encoded_image_data",
design_type: "mobile",
brand_guidelines: {
colors: ["#FF5722", "#00BCD4", "#FFC107"],
fonts: ["Roboto", "Open Sans"]
}
});# Run in development mode
npm run dev
# Run tests
npm test
# Lint code
npm run lint
# Type check
npm run typecheckThe server uses a modular architecture with specialized analyzers:
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ MCP Client │────▶│ Design Analysis │────▶│ Analyzers │
│ (Claude) │ │ Server │ │ - Color │
│ │◀────│ │ │ - Composition │
└─────────────────┘ └──────────────────┘ │ - Typography │
│ - Accessibility│
└─────────────────┘npm install canvas to install native dependenciesThis project is licensed under the MIT License - see the LICENSE file for details.
Jonathan Haas - GitHub Profile
If you encounter any issues or have questions:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.