Skip to main content
N

dsh-tripo-connector

no-six/dsh-tripo-connector

Connects Tripo Studio's MCP server so agents can generate 3D models, textures and animations on your own Tripo account, with a working Connect button on the Plugins page.

Install

dsh plugin --profile web add github:no-six/dsh-tripo-connector

README

dsh-tripo-connector

Tripo Studio's MCP server, connected to DSH with a Connect button that actually works.

  • endpoint: https://msapi.tripo3d.ai/mcp (streamable HTTP, OAuth 2.1 + DCR + PKCE)
  • server name: tripo → tools appear as mcp__tripo__* (39 of them)
  • credential record: mcp-client/tripo
  • no API key, no environment variables, no local Tripo install

Install

Clone this repo, then either

  1. Plugins → Add plugin → local directory, and pick the checkout, or
  2. dsh plugin install ./dsh-tripo-connector in a terminal where dsh is on PATH (the desktop app ships the same command; it is just not on PATH by default).

Then open Plugins → Tripo Studio → Connect. A browser tab opens, you approve in Tripo, and the tab lands on a page that says it worked. The grant is stored in DSH's credential store; later starts reuse it.

Until you connect, a Tripo tool call answers with one sentence asking you to press Connect — it never starts a generation, and never spends credits, on its own.

the page after signing in

Why this is a plugin

DSH authorizes MCP servers through its MCP manager, and only a registered connector account gets a Connect button: mcpManager.startAuthorization is not exposed to the browser, and a server added purely through configuration has no account section to click. This bundle is that registration.

It also has to own the OAuth flow, because Tripo's endpoints sit behind a CDN that rejects non-browser user agents: DSH's own client gets 403 Error 1010 on both /oauth2/register and /oauth2/token. The connector sends browser-shaped requests (through your proxy, if you run one) and hands DSH a grant it can use.

Configuration

Optional, machine-local file ~/.dsh/tripo-connector.json:

{ "proxy": "http://127.0.0.1:7897" }
keydefaultmeaning
proxy—HTTP proxy for the OAuth calls and for the loopback bridge. Also read from HTTPS_PROXY. Without it the connector talks to Tripo directly.
port8899loopback bridge (http://127.0.0.1:8899/mcp). The MCP client connects here; the bridge adds Authorization and forwards.
callbackPort8901where Tripo redirects after sign-in (http://127.0.0.1:8901/callback).

Nothing here is sent anywhere; the file is not part of the bundle.

What it registers

pieceidwhat it does
MCP servertripothe endpoint the manager connects to
connector accountmcp:tripothe Plugins page section with Connect / Sign out
loopback bridge127.0.0.1:8899forwards MCP traffic and injects the access token, refreshing it when it is close to expiry

Troubleshooting

symptomwhat to check
Connect opens nothingproxy setting; ~/.dsh/tripo-connector.log is written on every step
"Authorization was not completed"the redirect port was taken, or the browser never reached http://127.0.0.1:8901/callback
tools answer "not connected yet"press Connect in Plugins, then retry the tool
sign-in works but tools failthe grant is fine; the bridge could not reach Tripo — check the proxy and the log

Layout

filepurpose
index.jsregisters the server, the loopback bridge and the connector account; runs the OAuth flow
page.jsthe page the browser lands on after sign-in (dark/light, English/Chinese)
cordis.patch.ymlinserts the plugin row; the server is registered in code, not in config
locale/*.jsonPlugin Manager title and description
docs/DETAIL.mdthe Plugins detail page
icon.svgthe mark (docs/logo.png is the same thing rendered)

License

MIT. Tripo Studio is a separate service with its own terms and credit pricing; this connector only moves OAuth tokens and MCP frames.

Related plugins