Skip to main content
Glama
GoModelHub 3D MCP

GoModelHub 3D MCP

Official
by gomodelhub

GoModelHub 3D MCP

用于 GoModelHub 3D 生成 API 的 MCP 服务器。可在 Cursor 和其他 Agent 中使用自然语言调用。

工具

描述

generate_3d

提交 3D 任务;返回 taskId

get_3d_status

轮询任务状态一次

generate_3d_and_wait

提交并轮询直至完成(推荐)

需要 Node.js 18+、平台 API Key(gk- / sk-)以及来自 Model Marketplace 的 modelCode(例如 hyper3d)。

在 mcp.json 中一次性设置默认模型,这样 Agent 无需每次都传递 model。需要时仍可在单次调用中覆盖 model。

中文文档


在 mcp.json 中设置默认模型

模式

设置位置

示例

远程 MCP

headers

"X-GoModelHub-Default-Model": "hyper3d"

本地 MCP

env

"GOMODELHUB_DEFAULT_MODEL": "hyper3d"

请使用 Model Marketplace 中为你的 Key 显示的 modelCode(不要添加 tp- 前缀)。


Related MCP server: Meshy MCP Server

方案 1:远程 MCP(推荐,零安装)

限制: 远程 MCP 不支持本地 imagePath。对于图生 3D,请使用公共 image URL;对于本地图片文件,请使用下面的本地 MCP。

Cursor → Settings → MCP → 编辑 mcp.json:

{
  "mcpServers": {
    "gomodelhub-3d": {
      "url": "https://login.gomodelhub.com/mcp/3d",
      "headers": {
        "Authorization": "Bearer gk-your-platform-key",
        "X-GoModelHub-Default-Model": "hyper3d"
      }
    }
  }
}

参见 examples/mcp.remote.json。


方案 2:本地 MCP(支持 imagePath)

1. 安装(每台机器一次)

git clone https://github.com/kelouer/GoModelHub-MCP.git
cd GoModelHub-MCP
npm install
npm install -g .

Windows: powershell -ExecutionPolicy Bypass -File scripts/install-global.ps1
macOS/Linux: bash scripts/install-global.sh

验证:where gomodelhub-3d-mcp(Windows)或 which gomodelhub-3d-mcp。

2. 配置

{
  "mcpServers": {
    "gomodelhub-3d": {
      "command": "gomodelhub-3d-mcp",
      "env": {
        "GOMODELHUB_BASE_URL": "https://login.gomodelhub.com",
        "GOMODELHUB_API_KEY": "gk-your-platform-key",
        "GOMODELHUB_DEFAULT_MODEL": "hyper3d"
      }
    }
  }
}

参见 examples/mcp.local.json。在 MCP 面板中保存并刷新。

3. 本地图片(图生 3D)

{
  "model": "v3.1-20260211",
  "imagePath": "D:/photos/chair.jpg",
  "mode": "image"
}

支持 jpg / png / webp,单文件最大 50MB。


对比

远程 MCP

本地 MCP

安装

无

npm install -g .

文生 3D

✅

✅

公共 image URL

✅

✅

本地 imagePath

❌

✅


故障排除

症状

修复

已断开连接

运行全局安装;确保 gomodelhub-3d-mcp 在 PATH 中

缺少 GOMODELHUB_BASE_URL

检查 mcp.json 中的 env

model 为必填项

添加 GOMODELHUB_DEFAULT_MODEL / X-GoModelHub-Default-Model,或在工具调用中传递 model

HTTP 401 / 403

Key 无效或配额不足

远程图生 3D 失败

不要使用 imagePath;请使用公共 image URL 或本地 MCP

许可证

MIT — 参见 LICENSE。

Available Tools

3 tools
generate_3dA

Submit a 3D generation job to GoModelHub. Supports text/URL (JSON) or local image file (multipart). Returns taskId.

Inputs: mode, image, model, prompt, +2 more.

generate_3d_and_waitA

Submit a 3D job (JSON or local image) and poll until succeeded/failed or timeout.

Inputs: mode, image, model, prompt, +4 more.

get_3d_statusB

Poll 3D task status once. When status=succeeded, download via assetUrl with the same API key.

Inputs: taskId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools are mostly distinct: get_3d_status only polls, generate_3d submits async, and generate_3d_and_wait submits plus polls. However, generate_3d and generate_3d_and_wait share a similar starting action, which could cause minor confusion despite the names making the difference clear.

    Naming Consistency4/5

    All tool names use snake_case with a verb-first pattern: get_3d_status, generate_3d, generate_3d_and_wait. The naming is consistent in style, though generate_3d_and_wait is slightly more compound and less uniform than the other two.

    Tool Count5/5

    Three tools is a well-scoped set for a 3D generation MCP: one async submit, one sync submit-and-wait, and one status poller. Each tool serves a clear purpose without unnecessary bloat.

    Completeness4/5

    The tool surface covers the core 3D generation workflow: submitting a job, polling status, and knowing when to download via assetUrl. It lacks explicit cancellation or result-download tools, but those may be outside the intended scope and are not critical gaps.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers