Skip to main content
The Magic Patterns MCP server offers four main tools.
create_design
Tool
Creates a new Magic Patterns design from a natural language prompt. The AI generates a complete UI component or page based on your description.
This tool creates a new design and waits for the AI to generate the initial code. The response includes the design ID, URLs, and a list of generated files.
This tool requires credits to use. If you receive an insufficient credits error, upgrade your plan or add credits at magicpatterns.com/settings.
get_design
Tool
Retrieves metadata about a Magic Patterns design, including its name and a list of all available files.Use this tool first to explore what’s in a design before reading specific files.
read_files
Tool
Reads the contents of one or more files from a Magic Patterns design.
Call get_design first to see available files before using this tool.
update_design
Tool
required
Sends a natural language prompt to update a Magic Patterns design. The Magic Patterns AI interprets your prompt and applies changes to the design.
This tool sends a prompt, not direct code edits. Describe changes in natural language and the AI will determine how to implement them.
This tool requires credits to use. If you receive an insufficient credits error, upgrade your plan or add credits at magicpatterns.com/settings.