Yandex Direct MCP server
MCP server for Yandex Direct API v5: manage PPC campaigns, ads, keywords, and statistics.
1 stars130 downloads/wk
Reviews
Write oneNobody has reviewed Yandex Direct yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Yandex Direct tools (38, 14 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
ad_actionPerforms a lifecycle action on ads by id: moderate, suspend, resume, archive, unarchive or delete.
add_bid_modifierAdds a bid adjustment to a campaign or ad group. BidModifier values are percentages per the API (e.g. 0–1300), not money.
add_calloutswrite actionCreates callouts (уточнения), up to 25 characters each. Callouts are immutable — delete and recreate to change. Assign to ads via the Ads service.
add_keywordsAdds keywords to an ad group, with optional search and network bids.
campaign_actionPerforms a lifecycle action on campaigns by id: suspend, resume, archive, unarchive or delete.
create_ad_groupwrite actionCreates an ad group inside a campaign with a target geo.
create_sitelinks_setwrite actionCreates a sitelink set (1–8 links). Sets are immutable — to change links, create a new set and reassign it to the ad.
create_text_adwrite actionCreates a text ad (TextAd) inside an ad group. New ads start as drafts.
create_text_campaignwrite actionCreates a TextCampaign (Text & Image ads). Without biddingStrategy it defaults to manual search bids with the network off (Search HIGHEST_POSITION, Network SERVING_OFF); pass a full biddingStrategy {Search, Network} to use an auto-strategy or enable the network.
create_vcardwrite actionCreates a virtual business card in a campaign. vCards are immutable — delete and recreate to change.
delete_bid_modifierswrite actionDeletes bid modifiers by id (bidmodifiers/delete).
delete_calloutswrite actionDeletes callouts by id (adextensions/delete).
delete_sitelinkswrite actionDeletes sitelink sets by id (only sets not assigned to any ad can be deleted).
delete_vcardswrite actionDeletes vCards by id (vcards/delete).
get_account_infoReturns information about the current advertiser account (login, currency, type, country) using the Yandex Direct `clients` service.
get_ad_imagesLists images in the ad image library, keyed by image hash. Upload new images with upload_ad_image.
get_ad_videosReads videos from the ad video library by id (the API requires ids). Uploads go via raw_request (advideos/add).
get_bid_modifiersReads bid adjustments (mobile, desktop, demographics, retargeting, regional, video) for campaigns or ad groups. BidModifier is a percentage, not money.
get_calloutsLists callouts (уточнения) from the adextensions library. Attach a callout to an ad via the Ads service.
get_creativesLists creatives (smart banners, HTML5) from the creative library.
get_dictionariesReturns Yandex Direct reference dictionaries (currencies, time zones, constants, ad categories, ...). GeoRegions can be very large — prefer get_regions for region lookups.
get_quotaReturns today's API points quota (spent / rest / limit) from the Units header, so you can avoid hitting the daily limit.
get_regionsLooks up geo region ids for targeting (the regionIds that create_ad_group needs). Filter by a name substring; results are capped by limit.
get_sitelinksReads sitelink sets (быстрые ссылки) by id. The API requires set ids — get them from ads' SitelinkSetId.
get_statisticsRequests a performance report via the Yandex Direct Reports service. By default the report is AGGREGATED over the whole period (one row per object) — add "Date" to fieldNames only for day-by-day dynamics or trend questions. ALL_TIME without a campaign filter is rejected for SEARCH_QUERY/CRITERIA reports; pass campaignIds or a bounded date range. SEARCH_QUERY_PERFORMANCE_REPORT returns a COMPUTED S
get_vcardsReads virtual business cards (визитки) by id. The API requires ids — get them from ads' VCardId.
keyword_actionPerforms a lifecycle action on keywords by id: suspend, resume or delete.
list_ad_groupsLists ad groups. Provide campaignIds and/or ids — the Yandex Direct API requires at least one selection criterion.
list_adsLists ads with optional filtering by campaign, ad group, id, state and status.
list_campaignsLists campaigns with optional filtering by id, type, state and status. Monetary fields (e.g. DailyBudget.Amount) are returned in account currency units.
list_keywordsLists keywords filtered by campaign, ad group or id. Bid and ContextBid are returned in account currency units.
raw_requestEscape hatch to call any Yandex Direct API v5 service/method directly (e.g. service "bidmodifiers", method "get"). Use this for services that have no dedicated tool. Money is in micros (no conversion). Read methods (get/has/check) run freely; any other method is a write and requires confirmWrite=true.
set_bid_modifiersChanges the percent of existing bid modifiers and/or enables/disables them (bidmodifiers/set), by modifier id.
set_keyword_bidsSets manual search/network bids on keywords, or on all keywords in given ad groups or campaigns (keywordbids/set). Bids are in account currency units.
update_ad_groupwrite actionUpdates an ad group's name and/or target regions (adgroups/update).
update_campaignwrite actionUpdates a campaign's name, end date and/or daily budget (campaigns/update).
update_text_adwrite actionUpdates a text ad's title, text or landing page (ads/update). Editing an active ad sends it back to moderation.
upload_ad_imagewrite actionUploads an image to the ad image library (adimages/add) and returns its AdImageHash — use that hash as AdImageHash on a text & image ad. Provide the image as a public URL (fetched and encoded server-side) or as base64 in imageData. Yandex accepts JPG/PNG/GIF up to 10 MB; a text & image ad needs a landscape image (min 1080×607).
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan39 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 36 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Yandex Direct compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 48,255 servers
- Tools
- 38
- the typical server has 7
- Tools that change things
- 37%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 130
- more than 68% of 12,191 servers with a package
What its tools let an agent do: 20 read · 9 create · 5 change · 4 delete
Install Yandex Direct in Claude Code, Cursor or VS Code
Runs npx -y mcp-yandex-direct on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-yandex-direct -- npx -y mcp-yandex-direct
What the publisher says
From the Yandex Direct repository's README, as published. We do not edit it. Read it on GitHub
Яндекс Директ MCP
Яндекс Директ MCP подключает AI-приложение к рекламному кабинету Яндекс Директа. Спросите на естественном языке, куда уходит рекламный бюджет, сопоставьте кампании, объявления и ключевые фразы, а затем подготовьте или внесите нужные изменения без переходов между разделами кабинета. Подключение начинается прямо в диалоге: не нужно заранее создавать токен или редактировать конфигурацию.
- 44 инструмента. Кампании, группы, объявления, ключевые фразы, ставки, корректировки, расширения, статистика, баланс, справочники и подключение аккаунта прямо в диалоге.
- Два способа подключения. Удалённый сервер по URL не требует вручную получать токен и только читает данные; локальный через npx даёт полный доступ к кабинету.
- Подключение в чате. Яндекс откроет страницу входа; после кода из чата можно сразу работать с рекламой, а доступ продлевается автоматически.
- Деньги в понятном виде. В удобных инструментах бюджеты, ставки и баланс показываются в валюте аккаунта, а не в микроединицах API.
- Реальная реклама. Локальные изменения применяются в боевом кабинете и могут повлиять на расход. Для работы в тестовой среде есть песочница Яндекс Директа.
Попробуйте первым сообщением:
Покажи кампании моего аккаунта и расход за прошлую неделю по группам объявлений.
Подключить сервер · Посмотреть сценарии · Открыть техническую документацию
Увидеть работу за минуту
Вы: Подключи Яндекс Директ.
Ассистент: Даёт ссылку на вход в Яндекс. Откройте её под аккаунтом с доступом к нужному рекламному кабинету, подтвердите доступ и пришлите показанный код.
Вы: Отправляет код со страницы Яндекса.
Ассистент: Подключает Директ и показывает кабинет. Перезапускать приложение не нужно.
Вы: Покажи кампании моего аккаунта и расход за прошлую неделю по группам объявлений.
Ассистент: Находит кампании, строит отчёт по группам объявлений и показывает расход в валюте аккаунта.
Содержание
- Быстрый старт
- Что можно поручить
- Как это работает
- Что может изменить данные
- Подключение и настройка
- Данные и телеметрия
- Ограничения
- Техническая документация
- Поддержка
Быстрый старт
- Выберите способ подключения и добавьте сервер в AI-приложение по инструкции ниже.
- Откройте новый диалог и спросите: «Покажи кампании моего аккаунта и расход за прошлую неделю по группам объявлений».
Анализ без самостоятельного получения токена — по URL
Удалённый сервер https://mcp.askads.ru/mcp подключается через приложение, которое поддерживает MCP по URL. Войдите в Яндекс в браузере и подтвердите доступ: токен не нужно передавать в конфиг. Этот вариант предназначен только для чтения — статистики, аудита и просмотра объектов; он не меняет настройки рекламы.
В Claude Code можно добавить его командой:
claude mcp add --transport http yandex-direct https://mcp.askads.ru/mcpПосле подключения откройте /mcp и пройдите авторизацию. В остальных поддерживающих HTTP MCP приложениях добавьте тот же URL через интерфейс приложения.
Полный доступ — локально через npx
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Yandex Direct: common questions
- Is Yandex Direct MCP server safe?
- Mostly: it is graded B (80/100). Read the Yandex Direct safety report
- How do I install Yandex Direct?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Yandex Direct need an API key?
- Yes. The registry entry asks for
YANDEX_DIRECT_TOKEN. - Is Yandex Direct maintained?
- The last commit was 75 days ago (2026-08-21). The latest release is v1.0.5.
- How does Yandex Direct compare with other MCP servers?
- safety score 80/100 (higher than 60% of 48,255 servers); tools 38 (the typical server has 7); tools that change things 37% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.