Skip to content
VS Code

mostai mcp for VS Code

io.github.most-ai-com/mostai-mcp

Generate images, video, music, speech and text with 60+ models through your MostAI account.

client:VS Code transport:stdio runtime:pypi

Install mostai mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mostai-cookie",
      "description": "MOSTAI_COOKIE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mostai-warn-price",
      "description": "MOSTAI_WARN_PRICE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mostai-max-price",
      "description": "MOSTAI_MAX_PRICE",
      "password": true
    }
  ],
  "servers": {
    "mostai-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mostai-mcp"
      ],
      "env": {
        "MOSTAI_COOKIE": "${input:mostai-cookie}",
        "MOSTAI_WARN_PRICE": "${input:mostai-warn-price}",
        "MOSTAI_MAX_PRICE": "${input:mostai-max-price}"
      }
    }
  }
}

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

mostai mcp in other clients