Skip to content
VS Code

VK Ads MCP for VS Code

io.github.askads/mcp-vk-ads

MCP server for VK Ads (VK Реклама) API: manage ad plans, ad groups, banners, and statistics.

client:VS Code transport:stdio runtime:npm

Install VK Ads MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "vk-ads-token",
      "description": "VK_ADS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vk-ads-lang",
      "description": "VK_ADS_LANG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vk-ads-timeout-ms",
      "description": "VK_ADS_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vk-ads-max-retries",
      "description": "VK_ADS_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vk-ads-api-base",
      "description": "VK_ADS_API_BASE",
      "password": true
    }
  ],
  "servers": {
    "mcp-vk-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "${input:vk-ads-token}",
        "VK_ADS_LANG": "${input:vk-ads-lang}",
        "VK_ADS_TIMEOUT_MS": "${input:vk-ads-timeout-ms}",
        "VK_ADS_MAX_RETRIES": "${input:vk-ads-max-retries}",
        "VK_ADS_API_BASE": "${input:vk-ads-api-base}"
      }
    }
  }
}

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

VK Ads MCP in other clients