An MCP server for managing Yandex Browser tabs with extended functionality.
MCP (Model Context Protocol) сервер для управления вкладками Яндекс Браузера с расширенной функциональностью.
# Клонируйте репозиторий
git clone <repository-url>
cd yandex-browser-mcp
# Установите зависимости
npm install
# Соберите проект
npm run build
Используйте один из предоставленных батников:
start-yandex-debug.bat
Или вручную:
"C:\Users\%USERNAME%\AppData\Local\Yandex\YandexBrowser\Application\browser.exe" --remote-debugging-port=9222
Добавьте в конфигурацию Claude Desktop:
{
"mcpServers": {
"yandex-browser": {
"command": "node",
"args": ["C:\\Users\\Professional\\Desktop\\yandex-browser-mcp\\build\\index.js"]
}
}
}
Подключиться к уже открытому Яндекс Браузеру
connect_to_browser({ port?: number })
Получить список всех открытых вкладок
list_tabs({})
Перейти по URL в указанной вкладке
navigate({
url: string,
tabIndex?: number,
waitForSelector?: string
})
Кликнуть по элементу
click({ selector: string, tabIndex?: number })
Ввести текст в поле
type({
selector: string,
text: string,
tabIndex?: number,
delay?: number
})
Навести курсор на элемент
hover({ selector: string, tabIndex?: number })
Нажать клавишу или комбинацию
key_press({
key: string,
modifiers?: ['Control' | 'Shift' | 'Alt' | 'Meta'][],
tabIndex?: number
})
Прокрутить страницу или к элементу
scroll({
tabIndex?: number,
direction?: 'up' | 'down' | 'left' | 'right',
distance?: number,
selector?: string,
smooth?: boolean
})
Получить текстовое содержимое
get_text({ selector?: string, tabIndex?: number })
Получить HTML содержимое
get_html({
selector?: string,
outerHTML?: boolean,
tabIndex?: number
})
Получить атрибуты элемента
get_attributes({
selector: string,
attributes?: string[],
tabIndex?: number
})
Получить информацию о странице
get_page_info({ tabIndex?: number })
// Возвращает: URL, title, description, viewport, metaTags
Получить логи консоли браузера
get_console_logs({
tabIndex?: number,
type?: 'all' | 'log' | 'warn' | 'error' | 'info',
limit?: number
})
Заполнить форму данными
fill_form({
formSelector?: string,
fields: { [selector: string]: any },
tabIndex?: number
})
Ждать появления элемента
wait_for_element({
selector: string,
tabIndex?: number,
timeout?: number,
visible?: boolean
})
Сделать скриншот
screenshot({
name: string,
tabIndex?: number,
fullPage?: boolean,
selector?: string
})
Выполнить JavaScript код
evaluate({ script: string, tabIndex?: number })
Выполнить тест (выбрать ответы и отправить)
execute_test({
tabIndex: number,
testSelectors: string[],
submitButtonSelector: string
})
// Подключаемся к браузеру
connect_to_browser({})
// Переходим на страницу
navigate({ url: "https://example.com" })
// Получаем логи консоли
get_console_logs({ type: 'error' })
// Извлекаем текст
get_text({ selector: '.main-content' })
// Заполняем форму
fill_form({
fields: {
'#name': 'Иван Иванов',
'#email': 'ivan@example.com',
'#country': 'ru',
'#subscribe': true
}
})
// Нажимаем Enter для отправки
key_press({ key: 'Enter' })
// Скроллим к элементу
scroll({ selector: '#important-section', smooth: true })
// Делаем скриншот элемента
screenshot({
name: 'important-section.png',
selector: '#important-section'
})
Откройте test-page-v2.html
в браузере для тестирования всех функций:
navigate({ url: "file:///C:/Users/Professional/Desktop/yandex-browser-mcp/test-page-v2.html" })
MIT
MIT Professor
v2.0 - Расширенная версия с прямым доступом к данным браузера
A simple note storage system that allows adding and summarizing notes using a custom URI scheme.
An MCP server for managing Tempo worklogs in Jira. It connects to Jira and Tempo services using API tokens and environment variables.
Manages configurations for MCP clients, automatically detecting file paths based on OS and client.
Manage your Todoist tasks and projects using the Todoist Python API.
Access and manage your VISO TRUST third-party risk program directly through your AI assistant.
Provides current date and time with configurable formats and timezones.
Generate high-quality text-to-speech and text-to-voice outputs using the DAISYS platform.
A text enhancement tool that transforms story content into rich, detailed narratives using advanced literary techniques and heuristic analysis.
Connects AI assistants to your Notion workspace to search and manage pages, databases, and content.
A Todo and Task Manager server for creating, updating, and managing tasks, using a SQLite database.