Open Brush MCP Server
Enables control of Open Brush 3D painting software through natural language commands, allowing LLMs to create drawings, manipulate brushes, import 3D models, manage colors, layers, and camera settings via the Open Brush HTTP API.
README
MCP Server for Open Brush
This MCP (Model Context Protocol) server exposes the Open Brush API as tools usable by LLMs via the MCP protocol.
š Prerequisites
- Python 3.10 or higher
- Open Brush running with API enabled (port 40074)
- Access to an MCP client (like Claude Desktop)
š Installation
-
Clone or download the files
-
Install Python dependencies
pip install -r requirements.txt
- Make the script executable (optional on Linux/Mac)
chmod +x openbrush_mcp_server.py
āļø Configuration
Enable API in Open Brush
- Launch Open Brush
- Enable HTTP API in settings
- API should be accessible at
http://localhost:40074/api/v1
Configure in Claude Desktop
Add this configuration to your Claude Desktop MCP configuration file:
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openbrush": {
"command": "python",
"args": [
"/path/to/openbrush_mcp_server.py"
]
}
}
}
Replace /path/to/ with the absolute path to the file.
š Available Tools
The server exposes many tools organized by category:
šØ Drawing
draw_paths- Draw multiple pathsdraw_path- Draw a simple pathdraw_stroke- Draw a stroke with orientation and pressuredraw_polygon- Draw a polygondraw_text- Draw textdraw_svg_path- Draw an SVG path
šļø Brush
brush_set_type- Change brush typebrush_set_size- Set brush sizebrush_add_size- Modify brush sizebrush_set_path_smoothing- Set smoothingbrush_move- Move brush (absolute position)brush_translate- Move brush (relative)brush_rotate- Rotate brush (absolute)brush_turn- Rotate brush (relative)brush_draw- Draw a straight line
šØ Color
color_set_rgb- Set color in RGBcolor_set_hsv- Set color in HSVcolor_set_html- Set color with HTML/CSScolor_add_rgb- Modify color (RGB)color_add_hsv- Modify color (HSV)
š§ 3D Models
model_import- Import local modelmodel_web_import- Import from URLmodel_icosa_import- Import from Icosa Gallerymodel_select- Select modelmodel_position- Position modelmodel_rotation- Rotate modelmodel_scale- Scale modelmodel_delete- Delete model
š¾ Save/Load
save_overwrite- Save (overwrite)save_as- Save as...save_new- New saveload_user- Load user sketchload_named- Load by namenew_scene- New scene
š· Camera
camera_move- Move camera (absolute)camera_translate- Move camera (relative)camera_rotate- Rotate camera (absolute)camera_turn- Rotate camera (relative)spectator_move- Move spectator view
āļø Selection
selection_select_all- Select allselection_invert- Invert selectionselection_delete- Delete selectionselection_duplicate- Duplicate selection
š Layers
layer_create- Create layerlayer_set- Set active layerlayer_show- Show layerlayer_hide- Hide layer
š Guides
guide_add- Add guide (cube, sphere, etc.)guide_position- Position guideguide_scale- Scale guide
š Symmetry
symmetry_mode- Symmetry modesymmetry_position- Symmetry widget position
š§ Utilities
undo- Undoredo- Redoshow_help- Show API help
š” Usage Examples
Once the server is configured in Claude Desktop, you can give natural language instructions:
"Draw a red square of size 2 at position 0,0,0"
"Change brush to 'ink' and set color to blue"
"Create a 6-sided polygon with radius 3"
"Import the model 'Andy.glb' and position it at 1,2,3"
"Save the scene as 'my_creation'"
š Testing the Server
To manually test the server:
python openbrush_mcp_server.py
The server should start and wait for commands on stdin/stdout according to the MCP protocol.
š ļø Troubleshooting
Open Brush API not accessible
- Check that Open Brush is running
- Check that HTTP API is enabled in settings
- Test manually:
http://localhost:40074/api/v1?help
MCP server not connecting
- Check the path in Claude Desktop configuration
- Check that Python is in PATH
- Check Claude Desktop logs
Commands failing
- Check provided parameters
- Check Open Brush API documentation
- Check returned error messages
š Resources
- Open Brush Documentation
- Model Context Protocol (MCP)
- Complete Open Brush API (when Open Brush is running)
š Security
ā ļø Warning: This server calls a local API. Make sure to:
- Not expose port 40074 on the internet
- Trust sent commands
- Backup your creations regularly
š License
This MCP server is provided as-is to facilitate Open Brush usage with LLMs.
š¤ Contribution
Feel free to:
- Report bugs
- Suggest improvements
- Add new tools for missing API commands
Note: Open Brush is an open-source fork of Google's Tilt Brush. This MCP server is not officially affiliated with Open Brush.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.