Getting Started with MCP

This guide walks you through setting up the Model Context Protocol (MCP) integration to control Azyrom with Claude and other AI assistants.

Prerequisites

Step 1: Enable MCP Server in Azyrom

  1. Open Azyrom
  2. Go to Settings (⌘/Ctrl + ,)
  3. Navigate to the MCP tab
  4. Toggle Enable MCP Server to ON
  5. Note the port number (default: 9999)
Keep It Running

The MCP server only runs while Azyrom is open. Keep the app running while using MCP features.

Step 2: Configure Claude Desktop

Locate Configuration File

Find your Claude Desktop configuration file:

Add Azyrom MCP Server

Edit the configuration file to add Azyrom:

{
  "mcpServers": {
    "azyrom": {
      "command": "dart",
      "args": [
        "run",
        "/path/to/azyrom/mcp_server/bin/main.dart"
      ]
    }
  }
}

Replace /path/to/azyrom/ with the actual path to your Azyrom installation.

Find Your Installation Path

Step 3: Restart Claude Desktop

  1. Save the configuration file
  2. Quit Claude Desktop completely
  3. Relaunch Claude Desktop
  4. The Azyrom MCP server will connect automatically

Step 4: Verify Connection

Test the connection by asking Claude:

"Can you see the Azyrom MCP server? What tools are available?"

Claude should respond with a list of available Azyrom tools.

Step 5: Start Designing!

Try these example commands to get started:

Basic Element Creation

"Create a blue rectangle 200x150 at position 100, 100"

Using Icons

"Insert a home icon from Font Awesome, size 48, color #2196F3"

Batch Operations

"Create three circles in a row, each 80x80, with colors red, green, and blue"

Component Instances

"Create a component named 'Button' and then create 3 instances of it"

Troubleshooting

Connection Failed

Tools Not Available

Commands Not Working

Best Practices

Next Steps

Now that you're set up, explore advanced features: