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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。