Skip to content
MCP server

Яндекс.Директ

API Яндекс.Директа v5: кампании, объявления, фразы, ставки, минус-фразы, статистика

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.0.0
Listing updated
4 days ago

About Яндекс.Директ

Яндекс.Директ is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add yandex-direct-mcp-plus --env YANDEX_DIRECT_TOKEN='<YANDEX_DIRECT_TOKEN>' -- npx -y yandex-direct-mcp-plus

Add to claude_desktop_config.json

{
  "mcpServers": {
    "yandex-direct-mcp-plus": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-mcp-plus"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "yandex-direct-mcp-plus": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-mcp-plus"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "yandex-direct-mcp-plus": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-mcp-plus"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "yandex-direct-mcp-plus": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-mcp-plus"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "yandex-direct-mcp-plus": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-mcp-plus"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}

Configuration

  • YANDEX_DIRECT_TOKENOAuth-токен Яндекс.ДиректаRequired
  • YANDEX_DIRECT_LOGINЛогин клиента (Client-Login), нужен для агентского токена

Pricing

Open source

Яндекс.Директ FAQ

Is Яндекс.Директ free?

Yes. Яндекс.Директ is open source, so you can use and self-host it for free.

How do I add Яндекс.Директ to Claude Code?

Run this command in your terminal: claude mcp add yandex-direct-mcp-plus --env YANDEX_DIRECT_TOKEN='<YANDEX_DIRECT_TOKEN>' -- npx -y yandex-direct-mcp-plus