MCPcopy Create free account

hub / github.com/SvechaPVL/yandex-mcp / functions

Functions285 in github.com/SvechaPVL/yandex-mcp

↓ 753 callersMethodget
(self, url, params=None, headers=None)
tests/test_webmaster_v4_write.py:52
↓ 123 callersFunctionhandle_api_error
Format API errors into actionable messages.
yandex_mcp/utils.py:6
↓ 62 callersMethoddirect_request
Make a request to Yandex Direct API.
yandex_mcp/client.py:56
↓ 43 callersMethodmetrika_request
Make a request to Yandex Metrika API.
yandex_mcp/client.py:93
↓ 20 callersMethodwebmaster_request
Make a request to Yandex Webmaster API v4. ``endpoint`` is the path after the API version, e.g. ``/user/{user_id}/hosts/``. List valu
yandex_mcp/client.py:170
↓ 12 callersMethodwebmaster_user_id
Resolve the Webmaster UserID of the token owner.
yandex_mcp/client.py:218
↓ 7 callersMethodwordstat_request
Make a request to Wordstat via Yandex Cloud Search API v2. ``endpoint`` is the path after ``/v2/wordstat``, e.g. ``/topRequests``. Au
yandex_mcp/client.py:133
↓ 6 callersFunctionmap_devices
Map v1 device names to v2 enum values (v2 names pass through).
yandex_mcp/tools/wordstat.py:58
↓ 6 callersFunctionmap_period
Map v1 period name to the v2 enum value (v2 names pass through).
yandex_mcp/tools/wordstat.py:75
↓ 6 callersFunctionmap_region_type
Map v1 region_type to the v2 enum value (v2 names pass through).
yandex_mcp/tools/wordstat.py:87
↓ 5 callersMethodjson
(self)
tests/test_webmaster_v4_write.py:34
↓ 5 callersMethodpost
(self, url, params=None, json=None, headers=None)
tests/test_webmaster_v4_write.py:56
↓ 5 callersMethodraise_for_status
(self)
tests/test_webmaster_v4_write.py:28
↓ 5 callersFunctionregister_manage_tool
Register a single MCP manage-operation tool (suspend/resume/archive/unarchive/delete). This factory replaces ~25 lines of boilerplate per action
yandex_mcp/tools/direct/_helpers.py:126
↓ 4 callersFunctionmap_top_requests_response
v2 {results, associations, totalCount} -> v1 topRequests shape.
yandex_mcp/tools/wordstat.py:116
↓ 4 callersFunctionnum
(key: str, decimals: int = 0)
yandex_mcp/formatters/webmaster.py:42
↓ 3 callersFunctiondate_to_rfc3339
v2 expects google.protobuf.Timestamp (RFC3339), not bare YYYY-MM-DD.
yandex_mcp/tools/wordstat.py:99
↓ 3 callersFunctionformat_webmaster_sitemaps_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:74
↓ 3 callersFunctionformat_webmaster_verification_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:58
↓ 3 callersFunctionmap_dynamics_response
v2 {results: [{date, count, share}]} -> v1 {dynamics: [...]}.
yandex_mcp/tools/wordstat.py:126
↓ 3 callersFunctionmap_regions_response
v2 {results: [{region, ...}]} -> v1 {regions: [{regionId, ...}]}.
yandex_mcp/tools/wordstat.py:141
↓ 2 callersFunction_format_single_top_requests
(data: Dict[str, Any])
yandex_mcp/formatters/wordstat.py:6
↓ 2 callersMethod_get_direct_token
Get token for Direct API.
yandex_mcp/client.py:34
↓ 2 callersMethod_get_direct_url
Get Direct API URL based on configuration.
yandex_mcp/client.py:50
↓ 2 callersFunction_phrase_items
(items)
yandex_mcp/tools/wordstat.py:109
↓ 2 callersMethoddelete
(self, url, params=None, headers=None)
tests/test_webmaster_v4_write.py:62
↓ 2 callersFunctionformat_webmaster_recrawl_quota_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:92
↓ 2 callersFunctionformat_wordstat_dynamics_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/wordstat.py:37
↓ 2 callersFunctionformat_wordstat_regions_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/wordstat.py:49
↓ 2 callersFunctionformat_wordstat_top_requests_markdown
(data: Union[Dict[str, Any], List[Dict[str, Any]]])
yandex_mcp/formatters/wordstat.py:25
↓ 1 callersMethod_get_metrika_token
Get token for Metrika API.
yandex_mcp/client.py:38
↓ 1 callersMethod_get_webmaster_token
Get token for Webmaster API.
yandex_mcp/client.py:46
↓ 1 callersMethod_get_wordstat_api_key
Get the Yandex Cloud Api-Key for the Wordstat (Search API v2).
yandex_mcp/client.py:42
↓ 1 callersFunction_make_handler
(svc: str, act: str, ent: str, ids_attr: str, model: type)
yandex_mcp/tools/direct/_helpers.py:198
↓ 1 callersFunctionformat_action_response
Build a human-readable response string for a manage action. Parameters ---------- action: Action name (e.g. ``"suspend"``). e
yandex_mcp/tools/direct/_helpers.py:95
↓ 1 callersFunctionformat_adgroups_markdown
Format ad groups list as markdown.
yandex_mcp/formatters/direct.py:33
↓ 1 callersFunctionformat_ads_markdown
Format ads list as markdown.
yandex_mcp/formatters/direct.py:54
↓ 1 callersFunctionformat_campaigns_markdown
Format campaigns list as markdown.
yandex_mcp/formatters/direct.py:6
↓ 1 callersFunctionformat_keywords_markdown
Format keywords list as markdown.
yandex_mcp/formatters/direct.py:80
↓ 1 callersFunctionformat_metrika_comparison_markdown
Format Metrika comparison report as markdown.
yandex_mcp/formatters/metrika.py:151
↓ 1 callersFunctionformat_metrika_counters_markdown
Format Metrika counters as markdown.
yandex_mcp/formatters/metrika.py:6
↓ 1 callersFunctionformat_metrika_drilldown_markdown
Format Metrika drilldown report as markdown.
yandex_mcp/formatters/metrika.py:186
↓ 1 callersFunctionformat_metrika_filters_markdown
Format Metrika filters as markdown.
yandex_mcp/formatters/metrika.py:113
↓ 1 callersFunctionformat_metrika_goals_markdown
Format Metrika goals as markdown.
yandex_mcp/formatters/metrika.py:76
↓ 1 callersFunctionformat_metrika_grants_markdown
Format Metrika access grants as markdown.
yandex_mcp/formatters/metrika.py:132
↓ 1 callersFunctionformat_metrika_report_markdown
Format Metrika report data as markdown.
yandex_mcp/formatters/metrika.py:29
↓ 1 callersFunctionformat_metrika_segments_markdown
Format Metrika segments as markdown.
yandex_mcp/formatters/metrika.py:97
↓ 1 callersFunctionformat_webmaster_hosts_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:6
↓ 1 callersFunctionformat_webmaster_popular_queries_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:30
↓ 1 callersFunctionformat_webmaster_summary_markdown
(data: Dict[str, Any])
yandex_mcp/formatters/webmaster.py:21
↓ 1 callersFunctionparse_action_results
Parse a Direct API manage-action response into success IDs and errors. The Direct API returns results in the shape:: {"result": {"<Actio
yandex_mcp/tools/direct/_helpers.py:52
↓ 1 callersFunctionregister_all_tools
Register all Direct, Metrika, Wordstat, and Webmaster tools.
yandex_mcp/tools/__init__.py:6
↓ 1 callersFunctionregister_direct_tools
Register all Yandex Direct tools.
yandex_mcp/tools/direct/__init__.py:6
↓ 1 callersFunctionregister_metrika_tools
Register all Yandex Metrika tools.
yandex_mcp/tools/metrika/__init__.py:6
↓ 1 callersFunctionrun
Run the MCP server.
yandex_mcp/__init__.py:21
Method__aenter__
(self)
tests/test_wordstat_v2.py:154
Method__aenter__
(self)
tests/test_webmaster_v4_write.py:46
Method__aexit__
(self, *exc)
tests/test_wordstat_v2.py:157
Method__aexit__
(self, *exc)
tests/test_webmaster_v4_write.py:49
Method__init__
(self, *args, **kwargs)
tests/test_wordstat_v2.py:151
Method__init__
(self, status_code=200, payload=None, content=b"{}")
tests/test_webmaster_v4_write.py:23
Method__init__
(self, *args, **kwargs)
tests/test_webmaster_v4_write.py:43
Method__init__
(self)
yandex_mcp/client.py:20
Function_set_dummy_token
Provide a dummy token so tools can register without real credentials.
tests/conftest.py:8
Function_validate_host_id
(value: str)
yandex_mcp/models/webmaster.py:26
Function_validate_host_url
(value: str)
yandex_mcp/models/webmaster.py:44
Function_validate_sitemap_id
(value: str)
yandex_mcp/models/webmaster.py:35
Functiondirect_add_audience_target
Add an audience target to an ad group.
yandex_mcp/tools/direct/retargeting.py:286
Functiondirect_add_bid_modifier
Add a bid modifier. Bid modifier values: - 0 = disable (no impressions) - 50 = decrease bid by 50% - 100 = no change
yandex_mcp/tools/direct/bidmodifiers.py:117
Functiondirect_add_callouts
Create new callout extensions (уточнения). Each callout text max 25 characters. Up to 50 callouts per ad.
yandex_mcp/tools/direct/adextensions.py:101
Functiondirect_add_feed
Add a feed (YML/CSV) to Yandex Direct. Supports password-protected feeds via HTTP Basic Auth. Business types: RETAIL, HOTELS, REALTY,
yandex_mcp/tools/direct/feeds.py:66
Functiondirect_add_keywords
Add keywords to an ad group. Creates new keywords with optional bid settings.
yandex_mcp/tools/direct/keywords.py:77
Functiondirect_add_negative_keyword_shared_set
Create a new negative keyword shared set. After creating, link it to campaigns using direct_link_shared_set_to_campaign. Max 20 sets
yandex_mcp/tools/direct/negative_keywords_shared.py:91
Functiondirect_add_retargeting_list
Create a new retargeting list. Rules are grouped: OR between groups, AND within each group. Each rule references a Metrika goal ID.
yandex_mcp/tools/direct/retargeting.py:88
Functiondirect_add_sitelinks
Create a new sitelink set. Creates a set of sitelinks that can be attached to ads. Each set can contain 1-8 sitelinks. Max to
yandex_mcp/tools/direct/sitelinks.py:86
Functiondirect_add_smart_ad_target
Add a targeting filter to a smart ad group. Defines which product offers from the feed are used to generate smart banners. Without co
yandex_mcp/tools/direct/smartadtargets.py:63
Functiondirect_add_vcard
Create a new vCard. VCards display business contact info in ads. Phone format: +7-495-123-45-67
yandex_mcp/tools/direct/vcards.py:91
Functiondirect_check_all_changes
Check all changes in the account since a timestamp. Returns IDs of modified campaigns, ad groups, and ads. Useful for full account sy
yandex_mcp/tools/direct/clients.py:184
Functiondirect_check_campaign_changes
Check if campaigns have changed since a given timestamp. Useful for incremental sync - only fetch campaigns that changed. Returns cam
yandex_mcp/tools/direct/clients.py:125
Functiondirect_create_adgroup
Create a new ad group in a campaign. Creates an ad group with specified name and targeting regions.
yandex_mcp/tools/direct/adgroups.py:73
Functiondirect_create_campaign
Create a new advertising campaign. Creates TEXT_CAMPAIGN or CPM_BANNER_CAMPAIGN with specified settings. For РСЯ campaigns, use CPM_B
yandex_mcp/tools/direct/campaigns.py:243
Functiondirect_create_dynamic_ad
Create a dynamic text ad in a dynamic ad group. Title is auto-generated from feed data. Only text needs to be specified. Used
yandex_mcp/tools/direct/ads.py:194
Functiondirect_create_image_ad
Create a new image ad (banner) in an ad group. Creates an IMAGE_AD with the given image hash and landing page. Use image hashes from
yandex_mcp/tools/direct/ads.py:146
Functiondirect_create_shopping_ad
Create a shopping ad (товарное объявление) in a UnifiedCampaign group. Shopping ads use product feed data to auto-generate ads. Repla
yandex_mcp/tools/direct/ads.py:249
Functiondirect_create_text_ad
Create a new text ad in an ad group. Creates a text ad with title, text, and landing page URL. The ad will be sent for moderation aut
yandex_mcp/tools/direct/ads.py:92
Functiondirect_create_video_creative
Create a VIDEO_EXTENSION_CREATIVE from an uploaded video. The video must have status READY (check with direct_get_advideos). Returns
yandex_mcp/tools/direct/creatives.py:44
Functiondirect_delete_bid_modifiers
Delete bid modifiers.
yandex_mcp/tools/direct/bidmodifiers.py:233
Functiondirect_delete_feeds
Delete feeds permanently. WARNING: Irreversible.
yandex_mcp/tools/direct/feeds.py:245
Functiondirect_delete_images
Delete ad images by their hashes. WARNING: Irreversible. Only images not associated with any ad can be deleted. Use direct_get_images
yandex_mcp/tools/direct/images.py:146
Functiondirect_delete_negative_keyword_shared_sets
Delete negative keyword shared sets. WARNING: Deleting a shared set will unlink it from all associated campaigns.
yandex_mcp/tools/direct/negative_keywords_shared.py:177
Functiondirect_delete_retargeting_lists
Delete retargeting lists.
yandex_mcp/tools/direct/retargeting.py:196
Functiondirect_delete_sitelinks
Delete sitelink sets. WARNING: Deleted sitelink sets will be removed from all ads using them.
yandex_mcp/tools/direct/sitelinks.py:134
Functiondirect_delete_vcards
Delete vCards.
yandex_mcp/tools/direct/vcards.py:156
Functiondirect_get_adextensions
Get ad extensions (callouts/уточнения) from Yandex Direct.
yandex_mcp/tools/direct/adextensions.py:52
Functiondirect_get_adgroups
Get list of ad groups from Yandex Direct. Retrieves ad groups with their settings and targeting information.
yandex_mcp/tools/direct/adgroups.py:30
Functiondirect_get_ads
Get list of ads from Yandex Direct. Retrieves ads with their content and moderation status.
yandex_mcp/tools/direct/ads.py:35
Functiondirect_get_advideos
Get uploaded ad videos and their processing status. Statuses: NEW, CONVERTING, READY, ERROR. Video must be READY before creating a cr
yandex_mcp/tools/direct/advideos.py:109
Functiondirect_get_audience_targets
Get audience targets from Yandex Direct. Audience targets link retargeting lists to ad groups.
yandex_mcp/tools/direct/retargeting.py:227
Functiondirect_get_bid_modifiers
Get bid modifiers from Yandex Direct. Bid modifiers adjust bids based on: - Device type (mobile/desktop) - Demographics (age,
yandex_mcp/tools/direct/bidmodifiers.py:31
Functiondirect_get_campaigns
Get list of advertising campaigns from Yandex Direct. Retrieves campaigns with their settings, statistics, and current status. Suppor
yandex_mcp/tools/direct/campaigns.py:33
next →1–100 of 285, ranked by callers