mcpField
M
mcp-server-3daistudio

mcp-server-3daistudio

Local
github.com/whale-professorMedia & Design3Updated 26w ago

About mcp-server-3daistudio

mcp-server-3daistudio is a Python skill and MCP server for generating 3D models from text prompts or images through the 3D AI Studio API. It supports TRELLIS.2 for images and Hunyuan Rapid and Pro for text or image inputs.

Key features

  1. 01Generate 3D models from images
  2. 02Generate 3D models from text prompts
  3. 03Use TRELLIS.2 and Hunyuan models
  4. 04Check API credit balance
  5. 05Save generated models as GLB

Use cases

  1. 01Turn a photo into a 3D model
  2. 02Create a model from a text description
  3. 03Check API balance before generating

MCP support

The project includes an MCP server for use with Claude Desktop or Claude Code. It makes the 3D AI Studio model-generation capability available through MCP.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"whale-professor-mcp-server-3daistudio": {
"command": "uvx",
"args": [
"mcp-server-3daistudio"
],
"env": {
"THREE_D_AI_STUDIO_API_KEY": "<THREE_D_AI_STUDIO_API_KEY>"
}
}
}
}
Run commanduvx mcp-server-3daistudio
Environment variables to set
THREE_D_AI_STUDIO_API_KEYSecretAPI key for 3D AI Studio

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-server-3daistudio1.0.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

3D AI Studio Skill

A skill for converting images and text prompts to 3D models using the 3D AI Studio API.

Owner

Whale Professor (@WhaleProfessor on Telegram)

Setup

  1. Get an API key from https://www.3daistudio.com/Platform/API
  2. Set the environment variable:
    export THREE_D_AI_STUDIO_API_KEY="your-api-key"
    
    Or copy .env.example to .env and fill in your key.
  3. Run the skill:
    python 3daistudio.py balance
    

Supported Models

ModelInputSpeedCredits
TRELLIS.2Image only25s–4min15–55
Hunyuan RapidText or image2–3min35–55
Hunyuan ProText or image3–6min60–100

Quick Start

# Check balance
python 3daistudio.py balance

# Image to 3D with TRELLIS.2
python 3daistudio.py trellis --image photo.png -o model.glb

# Text to 3D with Hunyuan Rapid
python 3daistudio.py rapid --prompt "a wooden chair" -o chair.glb

# Text to 3D with Hunyuan Pro (best quality)
python 3daistudio.py pro --prompt "a cute blue hedgehog" -o hedgehog.glb

MCP Server

An MCP server is also included for use with Claude Desktop or Claude Code. See mcp-server-3daistudio/ for the installable package, or use mcp_server.py directly as a standalone server.

Documentation

  • GUIDE.md — Full usage guide with all options and examples
  • SKILL.md — Skill metadata and quick reference
  • CLAUDE.md — Instructions for AI agents

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.