MCP-сервер для Яндекс Аудиторий — создавать CRM- и LAL-сегменты, управлять пикселями и доступами из AI-приложения
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add yandex-audience --env YANDEX_AUDIENCE_TOKEN='<YANDEX_AUDIENCE_TOKEN>' -- npx -y mcp-yandex-audience~/.codex/config.toml
[mcp_servers.yandex-audience]
command = "npx"
args = ["-y", "mcp-yandex-audience"]
env = { YANDEX_AUDIENCE_TOKEN = "<YANDEX_AUDIENCE_TOKEN>" }
# codex mcp add yandex-audience --env YANDEX_AUDIENCE_TOKEN='<YANDEX_AUDIENCE_TOKEN>' -- npx -y mcp-yandex-audience~/.cursor/mcp.json
{
"mcpServers": {
"yandex-audience": {
"command": "npx",
"args": [
"-y",
"mcp-yandex-audience"
],
"env": {
"YANDEX_AUDIENCE_TOKEN": "<YANDEX_AUDIENCE_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"yandex-audience": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-yandex-audience"
],
"env": {
"YANDEX_AUDIENCE_TOKEN": "<YANDEX_AUDIENCE_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"yandex-audience": {
"command": "npx",
"args": [
"-y",
"mcp-yandex-audience"
],
"env": {
"YANDEX_AUDIENCE_TOKEN": "<YANDEX_AUDIENCE_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"yandex-audience": {
"command": "npx",
"args": [
"-y",
"mcp-yandex-audience"
],
"env": {
"YANDEX_AUDIENCE_TOKEN": "<YANDEX_AUDIENCE_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"yandex-audience": {
"command": "npx",
"args": [
"-y",
"mcp-yandex-audience"
],
"env": {
"YANDEX_AUDIENCE_TOKEN": "<YANDEX_AUDIENCE_TOKEN>"
}
}
}
}Environment variables
YANDEX_AUDIENCE_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.