TL;DR: Similar average visual quality on simple pages emerged in an evaluation of Figma MCP versus Paper MCP by Braintrust, but Paper was more consistent and cheaper on complex designs, while Figma produced more semantic HTML and had occasional collapse modes, especially on designs with atypical layouts. The result is less about which server “wins” and more about how agent toolchains, output constraints, and maintainability trade-offs should be governed.
At a glance
What this is: Braintrust compared Figma MCP and Paper MCP for frontend agents and found that average visual quality was close, but consistency, cost, and markup quality diverged on harder layouts.
Why it matters: For IAM, NHI, and agentic AI programmes, the key lesson is that tool choice changes the reliability and governance of agent behaviour, not just the quality of the output.
By the numbers:
- Across 27 complex designs, Paper averages 0.716 and Figma 0.679, and the paired difference does not clear significance (p = 0.21).
- Figma's run-to-run variance is about 1.9 times Paper's, and it runs 42% longer while costing 32% more per point of visual quality.
👉 Read Braintrust's analysis of MCP server choices for frontend agents
Context
MCP server choice affects how an AI agent translates intent into a design artifact, and that matters because the translation layer can introduce error, inconsistency, and maintainability debt. In this article, the primary question is not whether frontend agents can design, but which tool architecture gives them the most reliable path from canvas to code.
For identity and agentic AI practitioners, the governance issue is familiar: when a system acts through tools, the control point moves from the model alone to the entire execution path, including permissions, output fidelity, and traceability. That makes MCP tool design relevant to agent oversight, even in a frontend workflow.
The article’s starting position is typical of early agent tooling debates. The interesting part is not raw capability, but where the architecture creates measurable variance, especially when the task depends on preserving structure across runs.
Key questions
Q: How should teams evaluate MCP servers for frontend agents?
A: Evaluate MCP servers on more than output similarity. Teams should compare variance across repeated runs, semantic quality of generated code, failure modes on edge-case layouts, and total runtime cost. A tool that looks slightly weaker on average but behaves predictably is often easier to govern and cheaper to operate than one with higher collapse risk.
Q: Why do translation layers create risk in agentic design workflows?
A: Translation layers create risk because the agent is acting through an intermediate representation rather than the final implementation format. Every mapping step can distort layout, semantics, or scale, and those errors may only appear on complex or unusual designs. The more the canvas differs from shipped code, the harder it is to control drift.
Q: How do you know if an agent design tool is actually improving output quality?
A: Look for reduced failure variance, better semantic structure, and fewer manual corrections over repeated runs. If the tool shows self-check behaviour but the final results do not improve, the loop may be observability without control. Quality claims should hold on complex pages, not only on simple benchmark cases.
Q: What is the difference between visual similarity and production-ready code quality?
A: Visual similarity measures whether the page looks right in a screenshot, while production-ready quality also includes semantic structure, accessibility, maintainability, and stability under change. Two outputs can render almost identically and still have very different downstream cost for humans who must audit, extend, or debug them later.
Technical breakdown
Why design MCP translation layers create fidelity gaps
A design MCP that stores content in a proprietary canvas format forces the agent to translate between its working intent and the tool’s internal model before exporting code. That extra representation can be harmless for simple layouts, but it becomes brittle when the source framework and the target framework do not share the same component boundaries. The result is drift in spacing, semantics, and scale, even when the visual output looks acceptable. In practice, the agent is no longer writing the page it will ship. It is writing an intermediate artifact and hoping the mapping survives round-trip conversion.
Practical implication: prefer toolchains that minimise translation steps between agent action and shipped code.
How CSS-first canvases change agent output quality
When the canvas itself is HTML and CSS, the agent is operating in the same medium it will eventually deploy. That removes one abstraction layer and gives the agent direct access to layout, styling, and component structure rather than a proprietary object model. This often improves consistency and reduces failure modes tied to export logic, although it does not eliminate the intrinsic limits of CSS for photorealistic or highly composited visuals. The key technical point is that the agent can inspect and revise the actual implementation state instead of inferring it from a separate design representation.
Practical implication: treat canvas-native tools as lower-friction paths for agentic code generation, but still evaluate their expressive ceiling.
Why semantic HTML matters even when screenshots look identical
Visual similarity does not capture accessibility or maintainability. Two pages can look the same in a screenshot while one uses semantic landmarks such as header, nav, and main, and the other relies mostly on generic divs. Semantic output improves assistive technology support and makes later code review easier because the page structure remains explicit. In agentic workflows, this matters because output quality is not just how the page renders now, but how safely and cheaply humans can evolve it later. A system that preserves semantics creates less operational debt for the team that inherits the code.
Practical implication: include semantic markup quality in agent evals, not only screenshot similarity.
NHI Mgmt Group analysis
Tool-chain design now affects agent governance as much as model choice. The article shows that two MCP servers can produce similar average screenshots while still diverging sharply in consistency, markup structure, and runtime cost. That is a governance issue, not just a UX preference, because the agent’s tool boundary becomes part of the control surface. Teams evaluating agentic systems should treat MCP selection as an identity-and-execution decision, not a cosmetic implementation detail.
Consistent output is a better risk signal than average quality. Paper’s tighter run-to-run behaviour matters because operational teams do not experience averages, they experience the outlier that ships. In agentic workflows, a tool that collapses on specific layouts can be harder to govern than one that is slightly weaker on a mean score but more predictable under variation. Practitioners should read variance as a control signal and not let benchmark averages hide brittle edge cases.
Semantic output is a real downstream control, not a nice-to-have. The article’s finding that one pipeline generated more semantic HTML means the evaluation surface should include accessibility and maintainability, not just visual fidelity. That matters for broader governance because machine-generated code becomes a dependency for later human change, testing, and audit. In identity and agent governance terms, the control is not only what the agent can do, but how legible its output remains to the humans responsible for it.
Visual self-correction does not automatically mean reliable agent judgment. The agents frequently screenshot their own work, yet the correlation between checking and final quality was effectively zero. That suggests self-observation can become performative rather than corrective when the tool feedback loop is weak. For practitioners, the lesson is to validate whether agent self-checks actually improve outcomes before treating them as evidence of control maturity.
Agentic development environments need evaluation criteria that mirror the production problem. If the business cares about maintainability, accessibility, or code semantics, the eval cannot stop at screenshot similarity. The article makes that boundary visible: two tools can appear equivalent on the surface while creating materially different long-term governance burdens. Teams should align eval scoring with the downstream lifecycle they will actually own.
What this signals
MCP selection is starting to look like a governance decision, not just a developer preference. If a tool changes semantic output, runtime variance, and how often an agent self-corrects, then the organisation needs explicit controls for tool approval, test coverage, and lifecycle ownership before agents are allowed to generate production code.
Translation-layer debt: when an agent works through an intermediate canvas model, the organisation inherits a second layer of drift that is harder to audit than the model itself. That pushes teams toward tighter evaluation gates and stronger traceability across the agent toolchain.
For identity and agent security programmes, the next step is to align tool permissions with lifecycle controls and use OWASP Agentic AI Top 10 and the NIST AI Risk Management Framework as the policy baseline for agent tooling oversight.
For practitioners
- Measure variance, not just averages. Track run-to-run spread, collapse modes, and outlier failure types for each MCP server before standardising on one toolchain. Consistency is often a better indicator of operational suitability than a single benchmark mean.
- Score semantic quality alongside visual similarity. Add checks for landmark tags, component structure, and maintainability signals so agent outputs are assessed for future changeability, not only screenshot match.
- Test edge-case layouts explicitly. Build an eval set that includes dense dashboards, decorative hero sections, illustration-heavy pages, and other designs that expose translation or scaling failures.
- Review agent self-check loops for actual corrective value. Instrument when agents re-render, screenshot, or compare output, then compare that behaviour against final quality to confirm the loop improves outcomes rather than adding noise.
Key takeaways
- MCP server design influences more than rendering quality because translation layers can introduce drift, inconsistency, and maintainability debt.
- Benchmark averages hide important operational differences, and repeated-run variance is often the better signal for agent governance.
- Teams should evaluate semantic structure, edge-case behaviour, and lifecycle control together if they want agentic code generation to remain governable.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 address the attack surface, NIST AI RMF and NIST CSF 2.0 set the technical controls, and ISO/IEC 27001:2022 define the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-03 | Tool misuse and agent output drift are central to this MCP evaluation. |
| NIST AI RMF | MAP | The article is about measuring and comparing AI system behaviour under controlled conditions. |
| NIST CSF 2.0 | PR.PT-3 | Output integrity and tool handling affect protective technology design in agent workflows. |
| ISO/IEC 27001:2022 | A.8.9 | Configuration management matters because the eval depends on strict MCP setup and tool allowlisting. |
Assess agent toolchains for permission scope, output drift, and human oversight before production use.
Key terms
- Translation Layer: A translation layer is the intermediate representation a system uses to convert one format into another. In agentic design workflows, it can sit between intent and shipped code, creating opportunities for drift, semantic loss, or layout errors that would not exist if the agent wrote the final artifact directly.
- Semantic HTML: Semantic HTML uses elements that describe the meaning and structure of content, such as header, nav, and main. It matters because assistive technologies, browsers, and later developers can interpret the page more reliably when structure is explicit instead of hidden behind generic containers.
- Run-to-run variance: The difference in outputs produced by the same model across repeated runs on the same task. In security analysis, high variance can hide findings in one pass and reveal them in another, which is why repeated evaluation often gives a truer operational picture.
- Self-Correction Loop: A self-correction loop is a feedback process where an agent checks its own output and attempts to improve it before completion. It only adds governance value if the feedback actually changes the result, rather than creating the appearance of oversight without measurable quality gain.
What's in the full report
Braintrust's full blog post covers the operational detail this post intentionally leaves for the source:
- Session-by-session eval traces showing how each agent behaved when the layout became unstable.
- The full scoring harness, including the exact prompts, tool flags, and comparison workflow used to produce the results.
- Per-design galleries that show where each tool collapsed or held up across the complex test set.
- Detailed trace analysis of the self-correction loops and what they did, or did not, improve.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and secrets management in a way that helps practitioners build durable control models. It is suitable for teams responsible for identity, platform, and security governance across human and machine actors.
Published by the NHIMG editorial team on August 18, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org