tripo-hybrid-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
tripo-hybrid-mcp
Version 1.3.0 is an API-first local MCP server with 60 tools: 28 OpenAPI tools, 28 explicit Studio wrappers, a free asset-transfer bridge, routing metadata, an offline cost planner and a local GLB inspector. API operations use API credits; Studio-only operations use the separately authenticated Studio subscription. Failed API requests never fall back to Studio.
The API-only runtime uses Python 3.11+ standard library and exposes 31 tools with --api-only. Hybrid operation additionally requires the optional studio extra. This is functional integration, not a claim that Studio and API use identical models or produce equivalent quality.
Independent, unofficial project; not affiliated with, endorsed by or maintained by VAST or Tripo. Bring your own Tripo API key and, for Studio tools, authorize your own Studio account through OAuth. No credentials or credits are included.
The repository is named tripo-hybrid-mcp; the Python distribution and executable remain tripo-studio-mcp for compatibility.
Local inspection added in 1.3.0
tripo_inspect_model reads an existing local GLB and optionally compares it with another GLB. It uses no API credits, Studio credits, authentication, network, Blender or extra Python dependencies. It reports accessor-declared geometry counts, UV attributes, embedded PNG/JPEG texture dimensions, PBR texture-map presence, skins/joints and animation metadata. It never changes the files.
{
"file_path": "/absolute/path/upscaled.glb",
"compare_to_file_path": "/absolute/path/before-upscale.glb"
}The comparison describes aggregate changes, including lost metallic/roughness maps; it does not match materials semantically or score visual quality. Counts describe glTF mesh primitives, not a deduplicated or fully decoded scene. Compression, unknown texture formats and incomplete metadata are disclosed. This is not a manifoldness validator, UV-overlap check, deformation test or replacement for Blender inspection. Only GLB inputs are supported; external resources are never fetched.
The cost planner accepts inspection steps as zero-credit operations without opening or requiring the files. --api-only includes this tool. Model/texture identifiers and paid API/Studio routes remain unchanged.
Related MCP server: Tripo Studio MCP
Hybrid 1.3.0 setup and billing
After installing the hybrid studio extra using the installation instructions, sign in with the installed executable:
tripo-studio-mcp --studio-login
tripo-studio-mcp --studio-status
tripo-studio-mcp --list-tools
# API-only, no Studio dependencies or OAuth required:
tripo-studio-mcp --api-only --list-toolsFor uvx, run the same login command with the pinned hybrid package:
uvx --from 'tripo-studio-mcp[studio] @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0' tripo-studio-mcp --studio-loginStudio login opens the browser with OAuth client ID studio-codex; no custom OAuth application is needed. Credentials are independent of the host application's managed OAuth connection. macOS stores them in Keychain (tripo-api-studio-oauth); other platforms use a mode-0600 file in the Studio state directory. Ordinary calls never start interactive login. --studio-status checks local credential presence only, while login verifies a free remote tool listing.
OpenAPI generation, textures, remesh, UV, segmentation, completion, rigging, preset animation and conversion retain the API route and API wallet.
Studio adds dedicated PBR, image/texture upscale, text-to-motion, custom-motion retarget, image split, asset/task/export administration and explicit import/export.
Custom motion retarget accepts only
motion_source="user_generated"and the UUID from a successful Studio motion task'smotion_id. The source must be an already rigged owned Studio model. Its result is a standalone animation clip, not a baked animated model export. Presets remain on APItripo_animate.tripo_transfer_to_studiopreviews by default. Withapproved_write=true, it uploads an existing local file or a selected successful API task output. Model import requires a stableidempotency_key; image upload returns a resource key. API task IDs and Studio asset IDs are never interchangeable. Recovery records avoid signed URLs and avoid blind re-upload after uncertain outcomes.All 21 paid tools default to dry-run. API execution requires approval and a
max_creditscovering the local tariff estimate. Studio prices are references, not live quotes: PBR 5, image upscale 10/image, detailed texture upscale 10 and custom retarget 10/task. Motion has a 20-credit reference with no specified billing unit; 8K texture cost/plan eligibility is uncertain. These unknown totals require separate explicitaccept_unknown_cost=trueand cannot accept a purported hardmax_creditscap.Studio's seven non-credit mutations require
approved_write=true; export may consume plan quota. Read operations are free. A monthly allowance is not proof of remaining balance; the Studio MCP does not expose balance or actual billing totals.tripo_estimate_costaccepts mixed workflows but returns separatetotals_by_billing_source.budget_creditsis API-only;studio_budget_creditscompares Studio references. No combined credit total or Studio-to-USD conversion is produced. Every plan is offline, including Studio reads.
Studio schema/pricing snapshot: 2026-12-01, official tool repository. The SDK is pinned at 2.3.0. OAuth refresh happens during free initialization; task calls freeze authorization and disable retry and HTTP redirect replay. Failed/uncertain writes must be recovered explicitly before another submission.
Optional environment controls: TRIPO_STUDIO_ENABLED=0 disables Studio; TRIPO_STUDIO_STATE_DIR overrides its state directory; TRIPO_STUDIO_TIMEOUT_S defaults to 120; TRIPO_STUDIO_LOGIN_TIMEOUT_S defaults to 300. The remote endpoint and OAuth client ID are fixed to the official Studio service and studio-codex.
Architecture
src/tripo_studio_mcp/
├── __init__.py # Package version (1.3.0)
├── __main__.py # CLI (--version, --list-tools, --region, --output-dir) & stdio entrypoint
├── app.py # Dependency wiring (config, client, job store, tool registry, MCP server)
├── protocol.py # Spec-compliant MCP JSON-RPC 2.0 over stdio (NDJSON) + error redaction
├── config.py # Region URLs (ov/cn), TRIPO_BASE_URL validation, env & macOS Keychain auth
├── security.py # SSRF HTTPS+DNS validation, NoRedirectHandler, atomic downloads, redaction
├── pricing.py # Dated official tariffs, USD conversion and spending guards
├── costing.py # Offline multi-step cost planner
├── validators.py # Strict wire-model aliases, face limits, multiview, 2D, mesh & rig rules
├── client.py # Stdlib HTTP client: Bearer auth, presigned PUT (no auth), read-only 429 retry
├── job_store.py # Atomic local JSON history (0600) with redacted payloads
├── tools.py # 28 base tools (12 free + 16 paid dry-run-by-default)
├── hybrid.py # Explicit API/Studio route metadata; no provider fallback
├── glb_inspection.py # Read-only GLB metadata parser, no external resources
├── inspection_tools.py # Free local inspection/comparison MCP tool
├── studio_auth.py # Studio OAuth and secure credential persistence
├── studio_client.py # Optional official MCP SDK transport
├── studio_tools.py # 28 explicit Studio wrappers with spending/write guards
├── studio_pricing.py # Dated Studio pricing references and unknown-cost handling
├── studio_transfer.py # Preview-first local/API output transfer into Studio
└── data/ # Bundled public Studio tool schema snapshotSecurity & Spending Guarantees
Dry-Run by Default on All 16 Paid API Tools (
approved_spend=false): Every paid tool validates all parameters locally and returns{ dry_run: true, endpoint, payload, pricing, hint }with zero network calls and zero file uploads.Local Credit Limits (
max_credits): Paid submission requiresapproved_spend=trueand a finite limit covering the estimated upper bound. Unknown API upper bounds fail closed. Studio exceptions require the separate explicit unknown-cost consent described above. This checks a dated tariff snapshot; it is not a server-enforced budget or live quote.Zero Auto-Retry on Paid or Mutating Endpoints: HTTP
429rate-limit retries (respectingRetry-AfterandX-RateLimit-Reset) run only on idempotent read endpoints (GET /v3/account/balance,GET /v3/account/usage,GET /v3/tasks/{task_id},POST /v3/tasks/list). Paid/mutatingPOST/PUTrequests never auto-retry.No Auth Forwarding on Redirects or Presigned Uploads: All authenticated OpenAPI requests use
NoRedirectHandler(blocking any3xxresponse). Presigned model uploads (POST /v3/files/presign+PUT) validate the target URL and never send anAuthorizationheader.SSRF-Hardened URLs & Atomic Downloads:
validate_https_urlenforceshttps://, port443only, no userinfo (@), DNS resolution viasocket.getaddrinfo, and blocks all non-global IPs (loopback, private, link-local,169.254.169.254, IPv4-mapped IPv6, multicast, reserved, unspecified).download_https_filevalidates every redirect hop (max 3), enforcesmax_bytes, writes atomically via.tmp+os.replace, and sanitizes filenames withsafe_filename_stem.Secret Hygiene: API keys are never accepted in tool arguments, never logged, and are redacted from errors and local job history. On macOS,
TRIPO_KEYCHAIN_ONLY=1enforces Keychain-only credentials (ignoringTRIPO_API_KEY).
Quick Installation
Option 1: Run directly with uvx (recommended, zero manual venv setup)
Hybrid installation, including the optional Studio dependencies:
uvx --from 'tripo-studio-mcp[studio] @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0' tripo-studio-mcp --list-toolsFor the standard-library API-only runtime, omit the extra and pass --api-only:
uvx --from 'tripo-studio-mcp @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0' tripo-studio-mcp --api-only --list-toolsThe --from requirement includes the distribution name and extra, while the executable name stays tripo-studio-mcp. See the uv tool documentation for extras and Git sources. All examples here pin the v1.3.0 release.
Option 2: Install globally or into an existing Python >= 3.11 environment with pip
python3 -m pip install 'tripo-studio-mcp[studio] @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0'
tripo-studio-mcp --versionFor API-only installation, use tripo-studio-mcp @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0 instead, then launch with --api-only.
Option 3: Clone and install in a local .venv
git clone --branch v1.3.0 --depth 1 https://github.com/BipoXDXD/tripo-hybrid-mcp.git
cd tripo-hybrid-mcp
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
python -m pip install -e '.[studio]'
tripo-studio-mcp --list-toolsFor API-only development, install with python -m pip install -e . and launch with --api-only. A base installation does not include the Studio SDK; the normal hybrid examples require [studio].
Storing Your API Key Safely (macOS Keychain Recommended)
security add-generic-password -a "$USER" -s "tripo-api-key" -w "<YOUR_TRIPO_API_KEY>" -UOn Linux/Windows (or CI), provide TRIPO_API_KEY through the client's process environment or private secret settings. Do not commit the key. GUI clients may not inherit variables exported in a terminal; see the client-specific environment instructions.
MCP Client Configuration
Claude Code, Codex, Cursor and Antigravity can launch the server as a local stdio MCP process. Use the separate instructions below and the complete client guide, including credentials, Windows paths and troubleshooting. The examples contain no API keys and pin the hybrid package with [studio] at v1.3.0.
Before configuring a client, run the hybrid uvx --from ... --list-tools command in Quick Installation once to populate the package cache. Complete the explicit --studio-login command above before using Studio tools. Package downloads can otherwise delay a client's first connection; ordinary MCP startup never opens a login browser.
The templates cover configuration and stdio protocol compatibility; they are not evidence of a native end-to-end test in each client. For API-only clients, remove [studio] from the package requirement and append --api-only to the server arguments.
Claude Code
Register a user-scoped stdio server; this macOS example uses the existing Keychain service:
claude mcp add --transport stdio --scope user tripo-hybrid -- uvx --from 'tripo-studio-mcp[studio] @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0' tripo-studio-mcpFor a project configuration, merge the Claude Code JSON template into .mcp.json at the project root. Reload and check /mcp. See the Claude Code instructions for environment-variable handling.
OpenAI Codex
Register the stdio command with the CLI:
codex mcp add tripo-hybrid \
-- uvx --from 'tripo-studio-mcp[studio] @ git+https://github.com/BipoXDXD/tripo-hybrid-mcp.git@v1.3.0' tripo-studio-mcpMerge the Codex TOML template into ~/.codex/config.toml. Its env_vars = ["TRIPO_API_KEY"] forwards an existing process variable without storing its value. Check codex mcp list or /mcp; see the Codex instructions.
Cursor
Merge the Cursor JSON template into project .cursor/mcp.json or global ~/.cursor/mcp.json. Reload the server in Cursor's MCP settings and check its status. Cursor's environment interpolation differs from Claude Code's; follow the Cursor instructions.
Antigravity
Open MCP Servers → Manage MCP Servers → View raw config, then merge the Antigravity JSON template. Current documented paths are global ~/.gemini/config/mcp_config.json and workspace .agents/mcp_config.json; use the path shown by your installed app. Configure the local command/args entry and reload. See the Antigravity instructions.
With a pip or virtual-environment installation, set command to the installed tripo-studio-mcp executable and remove the uvx-specific --from, package requirement and executable-name arguments. Preserve any server flags such as --api-only or --output-dir.
API-only Catalog (31 tools)
Free Tools (15)
Tool | Endpoint / Behavior | Purpose |
| Local offline | Inspect a local GLB and optionally compare aggregate geometry, texture, PBR, rig and animation metadata; zero credits. |
| Local offline | Inspect explicit API/Studio routes and separate billing sources without querying either account. |
| Local offline | Inspect supported models, upload limits, pricing tables, and estimate credits locally. |
| Local offline | Validate and total 1–32 operations in credits and USD; optionally compare a budget. |
|
| Query current account credit balance (auto-retries 429). |
|
| Query account usage history (auto-retries 429). |
|
| Upload PNG/JPG/WEBP image (<= 20 MB) via multipart form-data. |
|
| Upload 3D model (<= 60 MB direct; |
|
| Import a 3D model ( |
|
| Fetch task status ( |
| Polls | Wait until terminal status ( |
|
| Batch-query up to 100 task IDs (auto-retries 429). |
| Local offline | List locally tracked task submissions, statuses, and downloaded files. |
|
| Check whether a 3D model is eligible for rigging (free). |
| SSRF-validated HTTPS | Download finished task outputs or a public HTTPS URL atomically. |
Paid Tools (16 — All Dry-Run by Default with approved_spend=false)
Tool | Endpoint | Notes / Pricing |
|
| Default |
|
| Single image to 3D; dated model/tier pricing. |
|
| 2–4 views ( |
|
| Image to 3D Gaussian Splat ( |
|
| Routes automatically: |
|
| Generate a 4-view turnaround sheet from one image. |
|
| Edit 1–4 specific views ( |
|
| Texture generation/retexturing ( |
|
| Export to |
|
| Mesh decimation ( |
|
| Automatic clean UV unwrapping. |
|
| Semantic mesh segmentation ( |
|
| Complete segmented parts from a segmentation |
|
| Smart segment |
|
| Auto-rigging ( |
|
| Retarget 1–5 animations onto a rig |
Quality controls and offline cost planning (1.1)
The adapter exposes documented V3 quality controls rather than inventing Studio-only
API routes. Generation supports texture_version and delight; image-to-model also
supports enable_image_autofix. Texture guidance supports text with a style image,
a single reference, or front-led multiview references. Rig conventions include
Mixamo, Tripo, ActorCore, Unity, Unreal and VRM. Consult --list-tools for the exact
schemas and compatibility constraints.
Image generation exposes the documented Chat Image quality tiers, including
high, xhigh and max where supported. The legacy resolution argument is
normalized to the API's size field, so the estimator prices the submitted size.
Image editing supports the documented templates (t_pose, character_completion,
3d_enhance, variants, figure); legacy t_pose=true selects that template.
delight removes baked lighting before texturing. An explicit value wins. In the
texture tool, omitting both model and delight preserves the API's implicit
delight=false behavior; explicitly selecting v3.5 without delight uses its
documented true default. Set the boolean explicitly for reproducible intent.
The tariff does not publish a separate delight surcharge; estimates use the
documented texture tier, without claiming a server-confirmed quote.
tripo_estimate_cost accepts the same parameters as each paid tool, excluding
approved_spend and max_credits. It validates the parameters, returns each dry-run
payload and totals the costs. It never executes a pipeline. For example:
{
"steps": [
{"tool": "tripo_image_to_3d", "arguments": {
"input": {"file_token": "example-image-token"},
"texture": false, "pbr": false, "geometry_quality": "detailed"
}},
{"tool": "tripo_decimate", "arguments": {
"input": {"task_id": "future-geometry-task"},
"face_limit": 8000, "quad": true, "smart_uv": true
}},
{"tool": "tripo_texture", "arguments": {
"input": {"task_id": "future-retopology-task"},
"texture_quality": "extreme", "delight": true, "pbr": true
}}
],
"budget_credits": 110
}The task identifiers above are planning placeholders. The planner does not inspect source assets or prove that a downstream operation accepts a particular result. DNS lookup is deferred in dry runs; approved execution validates URLs again.
Prices are a local snapshot verified on 2026-12-01 against the
official tariff and endpoint documents.
The billing documentation defines
1 credit = USD 0.01. Fixed totals, documented ranges and unknown prices are
reported separately, with sources and assumptions. Pricing can change; neither
the estimator nor max_credits creates a remote billing guarantee.
There are no documented V3 endpoints in this implementation for Studio text-to-motion,
standalone texture upscale preserving existing texture, or Studio asset-library
operations. tripo_texture regenerates textures; it is not an equivalent upscale.
bake_animation on retarget is deprecated and ignored by the API, even if supplied.
Environment Variables
Variable | Default | Description |
| (unset) | Tripo V3 OpenAPI key (ignored when |
|
| macOS Keychain generic password service name. |
| (unset) | Optional macOS Keychain account name filter ( |
|
| Set to |
|
|
|
| (unset) | Optional custom HTTPS base URL (strictly validated with |
|
| Default directory for downloaded assets. |
|
| Directory for local job history ( |
|
| Per-request HTTP timeout in seconds. |
|
| Default polling interval for |
|
| Default max wait time for |
|
| Max file size allowed per |
Development & Testing
Install the optional Studio dependencies before running the complete test suite, including its SDK, HTTP transport and schema-validation tests:
python3 -m pip install '.[studio]'
PYTHONPATH=src python3 -W error -m unittest discover -s tests -v
PYTHONPATH=src python3 -m tripo_studio_mcp --version
PYTHONPATH=src python3 -m tripo_studio_mcp --list-toolsThe release includes 188 offline unit tests. The API-only runtime uses the standard library, but the complete test suite requires the studio extra. See VALIDATION.md for the validation scope and remaining live-test limitations. Unit-test coverage does not establish identical API/Studio output quality or replace remote service checks.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Full-capability MCP: text, image, video, audio, and 3D with API key, jobs, receipts, and BYOK.
150+ hosted tools: describe-to-build CAD, scan-to-CAD, architecture studio, web research, media.
OAuth account tools, image/video generation (Pro), Studio handoffs. No local vault access.
Generate images, video, music, voice and 3D through one API. 30 tools, 200+ models.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Tripo3D AI API to generate 3D models from text, images, or multiview inputs. It supports advanced features like model animation, stylization, and real-time task status tracking.7ISC
- FlicenseNot gradedqualityCmaintenanceEnables interaction with Tripo Studio for 3D model generation, management, and post-processing through natural language, with safety features to prevent duplicate charges.4-
- AlicenseNot gradedqualityBmaintenanceEnables people and general-purpose AI agents to inspect, model, edit, verify, and export local 3D projects through MCP tools, including print preparation, without requiring a hosted 3D service key.10MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants and agents to natively generate images, videos, 3D meshes, Gaussian splats, and speech, and to manage media assets, through natural language commands or automated scripts over the Model Context Protocol. It exposes 55 tools alongside a Python CLI automation suite for batch generation, camera-orbit passes, credit/cost estimation, and companion API bridge integration.56Apache 2.0