Vitrine

MCP Server

Use vitrine from AI agents like Claude, Cursor, and Windsurf via the Model Context Protocol.

The vitrine MCP server lets AI agents manage your 3D viewers directly. Upload models, configure scenes, generate embeds — all through natural language.

What you can do

Ask your AI agent things like:

  • "Upload this shoe model and give me an embed code"
  • "Make the lighting warmer and add bloom"
  • "List my models and publish the chair"
  • "Create a dark Look called 'Noir' and apply it to all my products"
  • "File a bug: the viewer flickers on Safari"

Setup

Add vitrine to your MCP client config. The config file location depends on your client:

  • Claude Code: .mcp.json in your project, or ~/.claude/settings.json
  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • Cursor: .cursor/mcp.json in your project

Generate a key in the dashboard under Account → API Keys, then add:

{
  "mcpServers": {
    "vitrine": {
      "command": "npx",
      "args": ["@vitrine3d/mcp"],
      "env": {
        "VITRINE_API_KEY": "vt_abc123..."
      }
    }
  }
}

Without setup (anonymous)

Omit the env block to use anonymous mode. Models expire after 48 hours — sign up to keep them.

{
  "mcpServers": {
    "vitrine": {
      "command": "npx",
      "args": ["@vitrine3d/mcp"]
    }
  }
}

Available Tools

Models

ToolDescription
vitrine_list_modelsList all models with IDs, names, and publish status
vitrine_upload_modelUpload a GLB file from disk
vitrine_model_infoGet model details, thumbnail, and merged config
vitrine_delete_modelDelete a model and its storage

Configuration

ToolDescription
vitrine_get_configGet the full scene config for a model
vitrine_set_configApply a config patch (lighting, camera, background, effects)
vitrine_list_hdrisList available HDRI environment presets
vitrine_config_schemaGet the full config JSON schema

Showcases & Embeds

ToolDescription
vitrine_publishPublish or unpublish a model
vitrine_get_embedGet ready-to-paste embed HTML

Looks

ToolDescription
vitrine_list_looksList your saved Looks
vitrine_apply_lookApply a Look to a model
vitrine_create_lookSave a config as a named Look

Feedback

ToolDescription
vitrine_feedbackSubmit a bug report or feature request

Account

ToolDescription
vitrine_account_infoCurrent plan, usage, and limits

Resources

The server exposes read-only resources that agents can reference for context:

ResourceDescription
vitrine://config-schemaFull SceneConfig JSON schema
vitrine://hdri-presetsAvailable HDRI presets
vitrine://embed-templateEmbed code template

How It Works

You → AI Agent (Claude, Cursor, etc.)
       ↓ MCP protocol
     vitrine MCP Server (runs locally)
       ↓ HTTPS
     api.vitrine3d.com

     Supabase (database, storage, auth)

The MCP server runs on your machine and translates tool calls into vitrine API requests. All data stays in your vitrine account.

Compatibility

Works with any MCP-compatible client:

Environment Variables

VariableDescription
VITRINE_API_KEYYour API key (starts with vt_)
VITRINE_API_URLOverride the API base URL (for development)

On this page