Skip to content

MCP module

Syoyo Fujita edited this page Aug 5, 2025 · 2 revisions

status: W.I.P

branch: mcp

TinyUSDZ MCP module is provided in C++ and JavaScript(WASM). Supported transport is HTTP only(POST only. no SSE(server-side-event) events)

C++ backend

examples/mcp-server

JavaScript

$ cd <tinyusdz>/web/mcp-server
$ bun install(or npm install)

then run http-server.js

Setup for MPC clients

Claude Desktop

Install nodejs firstly. Edit claude_desktop_config.json(Settings -> Developer -> Edit Config). Use mcp-remote to map StdinTransport to HttpTransport

{
  "mcpServers": {
    "tinyusdz": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:8085/mcp"
      ]
    },
    ...
}

You can omit -y args if you already installed mcp-remote package.

Registering assets

Use store_asset Tools call to store USD asset. See <tinyusdz>/web/mcp-server/setup-assets.js for details.

Clone this wiki locally