Supports setting colors using HTML/CSS color formats through the color_set_html tool.
Exposes the Open Brush API as MCP tools, enabling drawing operations (paths, strokes, polygons, text, SVG), brush manipulation, color control, 3D model import and positioning, scene management, camera control, layer management, symmetry modes, and guide placement for creating VR art programmatically.
Supports drawing SVG paths in Open Brush through the draw_svg_path tool.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Open Brush MCP Serverdraw a blue circle with radius 2 at the center"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Make the script executable (optional on Linux/Mac)
βοΈ 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
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 path using comma-separated XYZ triplets (e.g.[0,0,0],[0,1,0],[1,1,0], not SVG)draw_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:
π Testing the Server
To manually test the server:
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
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.