Яндекс Директ API v5

io.github.artgas1/yandex-direct-api-mcp

MCP server for Yandex Direct API v5: 113 methods from the machine-readable schema

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp@1.1.1"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<your YANDEX_DIRECT_TOKEN>",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  }
}
Environment variables
  • YANDEX_DIRECT_TOKENrequiredsecretOAuth-токен Яндекса со scope direct:api (https://oauth.yandex.ru/)
  • DIRECT_PROFILEНабор объявляемых инструментов: core — узкий набор по умолчанию, read — все читающие, all — вся поверхность
  • DIRECT_ALLOW_WRITESРазрешить изменяющие методы (add/update/delete). Пока выключено, они не объявляются вовсе. Значения: 1, true, yes
  • DIRECT_API_VERSIONВерсия пути API. Разные версии отдают разные наборы полей одной и той же кампании
  • DIRECT_SANDBOXОтправлять запросы в песочницу Директа вместо боевого кабинета. Значения: 1, true, yes
  • DIRECT_MAX_OUTPUT_CHARSПотолок размера ответа инструмента в символах; сверх него ответ усекается с пометкой

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.1.1
Registry
active
Published
9/9/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Яндекс Директ API v5 is listed here — it’s also the link we check for a free listing.

Яндекс Директ API v5 — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-artgas1-yandex-direct-api-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Яндекс Директ API v5 — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Яндекс Директ API v5 — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-artgas1-yandex-direct-api-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.