Skip to content
VS Code

Yandex Audience MCP for VS Code

io.github.a1-x-tech/mcp-yandex-audience

MCP server for Yandex Audience API: segments (CRM, lookalike, pixel), pixels, grants.

client:VS Code transport:stdio runtime:npm

Install Yandex Audience MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yandex-audience-token",
      "description": "YANDEX_AUDIENCE_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yandex-audience-api-host",
      "description": "YANDEX_AUDIENCE_API_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yandex-audience-timeout-ms",
      "description": "YANDEX_AUDIENCE_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yandex-audience-max-retries",
      "description": "YANDEX_AUDIENCE_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "mcp-yandex-audience": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-yandex-audience"
      ],
      "env": {
        "YANDEX_AUDIENCE_TOKEN": "${input:yandex-audience-token}",
        "YANDEX_AUDIENCE_API_HOST": "${input:yandex-audience-api-host}",
        "YANDEX_AUDIENCE_TIMEOUT_MS": "${input:yandex-audience-timeout-ms}",
        "YANDEX_AUDIENCE_MAX_RETRIES": "${input:yandex-audience-max-retries}"
      }
    }
  }
}

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

Yandex Audience MCP in other clients