Skip to content

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

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

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

client:Grok transport:stdio runtime:npm

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

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

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