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 - Расширенная версия с прямым доступом к данным браузера
Interact with your Tmux sessions, windows and pane, execute commands in tmux panes and retrieve result.
Access and manage your Roam Research graph via its API.
Interact with Trello boards and cards via the Trello API, with built-in rate limiting and error handling.
Perform advanced CSV analysis and generate insights using Google's Gemini AI. Requires Gemini and Plotly API keys.
Connects AI assistants to your Notion workspace to search and manage pages, databases, and content.
Interact with Jira projects using natural language.
a macOS-only MCP server that enables AI agents to capture screenshots of applications, or the entire system.
Integrates with Jira's REST API to manage issues programmatically.
Access personal and team knowledge repositories, including documents and Slack discussions.
An MCP server that gives Claude Desktop a maid personality, complete with a Japanese-accented voice, visual avatar, and speech recognition.