Frame0 Diagramming MCP server

Provides a bridge to the Frame0 diagramming application for creating and manipulating visual elements like shapes, text, and connectors with customizable properties for diagram generation and mockup creation.
Back to servers
Setup instructions
Provider
Niklaus Lee
Release date
Apr 23, 2025
Language
TypeScript
Package
Stats
1.3K downloads
33 stars

Frame0 MCP Server is a specialized tool that enables you to create and modify wireframes in Frame0 through natural language prompts. This integration with the Model Context Protocol (MCP) allows you to design user interfaces by simply describing what you want rather than manually creating each element.

Installation Requirements

Before setting up the Frame0 MCP Server, ensure you have:

  • Frame0 version 1.0.0-beta.17 or higher
  • Node.js version 22 or higher

Setup Instructions

To configure the Frame0 MCP Server with Claude Desktop:

  1. Create or update your claude_desktop_config.json file with the following configuration:
{
  "mcpServers": {
    "frame0-mcp-server": {
      "command": "npx",
      "args": ["-y", "frame0-mcp-server"]
    }
  }
}
  1. You can specify a custom port for the Frame0 API server using the optional parameter:
{
  "mcpServers": {
    "frame0-mcp-server": {
      "command": "npx",
      "args": ["-y", "frame0-mcp-server", "--api-port=8080"]
    }
  }
}
  1. After configuration, restart Claude Desktop to apply the changes.

Using Frame0 MCP Server

Example Prompts

You can control Frame0 with natural language prompts. Here are some examples:

  • "Create a login screen for Phone in Frame0"
  • "Create a Instagram home screen for Phone in Frame0"
  • "Create a Netflix home screen for TV in Frame0"
  • "Change the color of the Login button"
  • "Remove the Twitter social login"
  • "Replace the emojis by icons"
  • "Set a link from the google login button to the Google website"

Available Tools

The MCP server provides numerous tools for wireframe creation and manipulation:

Shape Creation

  • create_frame - Creates a new frame
  • create_rectangle - Adds a rectangle
  • create_ellipse - Adds an ellipse or circle
  • create_text - Adds text
  • create_line - Adds a line
  • create_polygon - Creates a polygon
  • create_connector - Adds a connector between elements
  • create_icon - Adds an icon
  • create_image - Adds an image

Shape Manipulation

  • update_shape - Modifies an existing shape
  • duplicate_shape - Creates a copy of a shape
  • delete_shape - Removes a shape
  • search_icons - Finds icons to use
  • move_shape - Changes position of a shape
  • align_shapes - Aligns multiple shapes
  • group - Groups shapes together
  • ungroup - Separates grouped shapes
  • set_link - Creates hyperlinks

Page Management

  • add_page - Creates a new page
  • update_page - Modifies a page
  • duplicate_page - Copies a page
  • delete_page - Removes a page
  • get_current_page_id - Identifies the active page
  • set_current_page_by_id - Switches to a specific page
  • get_page - Retrieves page information
  • get_all_pages - Lists all pages

Export Functions

  • export_shape_as_image - Exports a shape as an image
  • export_page_as_image - Exports a page as an image

Workflow Tips

  1. Start by creating a new frame with a device type (e.g., phone, tablet, desktop)
  2. Add elements using natural language descriptions
  3. Refine your design by modifying specific elements
  4. Use page management tools to organize complex wireframes
  5. Export your work as images when complete

With Frame0 MCP Server, you can dramatically speed up your wireframing process by using conversational language instead of manual drawing and positioning.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "frame0-mcp-server" '{"command":"npx","args":["-y","frame0-mcp-server"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "frame0-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "frame0-mcp-server"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "frame0-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "frame0-mcp-server"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later