protogrid

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

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

L0· runs locally

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

v1.1.1 · active · repository · website · descriptor JSON · versions

Runs on your machine: something must execute the package.Only local packages are published (npm, PyPI, OCI, …). The registry never executes them, so tools are unknown until you run it.
Quality–not scored
Trust91of 100
Packages1
Tools seen0

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "${YANDEX_DIRECT_TOKEN}",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  }
}
claude mcp add yandex-direct-api-mcp -e "YANDEX_DIRECT_TOKEN=${YANDEX_DIRECT_TOKEN}" -e "DIRECT_PROFILE=core" -e "DIRECT_ALLOW_WRITES=0" -e "DIRECT_API_VERSION=v501" -e "DIRECT_SANDBOX=0" -e "DIRECT_MAX_OUTPUT_CHARS=60000" -- npx -y [email protected]
[mcp_servers.yandex-direct-api-mcp]
command = "npx"
args = ["-y", "[email protected]"]
env = { "YANDEX_DIRECT_TOKEN" = "${YANDEX_DIRECT_TOKEN}", "DIRECT_PROFILE" = "core", "DIRECT_ALLOW_WRITES" = "0", "DIRECT_API_VERSION" = "v501", "DIRECT_SANDBOX" = "0", "DIRECT_MAX_OUTPUT_CHARS" = "60000" }
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "yandex-direct-api-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "[email protected]"
      ],
      "enabled": true,
      "environment": {
        "YANDEX_DIRECT_TOKEN": "{env:YANDEX_DIRECT_TOKEN}",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  }
}
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "${YANDEX_DIRECT_TOKEN}",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=yandex-direct-api-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInlhbmRleC1kaXJlY3QtYXBpLW1jcEAxLjEuMSJdLCJlbnYiOnsiWUFOREVYX0RJUkVDVF9UT0tFTiI6IiR7WUFOREVYX0RJUkVDVF9UT0tFTn0iLCJESVJFQ1RfUFJPRklMRSI6ImNvcmUiLCJESVJFQ1RfQUxMT1dfV1JJVEVTIjoiMCIsIkRJUkVDVF9BUElfVkVSU0lPTiI6InY1MDEiLCJESVJFQ1RfU0FOREJPWCI6IjAiLCJESVJFQ1RfTUFYX09VVFBVVF9DSEFSUyI6IjYwMDAwIn19"
}
{
  "servers": {
    "yandex-direct-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "${YANDEX_DIRECT_TOKEN}",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  }
}
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "${YANDEX_DIRECT_TOKEN}",
        "DIRECT_PROFILE": "core",
        "DIRECT_ALLOW_WRITES": "0",
        "DIRECT_API_VERSION": "v501",
        "DIRECT_SANDBOX": "0",
        "DIRECT_MAX_OUTPUT_CHARS": "60000"
      }
    }
  }
}
extensions:
  "yandex-direct-api-mcp":
    enabled: true
    name: "yandex-direct-api-mcp"
    type: stdio
    cmd: "npx"
    args:
      - "-y"
      - "[email protected]"
    envs:
      "YANDEX_DIRECT_TOKEN": "${YANDEX_DIRECT_TOKEN}"
      "DIRECT_PROFILE": "core"
      "DIRECT_ALLOW_WRITES": "0"
      "DIRECT_API_VERSION": "v501"
      "DIRECT_SANDBOX": "0"
      "DIRECT_MAX_OUTPUT_CHARS": "60000"
    timeout: 300

Placeholders to fill from your own secret store: ${YANDEX_DIRECT_TOKEN}. The registry never accepts secret values.

This is a local package: the command runs on your machine.

Quality – / 100not scored

Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.

protocoln/a · weight 25
  • n/a
    protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygienen/a · weight 30
  • n/a
    tools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool list unknown
dependencies50 · weight 15
  • warn
    deps.known_vulns1 advisory of lower severity or without a published fix: GHSA-5r4p-p66f-jhc7 in [email protected] (indirect, fixed in 4.13.11)
  • fail
    deps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 3 known advisories (GHSA-22jm-h49p-29qw, GHSA-6prh-2h8m-c8cw, GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.32.0 or later
  • pass
    deps.resolvable[email protected] resolved: 98 packages

Tool list unknown · checked 2026-10-20 20:46 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 91 / 100

provenance90
livenessn/a
freshness85
hygiene100

+repository +namespace-matches-repo +website ~liveness-unmeasured ~updated-41d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Dependencies

[email protected] npm97 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-20

advisoryseveritypackagefixed in
GHSA-22jm-h49p-29qwMCP TypeScript SDK: Experimental tasks were not tied to the session that created themhigh@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.32.0
GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverhigh@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.31.0
GHSA-6prh-2h8m-c8cwMCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodiesmoderate@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.32.0
GHSA-5r4p-p66f-jhc7Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static pathsmoderate[email protected]indirectfixed in 4.13.11

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

packageregistryversionruntimesecrets
yandex-direct-api-mcpnpm1.1.1npxYANDEX_DIRECT_TOKEN

Tools (0)

No tools observed. Local packages are never executed by the registry.

Schemas: list_tools.

Similar MCP servers

More from io.github.artgas1

Official server.json
{
  "name": "io.github.artgas1/yandex-direct-api-mcp",
  "title": "Яндекс Директ API v5",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "version": "1.1.1",
  "packages": [
    {
      "version": "1.1.1",
      "transport": {
        "type": "stdio"
      },
      "identifier": "yandex-direct-api-mcp",
      "runtimeHint": "npx",
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "environmentVariables": [
        {
          "name": "YANDEX_DIRECT_TOKEN",
          "format": "string",
          "isSecret": true,
          "isRequired": true,
          "description": "OAuth-токен Яндекса со scope direct:api (https://oauth.yandex.ru/)"
        },
        {
          "name": "YANDEX_DIRECT_LOGIN",
          "format": "string",
          "description": "Логин кабинета для заголовка Client-Login. Нужен агентствам и представителям; для собственного кабинета не задаётся"
        },
        {
          "name": "DIRECT_PROFILE",
          "format": "string",
          "choices": [
            "core",
            "read",
            "all"
          ],
          "default": "core",
          "description": "Набор объявляемых инструментов: core — узкий набор по умолчанию, read — все читающие, all — вся поверхность"
        },
        {
          "name": "DIRECT_TOOLS",
          "format": "string",
          "description": "Явный список инструментов или служб через запятую. Побеждает DIRECT_PROFILE"
        },
        {
          "name": "DIRECT_ALLOW_WRITES",
          "format": "string",
          "default": "0",
          "description": "Разрешить изменяющие методы (add/update/delete). Пока выключено, они не объявляются вовсе. Значения: 1, true, yes"
        },
        {
          "name": "DIRECT_API_VERSION",
          "format": "string",
          "choices": [
            "v501",
            "v5"
          ],
          "default": "v501",
          "description": "Версия пути API. Разные версии отдают разные наборы полей одной и той же кампании"
        },
        {
          "name": "DIRECT_SANDBOX",
          "format": "string",
          "default": "0",
          "description": "Отправлять запросы в песочницу Директа вместо боевого кабинета. Значения: 1, true, yes"
        },
        {
          "name": "DIRECT_MAX_OUTPUT_CHARS",
          "format": "number",
          "default": "60000",
          "description": "Потолок размера ответа инструмента в символах; сверх него ответ усекается с пометкой"
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/artgas1/yandex-direct-mcp",
    "source": "github"
  },
  "websiteUrl": "https://github.com/artgas1/yandex-direct-mcp#readme",
  "description": "MCP server for Yandex Direct API v5: 113 methods from the machine-readable schema"
}