MCP server for Yandex Webmaster API — site analytics, indexing, search queries
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add yandex-webmaster --env YANDEX_WEBMASTER_TOKEN='<YANDEX_WEBMASTER_TOKEN>' -- npx -y @stufently/yandex-webmaster-mcp~/.codex/config.toml
[mcp_servers.yandex-webmaster]
command = "npx"
args = ["-y", "@stufently/yandex-webmaster-mcp"]
env = { YANDEX_WEBMASTER_TOKEN = "<YANDEX_WEBMASTER_TOKEN>" }
# codex mcp add yandex-webmaster --env YANDEX_WEBMASTER_TOKEN='<YANDEX_WEBMASTER_TOKEN>' -- npx -y @stufently/yandex-webmaster-mcp~/.cursor/mcp.json
{
"mcpServers": {
"yandex-webmaster": {
"command": "npx",
"args": [
"-y",
"@stufently/yandex-webmaster-mcp"
],
"env": {
"YANDEX_WEBMASTER_TOKEN": "<YANDEX_WEBMASTER_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"yandex-webmaster": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@stufently/yandex-webmaster-mcp"
],
"env": {
"YANDEX_WEBMASTER_TOKEN": "<YANDEX_WEBMASTER_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"yandex-webmaster": {
"command": "npx",
"args": [
"-y",
"@stufently/yandex-webmaster-mcp"
],
"env": {
"YANDEX_WEBMASTER_TOKEN": "<YANDEX_WEBMASTER_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"yandex-webmaster": {
"command": "npx",
"args": [
"-y",
"@stufently/yandex-webmaster-mcp"
],
"env": {
"YANDEX_WEBMASTER_TOKEN": "<YANDEX_WEBMASTER_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"yandex-webmaster": {
"command": "npx",
"args": [
"-y",
"@stufently/yandex-webmaster-mcp"
],
"env": {
"YANDEX_WEBMASTER_TOKEN": "<YANDEX_WEBMASTER_TOKEN>"
}
}
}
}需要的环境变量
YANDEX_WEBMASTER_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。