Skip to content
VS Code

yandex direct for VS Code

io.github.dontsovcmc/yandex-direct

MCP server for Yandex Direct API v5 — campaigns, ads, keywords, bids, audiences

client:VS Code transport:stdio runtime:pypi

Install yandex direct in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yd-token",
      "description": "YD_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yd-client-login",
      "description": "YD_CLIENT_LOGIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yd-lang",
      "description": "YD_LANG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yd-timeout",
      "description": "YD_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yd-file-timeout",
      "description": "YD_FILE_TIMEOUT",
      "password": true
    }
  ],
  "servers": {
    "yandex-direct": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-yandex-direct"
      ],
      "env": {
        "YD_TOKEN": "${input:yd-token}",
        "YD_CLIENT_LOGIN": "${input:yd-client-login}",
        "YD_LANG": "${input:yd-lang}",
        "YD_TIMEOUT": "${input:yd-timeout}",
        "YD_FILE_TIMEOUT": "${input:yd-file-timeout}"
      }
    }
  }
}

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

yandex direct in other clients