MCP Servers for Design: How Sailop Integrates with Any AI Agent
Model Context Protocol lets AI agents call external tools. Sailop exposes 8 MCP tools that give any agent the ability to detect and fix AI slop in real time.
AI coding agents are getting smarter, but they still produce the same visual output. The reason is simple: agents have no awareness of design quality. They can lint code, run tests, and check types, but they cannot evaluate whether the CSS they just wrote looks like every other AI-generated site -- a phenomenon we break down in why every AI-generated website looks the same. Sailop's MCP server changes that.
What Is MCP?
Model Context Protocol is an open standard that lets AI agents call external tools during a conversation. Instead of the agent doing everything from memory, it can reach out to specialized servers for specific capabilities.
Think of it like a plugin system for AI. The agent says "I need to check if this color is in the AI blue range" and the MCP server responds with a precise answer. The agent does not need to know the rule. The server knows the rule.
User → AI Agent → MCP Server → Tool Result → AI Agent → ResponseMCP is supported by Claude Code, Cursor, Windsurf, and a growing list of AI coding tools. If your agent supports MCP, it supports Sailop.
Sailop's 8 MCP Tools
Sailop exposes eight tools through its MCP server. Each one handles a specific aspect of design quality.
Tool 1: scan
The primary tool. It takes a file path or directory and returns the full DNA scan result.
{
"tool": "scan",
"input": { "path": "./src/app/page.tsx" },
"output": {
"score": 68,
"grade": "D",
"dimensions": {
"color": 75,
"typography": 62,
"layout": 71,
"animation": 85,
"components": 55,
"structure": 60,
"spacing": 64
},
"findings": [
{ "rule": "animation-transition-all", "severity": "high" },
{ "rule": "color-blue-range", "severity": "high" }
]
}
}The agent receives structured data it can reason about. It knows which dimensions score high and which specific rules were triggered.
Tool 2: check-color
Checks a single color value against Sailop's 12 color rules.
{
"tool": "check-color",
"input": { "value": "#3b82f6" },
"output": {
"hue": 217,
"inAiBand": true,
"suggestion": "Shift hue below 200 or above 290. Try hsl(28, 85%, 55%) for a warm alternative."
}
}This is useful during code generation. Before the agent writes a color value, it can check whether that value falls in the AI default range. For more on how Sailop generates unique color palettes, see procedural design systems.
Tool 3: check-animation
Validates a CSS transition or animation declaration.
{
"tool": "check-animation",
"input": { "value": "transition: all 300ms ease-in-out" },
"output": {
"issues": [
"transition-all detected: specify exact properties",
"ease-in-out is an AI default: use a custom cubic-bezier",
"300ms uniform duration: vary by element size"
],
"suggestion": "transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1)"
}
}Tool 4: check-typography
Validates font declarations against Sailop's typography rules.
Tool 5: check-layout
Analyzes grid and flex declarations for AI-default patterns like grid-cols-3 and centered-everything layouts.
Tool 6: generate-tokens
Generates a complete design token set from a seed string. This is the generative side of Sailop. Instead of just detecting problems, it produces solutions.
{
"tool": "generate-tokens",
"input": { "seed": "my-startup-2026" },
"output": {
"colors": {
"--c-primary": "hsl(28, 72%, 48%)",
"--c-bg": "hsl(35, 18%, 96%)",
"--c-fg": "hsl(28, 12%, 12%)"
},
"typography": {
"--f-display": "'DM Serif Display', serif",
"--f-body": "'DM Sans', sans-serif"
},
"spacing": {
"--s-section-a": "148px",
"--s-section-b": "96px",
"--s-section-c": "64px"
}
}
}Tool 7: suggest-fix
Takes a specific finding and returns a concrete code fix.
{
"tool": "suggest-fix",
"input": {
"rule": "color-blue-range",
"context": "bg-blue-500 text-white"
},
"output": {
"original": "bg-blue-500 text-white",
"fixed": "bg-[hsl(28,72%,48%)] text-[hsl(28,12%,96%)]",
"explanation": "Replaced AI-default blue with warm accent from generated palette."
}
}Tool 8: score-diff
Compares two versions of a file and reports the score delta. Useful for verifying that a change actually improved the design.
{
"tool": "score-diff",
"input": {
"before": "/* old CSS */",
"after": "/* new CSS */"
},
"output": {
"before_score": 72,
"after_score": 38,
"delta": -34,
"improved_dimensions": ["color", "animation", "typography"]
}
}Setting Up the MCP Server
For Claude Code
Add Sailop to your Claude Code MCP configuration:
{
"mcpServers": {
"sailop": {
"command": "npx",
"args": ["-y", "sailop", "mcp"]
}
}
}That is it. Claude Code will now have access to all 8 tools. When you ask it to build a landing page, it will automatically check colors, animations, and layout patterns against Sailop's rules.
For Cursor
In Cursor settings, add the MCP server under the Tools section:
{
"name": "sailop",
"command": "npx -y sailop mcp",
"type": "stdio"
}For Any MCP-Compatible Agent
Sailop's MCP server communicates over stdio using the standard MCP protocol. Any agent that supports MCP can connect to it with:
npx -y sailop mcpHow Agents Use the Tools
The power of MCP is that the agent decides when to call each tool. A typical flow looks like this:
- User asks: "Build a pricing section"
- Agent generates initial code
- Agent calls
scanon the generated code - Scan returns score of 74 (Grade D)
- Agent calls
suggest-fixfor each high-severity finding - Agent applies fixes
- Agent calls
score-diffto verify improvement - Score drops to 35 (Grade B)
- Agent presents the result
The user never has to ask "make it less generic." The agent knows what generic looks like because Sailop tells it.
Real-World Impact
We tracked 200 coding sessions where Claude Code had Sailop's MCP tools available versus 200 sessions without. The results:
- Average DNA score without Sailop: 71 (Grade D)
- Average DNA score with Sailop: 34 (Grade B)
- Percentage of sessions with unique color palettes: 12% without, 89% with
- Percentage using custom cubic-bezier curves: 3% without, 78% with
The MCP tools do not make the AI creative. They make it aware. Awareness of what is default gives the AI the information it needs to choose something different. See our complete guide to anti-AI design for the full framework behind these detection rules.
Beyond Detection
The MCP approach means Sailop evolves independently of the AI models. When new AI patterns emerge, Sailop adds new rules. The next time the agent calls scan, it gets the updated rules without any model retraining.
This separation of concerns is critical. AI models are trained on past data. Sailop is updated for current patterns. Together, they produce output that is both technically excellent and visually unique. You can also integrate Sailop directly into your CI/CD pipeline for automated design quality checks on every pull request.
# Install and try it now
npm install -g sailop
sailop mcp # Start the MCP serverGive your AI agent design awareness. Set up Sailop's MCP server and every component it generates will be checked against 73 rules across 7 dimensions. Start at sailop.com/mcp.
Try Sailop
Scan your frontend for AI patterns. Generate a unique design system. Ship code that looks intentional.