MCP integration requires a paid plan. Upgrade
here.
Connection Options
Official Claude Connector
One-click setup directly in Claude.ai
Official Cursor Plugin
One-click install from the Cursor Marketplace
Custom MCP Setup
Configure in Cursor, Claude Code, Codex, or other MCP clients
API Key Authentication
Authenticate with an API key instead of OAuth
Official Claude Connector
Magic Patterns is available as an official Connector directly in Claude.ai. This is the easiest way to get started - no configuration required.1
Open Claude.ai and navigate to Connectors
In Claude.ai, click on the Connectors icon or navigate to your integrations settings.
2
Find Magic Patterns
Search for “Magic Patterns” in the available connectors and click to connect.

3
Authorize and start using
Complete the authorization flow, and you’re ready to use Magic Patterns directly in Claude conversations.
Official Cursor Plugin
Magic Patterns is available as an official plugin in the Cursor Marketplace. This is the easiest way to use Magic Patterns from Cursor. Installing the plugin wires up the MCP server for you and bundles a set of skills that teach the agent Magic Patterns workflows.
1
Open the Cursor Marketplace
In Cursor, go to Settings → Plugins (or open the Marketplace) and search for Magic Patterns.
2
Install the plugin
Click Install. The plugin registers the Magic Patterns MCP server automatically and adds the Magic Patterns skills.
3
Authenticate and start building
Complete the OAuth flow to connect your Magic Patterns account, then prompt Cursor to prototype, generate inspiration with “/inspiration”, upload local UI, or integrate a design.
Custom MCP Setup
For tools like Cursor, Claude Code, or Codex, you can configure the Magic Patterns MCP server manually.- Cursor
- Claude Code
- Codex
1
Add to your MCP config
Create a
.cursor/mcp.json in your project for project-specific tools. Cursor instructions here.2
Verify MCP is enabled
3
Reference your designs
Once connected, you can prompt Cursor to access a specific design. For example:
Cursor Troubleshooting

Read-only mode
If you want to expose Magic Patterns to an AI client without granting permission to create, modify, or publish designs, point the client at the read-only endpointhttps://mcp.magicpatterns.com/mcp/readonly instead of https://mcp.magicpatterns.com/mcp. The same OAuth flow and API keys work against both URLs.
Only the following tools are exposed on the read-only endpoint:
list_design_systemsget_editor_id_from_urlget_inspiration_documentget_design_statusread_recent_message_historylist_version_historyget_artifactread_artifact_filesget_design_systemread_design_system_files
create_design, create_slide_deck, send_prompt, create_new_artifact, write_artifact_files, publish_artifact, create_design_system, write_design_system_files, publish_design_system, create_inspiration_document, inspiration_add_variant, inspiration_update_variant, inspiration_clear_variants) are not registered on this endpoint, so the client cannot list or call them.
- Cursor
- Claude Code
- Codex
API Key Authentication
If you prefer not to use OAuth, you can authenticate the MCP server with a Magic Patterns API key. This is useful for headless environments, CI, or any client where the interactive OAuth flow is impractical. The same API key also works for the v3 REST API and the legacy v2 API.1
Create an API key
Open Settings → API Keys and click Create Key. Copy the key immediately — you can only see it once.
2
Pass the key as a Bearer token
Configure the MCP server exactly as in Custom MCP Setup, but add an
Authorization: Bearer <your-api-key> header. When a key is present, the OAuth flow is skipped entirely.- Cursor
- Claude Code
- Codex
3
(Optional) Identify your agent
Pass the
x-mp-agent-name header to tag requests with your agent or integration name. This is optional but helps with attribution in the Magic Patterns UI.Authorization: Bearer or x-mp-api-key header:
API key authentication requires a paid plan. Usage is billed against your account’s normal credits, the same as OAuth and the web app.
Next Steps
Tools & Workflows
Explore the available MCP tools and learn common workflows for
design-to-code and code-to-design.
Integration Skill
A drop-in skill that teaches your AI editor to adapt a Magic Patterns
design into your codebase the right way.

