3D Modeling with Natural Language
Overview
This tutorial explores the intersection of Model Context Protocol (MCP) servers and Blender, focusing on how natural language inputs can assist 3D modeling workflows.
Goals
- Learn what MCP servers are and how to connect them with large language models (LLMs).
- Experiment with LLMs + Blender, focusing on 4 creative workflows:
- Generate models from LLM training data.
- Generate models from information retrieved from a database.
- Generate models from a photorealistic image.
- Generate models from a simplified cartoon image (using Gemini Flash 2.5 - Nano Banana).
Prerequisites
Before starting, ensure you have the following installed:
- Blender (latest version recommended) – for 3D modeling and rendering.
- Goose Desktop – for managing LLM + MCP integrations.
- Docker Desktop – for running containerized applications.
- npx – for running Node.js-based MCP utilities.
- uvx – for lightweight Python environment and dependency management.
1. What are MCP Servers?
Model Context Protocol (MCP) servers are middleware systems that:
- Act as a bridge between LLMs and external tools.
- Provide structured context to models in real time.
- Allow LLMs to query databases, APIs, or specialized applications like Blender.
Learn more here.
2. Set up MCP Servers with Goose Desktop
- Follow the guide linked here.
3. Add Blender MCP
- Once Goose Desktop is installed, add the Blender MCP server (docs: https://block.github.io/goose/docs/mcp/blender-mcp). In Goose / Extensions:
- Type: Standard IO
- Command: uvx blender-mcp
- Test the connection in Goose Extensions. You should see Blender MCP tools available and toggled on.
- Use the tools to automate tasks, generate geometry, and manipulate 3D models directly from Goose.
For detailed setup and usage examples, follow the official docs: https://block.github.io/goose/docs/mcp/blender-mcp
3. Creative Workflows
A. Generate Model from LLM Training Data
- Ask the LLM to create an “oyster mushroom”
- Tip: add the following to the prompt: “Use primitive shapes only. Name all assets.”
- The LLM leverages training data knowledge.
- MCP server translates prompt into Blender operations.
B. Generate Model from Information Retrieved from a Database
- Populate database with information about mushrooms. Create a table with the following columns: Name, Species, Description, Environmental Context
- Ask the LLM to query database for information about oyster mushrooms and create a 3D model.
- LLM integrates retrieved metadata.
- MCP server constructs oyster mushroom geometry in Blender.
Steps:
- Set up a relational database
- Follow the guide linked here.
- Add the Postgres MCP server (repo:
crystaldba/postgres-mcp)
- In Goose / Extensions:
- Type: Standard IO
- Command: uvx postgres-mcp --access-mode=unrestricted
- Environment variables: provide your Postgres connection as a single string (ex: DATABASE_URI=postgres://user:password@localhost:5432/mydb)
- Test the connection in Goose Extensions. You should see the Postgres MCP tool available and toggled on.
- Use the tools to create tables, insert metadata, and run parameterized queries (avoid raw SQL where possible).
- For exact installation commands and options, follow the README in https://github.com/crystaldba/postgres-mcp
C. Generate Model from a Photorealistic Image
- Download a photorealistic image of a mushroom. Convert it to JPEG format.
- Upload image into Goose along with a prompt to create a 3D model from the image.
- LLM interprets the image structure.
- MCP server constructs geometry in Blender.
D. Generate Model from a Simplified Cartoon Image
- Upload mushroom image into Google Gemini.
- Select 2.5 Flash as the model. Click Tools / Create images.
- Ask the LLM to convert the image into a simple cartoon and isolate the mushroom.
- Download the resulting image.
- Upload image into Goose along with a prompt to create a 3D model from the image.
- MCP server constructs geometry in Blender.