drafthouse
Provides a verification and correction harness for Hermes Agent, adding reference-based generation, P0 checklist, five-dimension evaluation, linting, vision, and human review gates to agent outputs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@drafthouselint my landing page against the default design system"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Drafthouse
Agents generate interfaces quickly and sloppily. The results are usually coherent and almost always generic: the same dark hero, the same three cards, the same safe choices. Nobody has time to art-direct every page by hand, so the slop ships.
Drafthouse is the check-and-correct loop that sits between the agent and the human. The agent makes the thing. Drafthouse inspects it, judges it, sends it back for fixes, verifies the fixes, and only then puts it in front of a person. What reaches you has earned its way there.
What it believes
Slop is a systems problem. A model asked to "make a landing page" produces the most probable landing page, and no amount of prompt polish changes the odds. The fix is structural: give the agent references worth stealing from, pin it to real design tokens, check its work three different ways, and make correction mandatory instead of optional.
The loop separates powers on purpose. A judge ranks variants, but the judge cannot overrule the gates. A beautiful page that fails a blocking check does not ship. The human steers at the points where judgment matters and is spared everything else.
Related MCP server: Design Constraint Validator MCP Server
How a run goes
You hand the agent a brief. It looks up real designs for the patterns it needs, binds your design system, and generates the design. On open briefs it can generate three different directions instead of one safe guess, and the judge ranks them; when the top two land within a step of each other, it hands you the choice instead of picking for you. Each direction goes through the checks: a deterministic lint for known defects, token compliance against your system, a design judgment scored on five dimensions, and a visual verification against the actual render. Failures go back to the agent with notes. It tries again, up to three rounds. What survives comes to you with a gate report, and the judge decision log carries the winner, every score, and the reasons.
What's in the box
Four skills: verify, design systems, references, vision
Deterministic gates: P0/P1/P2 lint, token checks, five-dimension rubric
104 design references across 33 categories, plus 10 playbooks
Five built-in design systems to start from or steal structure from
MCP server (12 tools), pre-ship hook, doctor, sandbox installer, Docker lab
Golden plates: canonical examples the judge is calibrated against
Quick start
export PYTHONPATH="$PWD/src" DRAFTHOUSE_ROOT="$PWD"
python3 -m drafthouse.doctor
bash bin/drafthouse lint tests/fixtures/clean.html --system design-systems/defaultInstall into Hermes
Simplest-to-install is three lines. Clone, install the skills, register the MCP server:
git clone https://github.com/k1ng0mar/drafthouse && cd drafthouse
python3 -m drafthouse.install_hermes # copies skills + writes the drafthouse: admin block
hermes mcp add drafthouse --command "$(which python3)" --args -m drafthouse.mcp_server --env DRAFTHOUSE_ROOT="$PWD" --env PYTHONPATH="$PWD/src"Run python3 -m drafthouse.install_hermes --dry-run first if you want to read the plan. The installer prints the exact hermes mcp add command for your paths and uses python -m drafthouse.mcp_server directly so it works on noexec and FUSE mounts where the bin/ shims can't be made executable. It does not hand-edit your mcp_servers: map; the MCP registration goes through the native hermes mcp command, and hermes mcp remove drafthouse is the matching uninstall. To remove the installed skills later:
python3 -m drafthouse.install_hermes --uninstall
hermes mcp remove drafthouseFor a fully isolated run that leaves your live ~/.hermes untouched, the Docker lab works the same way:
sudo docker compose -f docker/docker-compose.yml run --rm drafthouse-labDocs
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents.
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenancePolicy-as-code gate for AI-SDLC, providing MCP tools to review prompts, diff tool manifests, vet MCP servers, and run evaluation suites for LLM agent repos.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to validate design system constraints, including WCAG accessibility, token relationships, and consistency, through MCP tools like validate, explain, and suggest-fix.49 npmMIT
- AlicenseAqualityAmaintenanceEnables AI agents to score live URLs against a deterministic design contract, validate DTCG tokens and Lottie animations, audit accessibility, and retrieve design-system contracts, catalogs, and review rubrics.17144 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides coding agents with local tools to inspect project UI inventories, propose and compare visual direction boards, compile versioned design contracts and DTCG tokens, retrieve section-specific blueprints, and audit running interfaces with browser evidence including screenshots, accessibility findings, and overflow measurements.MIT