Install
$ agentstack add mcp-memi-design-design-sandbox ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
design-sandbox
Canonical proof repo for Memi 2.6.2: a pre-warmed Next.js 16 + Tailwind 4 + shadcn workspace where AI coding agents can run interface-understanding checks before touching UI code.
Use it to verify the public Memi loop: diagnose design debt, audit UX tenets, extract Tailwind tokens, export a shadcn registry, print MCP no-Figma config, and dry-run Agent Skills installation.
Stack
- Next.js 16 (App Router) + TypeScript
- Tailwind 4 + shadcn/ui (radix-nova, neutral, CSS variables) — config only, zero components installed
- Memi (
@memi-design/cli@2.6.2) — interface understanding, design-system memory, MCP, Agent Skills, and shadcn registry export - Claude Code subagents:
screenshot-decoder,component-scaffolder,motion-director
Quick proof
The release manifest pins the exact public package and npm integrity:
pnpm install
pnpm verify
This command verifies the npm package integrity, runs the complete read-only Memi proof in a temporary directory, checks type safety, lint, unit coverage, the production build, Chromium and WebKit rendering, reduced motion, accessibility, and the explicit Canvas fallback.
Before npm publish, test against a local Memi checkout:
MEMI_BIN=../memi/dist/index.js pnpm verify
The proof runner covers:
memi --versionmemi diagnose . --json --no-write --fail-on nonememi ux audit . --json --no-writememi tokens --from ./src --output generated/memi-proof/tokens --format css,json --report --jsonmemi shadcn export --out public/r --name design-sandbox --homepage https://raw.githubusercontent.com/sarveshsea/design-sandbox/main/public --jsonmemi shadcn doctor --out public/r --jsonmemi mcp config --target genericwithmcp start --no-figmamemi agent install universal --dry-run --json --project .
Raw registry URL after push:
https://raw.githubusercontent.com/sarveshsea/design-sandbox/main/public/r/registry.json
Shader lab
Open /labs/shaders for the original WebGL2 and Canvas 2D proof. It includes ordered Bayer and seeded-noise dithering, ripple and distortion controls, reduced-motion behavior, output-color-space capability reporting, and exportable evidence.
The implementation and source boundary are documented in [docs/evidence/shader-lab-sources.md](docs/evidence/shader-lab-sources.md). No external shader source or media is embedded.
Agent workflow
idea / screenshot / figma url -> /sandbox -> memi proof -> page.tsx renders
In Claude Code:
/sandbox "what would a calmer settings panel for [project] look like?"
The slash command sequence is:
- screenshot-decoder → structured spec (layout, components, tokens, motion)
- component-scaffolder →
pnpm dlx shadcn add ...+ writessrc/app/sandbox/page.tsx - motion-director (only if motion is in scope) → installs
framer-motion, layers one motion pass - memi proof → run the design diagnosis, UX audit, token extraction, and registry export before sharing
Open http://localhost:3000/sandbox to see the result.
Branching
git checkout main
git checkout -b explore/
main always stays the empty playground. Each exploration is its own branch — keep, merge, or delete.
What's in the box
.claude/ # Claude Code agentic layer
CLAUDE.md # operating manual
agents/ # 3 specialized subagents
screenshot-decoder.md
component-scaffolder.md
motion-director.md
commands/sandbox.md # /sandbox slash command
settings.json # pre-allowed shell calls (no popups mid-spike)
.memoire/ # memi design memory
SOUL.md # voice + visual baseline
AGENTS.md # agent roster (mirrors .claude/agents/)
TOOLS.md # tool permission policy
HEARTBEAT.md # end-of-exploration checks
project.json # auto-detected stack snapshot
.mcp.json # memi MCP wired to Claude Code
specs/ # drop JSON specs here for complex explorations
generated/ # memi generate target
generated/memi-proof/tokens/ # token extraction proof artifacts
public/r/ # shadcn registry export proof
research/ # for memi research output
prototype/ # scratch space
src/
app/
page.tsx # landing → /sandbox
sandbox/page.tsx # the canvas (currently blank)
layout.tsx
globals.css # shadcn CSS variables (neutral, light + dark)
components/ui/ # empty — fills as shadcn add runs
lib/utils.ts # cn() helper
components.json # shadcn config
Local commands
pnpm dev # http://localhost:3000
pnpm typecheck # tsc --noEmit
pnpm build # production build
pnpm memi:diagnose # design debt JSON proof
pnpm memi:ux # UX tenets JSON proof
pnpm memi:tokens # token extraction report
pnpm memi:shadcn # shadcn registry export + doctor
pnpm memi:mcp # no-Figma MCP config proof
pnpm memi:agent # Agent Skills dry-run proof
pnpm verify # typecheck + lint + build + every memi proof
Hard rules (also in .claude/CLAUDE.md)
- shadcn-first; never recreate a primitive that exists
- theme tokens only; no hex literals anywhere
- one focused change per turn for visual work
- UI animations <400ms,
prefers-reduced-motionalways honored - never invent constraints the user didn't state
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: memi-design
- Source: memi-design/design-sandbox
- License: MIT
- Homepage: https://memoire.cv
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.