KeyShot MCP

v1.0.1
io.github.truman-t3/keyshot-mcp Checked 7 hours ago Published 11 days ago

Control local KeyShot scenes, cameras, environments, and renders through headless scripting.

Values you need

VariableWhat it is
KEYSHOT_HEADLESS_EXErequired Absolute path to KeyShot headless, or a command available on PATH.
KEYSHOT_OUTPUT_DIRoptional Root directory for rendered images and saved scenes.
KEYSHOT_ALLOW_EXTERNAL_OUTPUTSoptional Set to true only when output paths outside KEYSHOT_OUTPUT_DIR are required.
KEYSHOT_TIMEOUT_MSoptional Timeout in milliseconds for one KeyShot headless process.
KEYSHOT_LICENSE_ARGSoptional Optional additional KeyShot launch arguments.
KEYSHOT_MATERIAL_PRESETSoptional Optional path to a user-managed material preset JSON file.
KEYSHOT_CAMERA_PRESETSoptional Optional path to a user-managed camera preset JSON file.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add keyshot-mcp -e 'KEYSHOT_HEADLESS_EXE=<KEYSHOT_HEADLESS_EXE>' -- npx -y keyshot-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "keyshot-mcp": {
      "args": [
        "-y",
        "keyshot-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "KEYSHOT_HEADLESS_EXE": "<KEYSHOT_HEADLESS_EXE>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "keyshot-mcp": {
      "args": [
        "-y",
        "keyshot-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "KEYSHOT_HEADLESS_EXE": "<KEYSHOT_HEADLESS_EXE>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "KEYSHOT_HEADLESS_EXE",
      "id": "keyshot-headless-exe",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "keyshot-mcp": {
      "args": [
        "-y",
        "keyshot-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "KEYSHOT_HEADLESS_EXE": "${input:keyshot-headless-exe}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.keyshot-mcp]
command = "npx"
args = ["-y", "keyshot-mcp@1.0.1"]
env = { "KEYSHOT_HEADLESS_EXE" = "<KEYSHOT_HEADLESS_EXE>" }

For AI agents

  1. Ask the user for: KEYSHOT_HEADLESS_EXE. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: keyshot_status, keyshot_product_render, keyshot_inspect_scene, keyshot_list_cameras, keyshot_preview_render, keyshot_sync_saved_scene, keyshot_render, keyshot_render_queue, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json