Skip to content
VS Code

Crystallize MCP for VS Code

io.github.hayodev/crystallize-mcp

Crystallize headless commerce tools for AI agents via Model Context Protocol

client:VS Code transport:stdio runtime:npm

Install Crystallize MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "crystallize-tenant-identifier",
      "description": "CRYSTALLIZE_TENANT_IDENTIFIER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crystallize-access-token-id",
      "description": "CRYSTALLIZE_ACCESS_TOKEN_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crystallize-access-token-secret",
      "description": "CRYSTALLIZE_ACCESS_TOKEN_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crystallize-static-auth-token",
      "description": "CRYSTALLIZE_STATIC_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crystallize-access-mode",
      "description": "CRYSTALLIZE_ACCESS_MODE",
      "password": true
    }
  ],
  "servers": {
    "crystallize-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hayodev/crystallize-mcp"
      ],
      "env": {
        "CRYSTALLIZE_TENANT_IDENTIFIER": "${input:crystallize-tenant-identifier}",
        "CRYSTALLIZE_ACCESS_TOKEN_ID": "${input:crystallize-access-token-id}",
        "CRYSTALLIZE_ACCESS_TOKEN_SECRET": "${input:crystallize-access-token-secret}",
        "CRYSTALLIZE_STATIC_AUTH_TOKEN": "${input:crystallize-static-auth-token}",
        "CRYSTALLIZE_ACCESS_MODE": "${input:crystallize-access-mode}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Crystallize MCP in other clients