Skip to content
Cursor

Яндекс Директ API v5 for Cursor

io.github.artgas1/yandex-direct-api-mcp

MCP server for Yandex Direct API v5: 113 methods from the machine-readable schema

client:Cursor transport:stdio runtime:npm

Install Яндекс Директ API v5 in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>",
        "YANDEX_DIRECT_LOGIN": "<YANDEX_DIRECT_LOGIN>",
        "DIRECT_PROFILE": "<DIRECT_PROFILE>",
        "DIRECT_TOOLS": "<DIRECT_TOOLS>",
        "DIRECT_ALLOW_WRITES": "<DIRECT_ALLOW_WRITES>",
        "DIRECT_API_VERSION": "<DIRECT_API_VERSION>",
        "DIRECT_SANDBOX": "<DIRECT_SANDBOX>",
        "DIRECT_MAX_OUTPUT_CHARS": "<DIRECT_MAX_OUTPUT_CHARS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Яндекс Директ API v5 in other clients