MCP server for Yandex Direct API: campaigns, ads, keywords, bids, reports. Click.ru or OAuth.
registry version 0.5.0
npm
npx -y @ai-hub-open/yandex-direct-mcpnpm
npx -y @ai-hub-open/yandex-direct-mcp@0.5.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp@0.5.0"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env CLICK_RU_TOKEN=<YOUR_CLICK_RU_TOKEN> --env YANDEX_DIRECT_TOKEN=<YOUR_YANDEX_DIRECT_TOKEN> yandex-direct-mcp -- npx -y @ai-hub-open/yandex-direct-mcp
claude mcp add --env CLICK_RU_TOKEN=<YOUR_CLICK_RU_TOKEN> --env YANDEX_DIRECT_TOKEN=<YOUR_YANDEX_DIRECT_TOKEN> yandex-direct-mcp -- npx -y @ai-hub-open/yandex-direct-mcp@0.5.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp@0.5.0"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}{
"servers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp@0.5.0"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-direct-mcp": {
"command": "npx",
"args": [
"-y",
"@ai-hub-open/yandex-direct-mcp@0.5.0"
],
"env": {
"CLICK_RU_TOKEN": "<YOUR_CLICK_RU_TOKEN>",
"YANDEX_DIRECT_TOKEN": "<YOUR_YANDEX_DIRECT_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
CLICK_RU_PROXY — true — Click.ru proxy mode (primary)CLICK_RU_TOKEN secret — Click.ru API tokenCLICK_RU_CLIENT_LOGIN — Yandex Direct account login connected in Click.ruYANDEX_DIRECT_TOKEN secret — Yandex Direct OAuth token (direct mode)YANDEX_DIRECT_SANDBOX — true — Yandex sandbox (direct mode only)Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/ai-hub-open/yandex-direct-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/yandex-direct-mcp/)
HTML
<a href="https://mcpnav.net/server/yandex-direct-mcp/"><img src="https://mcpnav.net/badge/yandex-direct-mcp.svg" alt="Listed on MCPNav" height="20"></a>