magicpatterns.com/os/... link into your agent.
Connect from your project
The quickest way to connect is from inside the project you want your agent to work on.Open the Agents tab
Pick your agent
Follow the numbered steps
/mcp to sign in.Copy a prompt for the direction you want
Prefer to set it up by hand? Each agent has a Set it up by hand option under its steps, and the sections below cover every option in full.
Go roundtrip
Once your agent is connected, it can move work in either direction. You don’t need to reconnect or change anything to switch: just ask for the other direction.Connection options
Official Claude connector
Official Cursor plugin
Official Codex plugin
Custom MCP setup
API key authentication
Official Claude connector
Magic Patterns is available as an official connector in the Claude directory. This is the easiest way to get started in Claude and Claude Code, and it needs no configuration.Open the Claude directory listing
Find Magic Patterns

Authorize and start using
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.
Open the Cursor Marketplace
Install the plugin
Authenticate and start building
Official Codex plugin
Magic Patterns is available as an official plugin in the ChatGPT and Codex plugin directory. This is the recommended way to use Magic Patterns from Codex, and it needs no API key or custom MCP configuration. Installing the plugin connects the Magic Patterns tools.Open the plugin directory
/plugins to open the plugin browser.You can also open the listing directly: Magic Patterns in the plugin directory.Install the plugin
Start a new session and build
Custom MCP setup
For tools like Cursor, Claude Code, or Codex, you can configure the Magic Patterns MCP server manually. If you’re on Cursor or Codex, prefer the official plugins above. This section is for other MCP clients or for pinning a specific configuration.- Cursor
- Claude Code
- Codex
Add to your MCP config
.cursor/mcp.json in your project for project-specific tools. Cursor instructions here.Verify MCP is enabled
Reference your designs
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:
legacy_list_design_systemslegacy_get_editor_id_from_urllegacy_get_inspiration_documentlegacy_get_design_statuslegacy_read_recent_message_historylegacy_list_version_historylegacy_get_artifactlegacy_read_artifact_fileslegacy_get_design_systemlegacy_read_design_system_filessend_feedback_to_magic_patterns_team
legacy_create_design, legacy_create_slide_deck, legacy_send_prompt, legacy_create_new_artifact, legacy_write_artifact_files, legacy_publish_artifact, legacy_create_design_system, legacy_write_design_system_files, legacy_publish_design_system) 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.Create an API key
Pass the key as a Bearer token
Authorization: Bearer <your-api-key> header. When a key is present, the OAuth flow is skipped entirely.- Cursor
- Claude Code
- Codex
(Optional) Identify your agent
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.
