Skip to content
VS Code

Muse Image for VS Code

io.github.kevintsai1202/muse-image

Generate, edit and iteratively refine images with Meta Muse, returning file paths not base64.

client:VS Code transport:stdio runtime:npm

Install Muse Image in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "muse-api-key",
      "description": "MUSE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "muse-model",
      "description": "MUSE_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "muse-output-dir",
      "description": "MUSE_OUTPUT_DIR",
      "password": true
    }
  ],
  "servers": {
    "muse-image": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "muse-image-mcp"
      ],
      "env": {
        "MUSE_API_KEY": "${input:muse-api-key}",
        "MUSE_MODEL": "${input:muse-model}",
        "MUSE_OUTPUT_DIR": "${input:muse-output-dir}"
      }
    }
  }
}

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

Muse Image in other clients