yandex-direct-mcp
A Python SDK and MCP server for the Yandex Direct API v5: campaigns, keywords and reports for an agent
- 0 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- Can suspend, resume, archive and delete ad campaigns
- Can change bids and add keywords, which directly affects budget spend
- Without the sandbox variable it acts on the live ad account
ovelichko16-ux/yandex-direct-mcp
A similar tool with a larger community: Yandex Direct MCP server in Ruby, 6 ★ on the repository
Install
- Works in
- Services
Manual install
poetry installInstall project dependencies.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Can suspend, resume, archive and delete ad campaigns
- Can change bids and add keywords, which directly affects budget spend
- Without the sandbox variable it acts on the live ad account
This is third-party code. Review the repository files before installing.
What it does
The project ships a typed, async Python SDK for the Yandex Direct API v5 and an MCP server on top of it. The server exposes tools to list, suspend, resume, archive and delete campaigns, add keywords and change bids, and to request performance reports and poll until they are ready. The author states the project is early: transport, auth and the campaign/keyword/report services are tested, while campaign creation and type-specific updates are not implemented yet.
Who it is for. For PPC specialists who want to manage Yandex Direct campaigns through an agent.
Good fit when
- You need to quickly pause or resume ad delivery for a list of campaigns
- You need to add keywords or change a bid without opening the Direct interface
- You need a campaign performance report inside a conversation with an agent
Not a fit when
- You need to create new campaigns or change type-specific settings: the server does not support this yet
- You need a stable, well-tested project: the author labels it early development
Example request
Pause the campaigns with zero conversions over the last weekMCP
- Transport
- stdio
- Authentication
- API key
Environment variables
YANDEX_DIRECT_ACCESS_TOKENrequired, secret- OAuth token for the Yandex Direct application
YANDEX_DIRECT_CLIENT_LOGIN- Client login to act on behalf of an agency
YANDEX_DIRECT_USE_OPERATOR_UNITS- Bills points to the operator account instead of the client
YANDEX_DIRECT_LANGUAGE- Error message language: ru, en or uk
YANDEX_DIRECT_SANDBOX- Routes requests to the API sandbox instead of the live account
Limitations
The author warns the project is in early development. Campaign creation and type-specific updates are not implemented. Installation is via poetry; there is no packaged npm or PyPI release. A Yandex Direct OAuth token is required, and without sandbox mode the tools act on the live account immediately.
How to disable. Remove the server from your MCP client config and revoke the Yandex Direct OAuth token in the developer console.
FAQ
Can it create new campaigns?
No, the author states that campaign creation and type-specific updates are not implemented yet.
Is there protection against accidental spending?
Yes, the YANDEX_DIRECT_SANDBOX variable targets the API sandbox instead of the live account.
Discussion
No questions or reviews yet.
Related
All Yandex Direct toolsYandex Direct MCP server in Ruby
yandex-direct-mcp
A dependency-free, pure Ruby MCP server with 30 tools for Yandex Direct campaigns, ad groups, ads, keywords and reports
Python MCP for Yandex Direct and Wordstat
Yandex.Direct MCP
A Python MCP server with 48 Yandex Direct tools and Wordstat frequency lookup, switchable between sandbox and production
Yandex Direct MCP server (npm)
@theyahia/yandex-direct-mcp
A TypeScript MCP server with an npm package: 20 tools for Yandex Direct campaigns, bids and negative keywords, with money always in rubles
Yandex Direct MCP with dry-run by default
Yandex Direct MCP Server
20 Yandex Direct tools where every edit shows the plan by default and needs confirm=True to actually send anything
Yandex Direct MCP
yandex-direct-mcp
A Claude Code and Codex plugin for Yandex Direct: a 147-tool MCP server, OAuth, and skills for ad copy and stats analysis
Dependency-free Node MCP for Yandex Direct
yandex-direct-mcp
A single-file, dependency-free Node.js Direct API v5 MCP server with a universal direct_call tool and a read-only mode
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| yandex-direct-mcp (this card) | no | API key | 0 | |
| Yandex Direct MCP, CLI and models with action search | no | API key | 1 | 79 actions |
| Direct, Metrika, Wordstat and Webmaster MCP server | no | API key | 0 | Metrika, Webmaster |
README in short
The README states the project goals: a typed SDK and MCP server for the Direct API with clean architecture and full test coverage. It lists environment variables for the token, agency login, operator units, error language and sandbox mode. A table of 13 server tools is given along with a Claude Desktop config example. The development section shows lint, format, type-check and test commands. MIT license.