auth_statusLABSCO SUMMARY
Typed tools for the daily work, `raw_request` for everything else.
That pairing is the design worth noting: the common objects get proper schemas an assistant can fill in correctly, and the long tail of API v5 stays reachable without waiting for someone to wrap it — with writes through that path gated behind an explicit confirmation flag. Sandbox mode and the quota tool are the two things to reach for first, since the same token that reads a report can also change what you are spending.
What it is
A full-coverage Yandex Direct server. Typed tools handle the objects you touch daily — campaigns, ad groups, text ads, keywords, bid modifiers, extensions — and raw_request reaches any other service or method, so nothing in API v5 is out of reach. Sign-in happens in the conversation over OAuth with PKCE.
What you get
- Campaigns:
list_campaigns,create_text_campaign,update_campaignincluding negative keywords, andcampaign_actionto pause, resume, archive or delete - Ad groups, text ads and keywords each get the same four-part treatment — list, create, update, act
set_keyword_bidsfor manual bids;add_bid_modifier,set_bid_modifiersanddelete_bid_modifiersfor adjustments by device, demographics, geography and retargeting- Extensions: sitelink sets, callouts, vcards, and
upload_ad_imagewhich takes a URL or base64 and returns theAdImageHash get_statisticsruns the Reports service; the search-query report comes back as a computed summary rather than raw rowsget_balancereads the account balance,get_quotathe remaining daily API units,get_regionsthe region IDs you need to create a groupraw_requestcalls anything else, with writes requiringconfirmWrite=trueauth_status,start_login,finish_loginandlogouthandle credentials without leaving the client
Requirements
Run mcp-yandex-direct from npm. Either sign in from the conversation — the login link is valid for 10 minutes, and the token is written to ~/.config/mcp-yandex-direct/credentials.json with 0600 permissions — or set YANDEX_DIRECT_TOKEN yourself. That token has full account access and can spend budget, so treat it as a secret; YANDEX_DIRECT_SANDBOX points the same setup at the sandbox API instead. Agency tokens target one account with YANDEX_DIRECT_LOGIN, and YANDEX_DIRECT_LANG switches the language of responses. Version 1.5.1.
Setup effort
One command — npx -y mcp-yandex-direct@latest
USE CASES
Finding out where the money went this week
Pull a report through the Reports service, and read the balance and remaining API quota alongside it.
Cleaning up wasted spend
Review the search-query summary, then add negative keywords at campaign or group level.
Launching a new group of ads
Look up the region IDs, create the group, add the text ads and their keywords with bids.
44 tools
Listed in project docs. Your client may show a different list.
start_loginfinish_loginlogoutget_account_infoget_balanceget_quotaget_regionsget_dictionarieslist_campaignscreate_text_campaignupdate_campaigncampaign_actionlist_ad_groupscreate_ad_groupupdate_ad_groupdelete_ad_groupslist_adscreate_text_adupdate_text_adad_actionlist_keywordsadd_keywordsset_keyword_bidskeyword_actionget_bid_modifiersadd_bid_modifierset_bid_modifiersdelete_bid_modifiersget_sitelinkscreate_sitelinks_setdelete_sitelinksget_calloutsadd_calloutsdelete_calloutsget_vcardscreate_vcarddelete_vcardsget_ad_imagesget_ad_videosget_creativesupload_ad_imageget_statisticsraw_requestBEFORE YOU INSTALL
What to know first
Tools you get
44 tools named in the project's documentation.
Requires
Node.js 20+ (for the local npx setups; the hosted https://mcp.askads.ru/mcp URL needs only a client that can add a remote MCP server)
Where it runs
Of the 6 documented setups, 5 run the server on your machine and 1 connects to a hosted endpoint.
INSTALLATION
Connect your client
Server setup
npx
npx -y mcp-yandex-direct@latestHosted endpoint
https://mcp.askads.ru/mcpAdd this hosted endpoint to your MCP client.
MCP Clients
Codex
codex mcp add yandex-direct -- npx -y mcp-yandex-direct@latestClaude Code — npx
claude mcp add --transport stdio --scope user yandex-direct -- npx -y mcp-yandex-direct@latestClaude Desktop, Cursor
{
"mcpServers": {
"yandex-direct": {
"command": "npx",
"args": [
"-y",
"mcp-yandex-direct@latest"
]
}
}
}VS Code
{
"servers": {
"yandex-direct": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-yandex-direct@latest"
]
}
}
}Claude Code — HTTP
claude mcp add --transport http yandex-direct https://mcp.askads.ru/mcp