
Magic Patterns
Get design inspiration

Enable your agent to prototype ideas, generate design inspiration, upload local UI, and integrate Magic Patterns designs. The Magic Patterns toolset lets you visually align with your agent on what you want to build.
Magic Patterns MCP server
The Magic Patterns plugin connects ZeroTwo to Magic Patterns. Your agents get the tools of this MCP server:
- Magic Patterns: remote MCP server at
https://mcp.magicpatterns.com/mcp
What an agent can do with Magic Patterns
Explore design directions
The agent explores several distinct UI design directions for a screen or component in Magic Patterns so you can compare options before you commit to one.
Prototype from local UI
The agent prototypes an idea in Magic Patterns starting from your local UI and lets you see an idea take shape visually before you build it fully.
Bring designs into code
The agent adapts Magic Patterns designs into your codebase, or recreates a component as a single HTML file or as React.
How to connect Magic Patterns to ZeroTwo
Open Magic Patterns in ZeroTwo
Press Open in ZeroTwo on this page, or find Magic Patterns under Plugins in the app. Get the app first if it is not on this computer.
Sign in
Press Connect and finish the sign-in in your browser. ZeroTwo stores the token encrypted, and you can disconnect at any time.
Give an agent a task
Ask an agent for work that needs Magic Patterns, such as one of the example prompts below. The agent uses the plugin's tools to do it.
Example prompts3
Magic PatternsHow would you redesign our landing page?
Magic PatternsGive me design inspiration for this component
Magic PatternsBuild a slide deck presenting this new feature
Apps1

Magic Patterns
Get design inspiration
Skills6
Inspiration
Explore several distinct UI design directions for a screen or component in Magic Patterns (magicpatterns.com). First recreates the current UI as a faithful baseline, then creates a shareable magicpatterns.com/inspiration/<id> document and streams in four self-contained HTML concepts tuned to the kind of exploration wanted (entrypoint/discoverability, information architecture/navigation, or visual display). The hosted comparison link is the deliverable. Use when the user wants design inspiration, alternative directions, layout options, variations, or a "show me a few approaches" exploration before committing to an implementation.
Integrate magic patterns design
Adapt code generated by Magic Patterns (magicpatterns.com) into an existing codebase. Use when the user shares a Magic Patterns design, prototype, exported zip, "Copy Code as Prompt" output, or a magicpatterns.com URL and wants it implemented, integrated, or productionized in their project. Treats the Magic Patterns code as a design spec, not as code to copy verbatim.
Prototype
Prototype an idea in Magic Patterns (magicpatterns.com) starting from your local UI. Use when the user gives a prompt for something they want to prototype or explore and wants an iterable Magic Patterns design grounded in their existing code. Seeds a design by recreating the relevant local UI (recreate-as-react) and uploading it, then prompts Magic Patterns to design the new idea, returns the editor link, and opens it in the browser. Requires the Magic Patterns MCP server.
Recreate as raw html
Recreate a component, screen, or pasted code from any codebase as a single self-contained raw HTML file (Tailwind Play CDN + web fonts) that faithfully reproduces its styling, colors, spacing, and fonts. Use when the user asks for a "raw HTML recreation", an "HTML version" of a component, "make an HTML copy of X", or references a component/screen by name (e.g. "Take the <ComponentName> and give me raw HTML").
Recreate as react
Recreate a component, screen, or pasted code from any codebase as a self-contained React + TypeScript + Tailwind prototype (App.tsx / index.tsx / index.css, named exports, one component per file) that renders in the Magic Patterns prototype environment and faithfully reproduces the original's styling, colors, spacing, and fonts. Use when the user asks for a "React recreation", a "React version" of a component, "recreate X as React", or as the porting engine for the upload-to-magic-patterns and prototype skills.
Upload to magic patterns
Upload UI you are building locally into Magic Patterns (magicpatterns.com) and return the editor link. Use when the user wants to push a component/screen they are working on in their codebase into Magic Patterns as a design — for review, stakeholder sign-off, or further iteration. Requires the Magic Patterns MCP server.
Information6
- Developer
- Magic Patterns
- Category
- Design
- Version
- 1.0.0
- Website
- magicpatterns.com
- Privacy policy
- magicpatterns.com/docs/documentation/legal/privacy
Questions
Does the Magic Patterns plugin need an API key?
No. You sign in to your own Magic Patterns account in the browser and approve access. ZeroTwo stores the token encrypted, and the agent never sees your password.
Does it cost anything?
The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything Magic Patterns charges for is billed to your Magic Patterns account.
What does Magic Patterns receive?
Magic Patterns gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.