MCP integration requires a paid plan. Upgrade
here.
Connection Options
Official Claude Connector
One-click setup directly in Claude.ai
Custom MCP Setup
Configure in Cursor, Claude Code, 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.Open Claude.ai and navigate to Connectors
In Claude.ai, click on the Connectors icon or navigate to your integrations settings.
Custom MCP Setup
For tools like Cursor or Claude Code, you can configure the Magic Patterns MCP server manually.- Cursor
- Claude Code
Add to your MCP config
Create a
.cursor/mcp.json in your project for project-specific tools. Cursor instructions here.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_design_statusread_recent_message_historylist_version_historyget_artifactread_artifact_filesget_design_systemread_design_system_files
create_design, send_prompt, create_new_artifact, write_artifact_files, publish_artifact, create_design_system, write_design_system_files, publish_design_system) are not registered on this endpoint, so the client cannot list or call them.
- Cursor
- Claude Code
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.Create an API key
Open Settings → API Keys and click Create Key. Copy the key immediately — you can only see it once.
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
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.

