Skip to content
MCP server

VK Ads MCP

VK Ads (VK Реклама) account control from an AI app: campaigns, groups, banners and stats

Runs locally

VK Ads MCP is a free MCP server for marketing and seo. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI
Runs
Locally
What it can do
Can change data (1 tool)
Version
1.8.4
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-vk-ads --env VK_ADS_TOKEN='<VK_ADS_TOKEN>' -- npx -y mcp-vk-ads

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-vk-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-vk-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-vk-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-vk-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-vk-ads --env VK_ADS_TOKEN='<VK_ADS_TOKEN>' -- npx -y mcp-vk-ads

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-vk-ads]
command = "npx"
args = ["-y", "mcp-vk-ads"]
env = { VK_ADS_TOKEN = "<VK_ADS_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-vk-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-vk-ads"
      ],
      "env": {
        "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e VK_ADS_TOKEN='<VK_ADS_TOKEN>' mcp-vk-ads npx -- -y mcp-vk-ads

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-vk-ads": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-vk-ads"
          ],
          "env": {
            "VK_ADS_TOKEN": "<VK_ADS_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • VK_ADS_TOKENOptional ready-made VK Ads OAuth2 access token (Bearer) for CI and unattended installs — full account access, treat it as a secret. Without it the server connects from the chat via start_login/finish_login.
  • VK_ADS_LANGLanguage for API responses (Accept-Language header), e.g. ru, en.
  • VK_ADS_TIMEOUT_MSPer-request timeout in milliseconds.
  • VK_ADS_MAX_RETRIESMax retries for transient errors (429 rate limit, 5xx on GET, network errors on GET).
  • VK_ADS_API_BASEAPI root without a version segment. Defaults to https://ads.vk.com/api.

About VK Ads MCP

The server mirrors VK Ads' hierarchy of campaigns (ad_plan), groups (ad_group) and banners, and its 22 tools cover those plus statistics, balance, API limits, regions and a raw API request. Amounts appear in the account's own currency rather than micro-units.

Setup happens in chat. You say to connect VK Ads, and the server explains how to create an API app and supply a client_id and client_secret, then fetches a token, checks the account and refreshes it automatically. Those credentials give full access to the ad account and are stored in a user-only file.

Reads are safe, but create, update and status actions change the live account immediately, since VK Ads has no sandbox. The raw request tool needs confirmWrite=true for POST and DELETE. After a network error or 5xx, check existing objects before repeating a create. The README is in Russian.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 3 tools changes data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

start_loginName suggests: changes
Begins the in-chat account connection.
finish_login
Completes the in-chat account connection.
raw_request
Universal API request; POST and DELETE need confirmWrite=true.

What it does

Full ad hierarchy
Works with campaigns, groups and banners.
Reporting
Pulls spend, clicks and other statistics by level.
In-chat connection
Connects through client credentials supplied in the conversation.
Currency-aware values
Shows bids and budgets in the account currency.
Guarded raw requests
POST and DELETE require confirmWrite=true.

Good for

  • Review spend and clicks by campaign for last week
  • Find ads that failed moderation
  • Change a group's daily budget
  • Stop a specific ad
  • Look up a region ID for targeting

Pricing

Free

Free to install from npm

VK Ads MCP FAQ

Can VK Ads MCP change my live ads?

Yes. Create, update and status tools apply immediately because there is no sandbox.

Do I need a token up front?

No. You can connect from the chat, or set VK_ADS_TOKEN for unattended installs.

Where are credentials stored?

In ~/.config/mcp-vk-ads/credentials.json with owner-only permissions.

What Node.js version?

Node.js 20 or newer.

Is VK Ads MCP free?

Yes. VK Ads MCP is free to use.

How do I add VK Ads MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp-vk-ads --env VK_ADS_TOKEN='<VK_ADS_TOKEN>' -- npx -y mcp-vk-ads

What are the best alternatives to VK Ads MCP?

The closest alternatives to VK Ads MCP are Google Ads + Meta Ads + SEO/GEO MCP, TryPost, Calven, MentionForge and Day3 Email.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers