The Model Context Protocol (MCP) allows AI assistants like Claude, GPT, and Cursor to interact directly with your Better Search Console data. Your assistant can list websites, check indexation status, analyze prompts, manage sitemaps, and much more — all through a standardized tool-calling interface.
MCP-сервер доступен по адресу:
https://api.better-search-console.com/_mcpПоддерживаются три метода (в порядке приоритета):
| Метод | Пример |
|---|---|
X-API-TOKEN header | X-API-TOKEN: your_token_here |
Authorization: Bearer header | Authorization: Bearer your_token_here |
?token= query parameter | /_mcp?token=your_token_here |
Найдите API-токен в настройках. Это 64-символьная шестнадцатеричная строка.
Для клиентов с поддержкой OAuth эндпоинт MCP также принимает стандартные токены OAuth 2.0 Bearer, полученные через процесс Google OAuth. Токен доступа, возвращённый после авторизации, сохраняется в записи пользователя и может использоваться как Bearer-токен.
{
"mcpServers": {
"better-search-console": {
"url": "https://api.better-search-console.com/_mcp?token=<YOUR_API_TOKEN>"
}
}
}{
"mcpServers": {
"better-search-console": {
"url": "https://api.better-search-console.com/_mcp",
"headers": {
"X-API-TOKEN": "<YOUR_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"better-search-console": {
"url": "https://api.better-search-console.com/_mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_TOKEN>"
}
}
}
}| Уровень | Запросов/мин | Запросов/день |
|---|---|---|
| Free | 10 | 50 |
| Starter | 100 | 200 |
| Pro | 200 | 500 |
| Master | Unlimited | Unlimited |
List all websites owned by the authenticated user.
Параметры не требуются.
Get detailed information about a specific website.
Параметры:
website_idUpdate website settings (name, description, category, auto flags).
Параметры:
website_idnamedescriptioncategoryauto_indexingauto_sitemap_refreshauto_update_statusList URLs for a website with optional filters and pagination.
Параметры:
website_idcoverage_stateurl_containsindexing_statepagelimitDelete a single URL from a website.
Параметры:
url_idDelete multiple URLs from a website in bulk.
Параметры:
website_idurlsGet URL statistics grouped by coverage state.
Параметры:
website_idGet the current indexation queue status for a website.
Параметры:
website_idList all sitemaps for a website.
Параметры:
website_idAdd a sitemap URL to a website (validates domain and reachability).
Параметры:
website_idsitemap_urlFetch and parse a sitemap, importing discovered URLs into the database.
Параметры:
sitemap_idProcess all sitemaps for a website.
Параметры:
website_idDelete a sitemap and optionally its associated URLs.
Параметры:
sitemap_idQueue a URL for Google indexation.
Параметры:
urlQueue a URL for Bing indexation.
Параметры:
urlQueue multiple URLs for Google and/or Bing indexation.
Параметры:
website_idurlsgooglebingAsk Bing what its crawler knows about a website's URLs (discovery date, last crawl, document size) and store it. This is not the same as bing_status, which reports whether a URL appears in Bing search results. Paced at about one URL per second and skips readings taken in the last week.
Параметры:
website_idlimitQueue a URL for indexation status check.
Параметры:
urlQueue multiple URLs for indexation status check.
Параметры:
website_idurlsDisable indexation for multiple URLs (sets mustBeIndexed to false).
Параметры:
website_idurlsRe-enable indexation for multiple URLs (sets mustBeIndexed to true).
Параметры:
website_idurlsManually update the coverage state of a URL.
Параметры:
urlstateRank URLs by how much a Google indexation request would help, and report which ones cannot be helped and why. Read-only: it spends no quota and queues nothing. Use it to decide what to submit before calling queue-google or queue-bulk.
Параметры:
website_idbudgetGet Search Console analytics data with flexible dimensions.
Параметры:
website_idstart_dateend_datedimensionsrow_limitGet top search queries for a website.
Параметры:
website_idstart_dateend_datelimitGet top pages by search performance.
Параметры:
website_idstart_dateend_datelimitGet search performance breakdown by device type.
Параметры:
website_idstart_dateend_dateGet search performance breakdown by country.
Параметры:
website_idstart_dateend_datelimitCompare search analytics between two time periods with deltas.
Параметры:
website_idperiod1_startperiod1_endperiod2_startperiod2_enddimensionsList all prompt analyses for a website.
Параметры:
website_idCreate a new prompt analysis entry.
Параметры:
website_idpromptmodelstargeted_keywordsUpdate targeted keywords for a prompt analysis.
Параметры:
analysis_idtargeted_keywordsGet detailed results and keyword statistics for a prompt analysis.
Параметры:
analysis_idCreate a custom dashboard (max 3 per website).
Параметры:
website_idnameis_defaultUpdate a custom dashboard name or default status.
Параметры:
dashboard_idnameis_defaultDelete a custom dashboard and its widgets.
Параметры:
dashboard_idReplace all widgets on a dashboard.
Параметры:
dashboard_idwidgetsList saved URL filters for a website.
Параметры:
website_idCreate a saved URL filter.
Параметры:
website_idnamesearchsitemapindexationDelete a saved filter.
Параметры:
filter_idGenerate a PDF report for a website (requires pro/master subscription).
Параметры:
website_idstart_dateend_dateGet report branding settings for a website.
Параметры:
website_idUpdate report branding settings (company name, colors, footer).
Параметры:
website_idcompany_nameprimary_coloraccent_colorfooter_textFetch a URL and extract SEO meta tags (title, description, OG, robots, h1s).
Параметры:
urlAnalyze keyword density in a text.
Параметры:
textkeywordsCheck URL structure for SEO issues and return a score.
Параметры:
urlAnalyze text readability using Flesch Reading Ease and Flesch-Kincaid grade.
Параметры:
textCrawl a website and generate a sitemap XML file.
Параметры:
website_urlmax_urlsGenerate a robots.txt from a configuration of user agents and sitemaps.
Параметры:
user_agentssitemapsGet the authenticated user profile and subscription info.
Параметры не требуются.
Список ваших сайтов:
Tool: list-websites
Arguments: {}Проверить индексацию URL:
Tool: check-url-indexation
Arguments: { "website_id": 1, "url": "https://example.com/page" }Отправить URL на индексацию:
Tool: submit-urls-for-indexing
Arguments: { "website_id": 1, "url_ids": [10, 11, 12] }| Проблема | Решение |
|---|---|
| 401 Unauthorized | Убедитесь, что API-токен верен и включён в запрос. |
| 429 Too Many Requests | Вы превысили лимит запросов. Подождите или улучшите план. |
| Инструмент не найден | Убедитесь, что название инструмента точно совпадает со справкой выше. |
| Соединение отклонено | Убедитесь, что URL хоста верен и доступен из вашей сети. |
| Неверные параметры | Убедитесь, что параметры соответствуют схеме. ID должны быть числами. |