Skip to content
VS Code

cascade-img for VS Code

io.github.laffeyp/cascade-img

LLM-operable Midjourney pipeline: 21 MCP tools to compose, generate, curate with vision, and log.

client:VS Code transport:stdio runtime:pypi

Install cascade-img in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "discord-user-token",
      "description": "DISCORD_USER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mj-channel-id",
      "description": "MJ_CHANNEL_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mj-imagine-version",
      "description": "MJ_IMAGINE_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cascade-bridge-url",
      "description": "CASCADE_BRIDGE_URL",
      "password": true
    }
  ],
  "servers": {
    "cascade-img": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cascade-img"
      ],
      "env": {
        "DISCORD_USER_TOKEN": "${input:discord-user-token}",
        "MJ_CHANNEL_ID": "${input:mj-channel-id}",
        "MJ_IMAGINE_VERSION": "${input:mj-imagine-version}",
        "CASCADE_BRIDGE_URL": "${input:cascade-bridge-url}"
      }
    }
  }
}

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

cascade-img in other clients