loading…
Search for a command to run...
loading…
Exposes 50+ Blender tools (object manipulation, materials, animation, etc.) via MCP for AI-driven 3D workflows and automation.
Exposes 50+ Blender tools (object manipulation, materials, animation, etc.) via MCP for AI-driven 3D workflows and automation.
Model Context Protocol (MCP) server for complete Blender control via API
This addon transforms Blender into an MCP server, exposing 50+ powerful tools that can be orchestrated by AI agents through HTTP endpoints. Perfect for AI-driven 3D workflows, automation, and creative experimentation.
🚀 50+ Tools - Complete control over Blender's features:
🔒 Thread-Safe Execution - Enterprise-grade queue system for safe concurrent operations
📦 Auto-Install Dependencies - Automatically installs required packages on first run
🎮 Simple UI Panel - Start/stop server with one click from Blender's N-panel
📊 Real-time Monitoring - Track operations, statistics, and server status
🔧 Production-Ready - Comprehensive error handling, logging, and caching
blender_mcp.pyblender_mcp.py filehttp://localhost:8000The addon will automatically install required dependencies on first run (FastAPI, Uvicorn, Pydantic, etc.).
This MCP server is designed to work seamlessly with PolyMCP - a powerful framework for orchestrating MCP servers with AI agents.
#!/usr/bin/env python3
import asyncio
from polymcp.polyagent import UnifiedPolyAgent, OllamaProvider
async def main():
# Initialize your LLM provider
llm = OllamaProvider(model="gpt-oss:120b-cloud", temperature=0.1)
# Connect to Blender MCP server
agent = UnifiedPolyAgent(
llm_provider=llm,
mcp_servers=["http://localhost:8000/mcp"],
verbose=True
)
async with agent:
print("✅ Blender MCP Server connected!\n")
# Chat with your AI to control Blender
while True:
user_input = input("\n🎨 You: ")
if user_input.lower() in ['exit', 'quit']:
break
result = await agent.run_async(user_input, max_steps=5)
print(f"\n🤖 Blender: {result}")
if __name__ == "__main__":
asyncio.run(main())
Once connected, you can ask the AI agent to:
That's it! PolyMCP handles all the complexity of:
This makes it incredibly simple to build AI-powered Blender automation tools!
Once the server is running, you can access:
http://localhost:8000/docshttp://localhost:8000/mcp/list_toolsPOST http://localhost:8000/mcp/invoke/{tool_name}You can customize the server by editing the Config class in blender_mcp.py:
class Config:
HOST = "0.0.0.0" # Server host
PORT = 8000 # Server port
AUTO_INSTALL_PACKAGES = True # Auto-install dependencies
THREAD_SAFE_OPERATIONS = True # Enable thread-safe execution
ENABLE_CACHING = True # Enable result caching
The addon automatically installs these dependencies:
Blender Version: 3.0.0 or higher
Server won't start?
Dependencies not installing?
/path/to/blender/python -m pip install fastapi uvicorn pydantic docstring-parser numpy
Can't find MCP Server panel?
Contributions are welcome! This project demonstrates how simple it is to create powerful MCP servers for PolyMCP.
MIT License - See LICENSE file for details
This MCP server was created to demonstrate how incredibly simple PolyMCP makes it to build AI-powered tools. With just a few lines of code, you can:
No complex prompting, no manual tool selection, no state management - PolyMCP handles it all!
Designed for PolyMCP
Star ⭐ this repo if you find it useful!
Run in your terminal:
claude mcp add blender-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.