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 المضيف صحيح ويمكن الوصول إليه من شبكتك. |
| معلمات غير صالحة | تأكد أن المعلمات المطلوبة تطابق المخطط. يجب أن تكون المعرّفات أرقامًا. |