Skip to main content
Glama
AmirHossein-PapakiKashani

Balsamiq Wireframes MCP Server

Balsamiq Wireframes MCP Server 🎨📐

An official Model Context Protocol (MCP) Server for seamlessly integrating Balsamiq Wireframes with Google Antigravity, Claude Code, and AI Agent ecosystems.

This server enables AI assistants to autonomously construct, layout, and export interactive UI mockups directly into native .bmpr project files (fully compliant with Balsamiq Wireframes 4.x) and standard Wireframe JSON format.


✨ Features

  • 🛠 Autonomous UI Generation: AI agents can generate UI mockups based on natural language prompts (e.g. "Create a barber appointment booking dashboard with search filters, table, and action buttons").

  • 📦 Native .bmpr Support: Direct SQLite serialization with 100% schema compliance for Balsamiq Wireframes 4.x (open files instantly with double-click).

  • 🧩 Extensive Control Library: Supports all core Balsamiq widgets (BrowserWindow, Button, TextInput, TextArea, DataGrid, SearchBox, ComboBox, CheckBox, RadioButton, Label, Title, Subtitle, ButtonBar, Icon, Image, Paragraph).

  • ⚡ Lightweight & Fast: Built on top of Python FastMCP.


Related MCP server: Penpot MCP Server

🚀 Installation & Quick Start

1. Prerequisites

2. Install Dependencies

pip install -r requirements.txt

⚙️ Configuration

For Google Antigravity

Add the server definition to your ~/.gemini/config/mcp_config.json file:

{
  "mcpServers": {
    "balsamiq": {
      "command": "python",
      "args": [
        "E:/Balsamiq_mcp/server.py"
      ]
    }
  }
}

For Claude Desktop / Claude Code

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "balsamiq": {
      "command": "python",
      "args": [
        "E:/Balsamiq_mcp/server.py"
      ]
    }
  }
}

🛠 Available Tools (MCP API)

Tool Name

Parameters

Description

init_canvas

title: str, width: int, height: int

Initializes a clean canvas/wireframe buffer with custom title and dimensions.

add_control

control_type: str, x: int, y: int, w: int, h: int, text: str, properties: dict

Adds a specific UI widget onto the canvas with coordinate positioning and properties.

export_bmpr

file_path: str

Generates a native Balsamiq .bmpr project SQLite file that opens directly in Balsamiq Wireframes.

export_wireframe

file_path: str

Exports the mockup to a standard Balsamiq Wireframe JSON document.


📝 Example Usage Prompt

"Create a wireframe for a barber appointment management dashboard with a search bar, staff filter dropdown, and a data grid displaying customer bookings."

The Agent automatically invokes:

  1. init_canvas("Barber Management Dashboard", 1100, 800)

  2. add_control("BrowserWindow", 50, 30, 1000, 720, "Barber Management System\nhttp://barber.local")

  3. add_control("SearchBox", 80, 160, 280, 32, "Search customer...")

  4. add_control("DataGrid", 80, 210, 940, 420, "ID ^, Customer, Time, Service, Barber, Status\n#101, Ali Rezaei, 10:30, Haircut, Sohrab, [x] Confirmed")

  5. export_bmpr("appointments.bmpr")


📄 License

MIT License. Feel free to use and contribute!

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to inspect, modify, export, and validate design documents with 47 tools covering design, code generation, branding, and print/mockup workflows.
    1 npm
    1
    MIT
  • A
    license
    C
    quality
    F
    maintenance
    Enables AI assistants to create, modify, and manage Penpot designs programmatically, providing full manipulation capabilities for the open-source design tool.
    81
    31 npm
    19
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to generate production-ready, professional UI design systems and components from simple descriptions, with real images, animated components, and automated quality checks.
    16
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to build and edit app-screen mockups and clickable prototypes by reading and writing structured scene models, including screen creation, node manipulation, and branching from code-based screens.
    MIT