googleads/google-ads-mcp
44ca77705193google-ads-mcp0.0.6 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 6 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- HIGHTools
create_asset,upload_video_assetread or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
create_asset,upload_video_assetcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
create_asset,upload_video_asset, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 7 tools, 4 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
create_asset, get_discovery_document, get_metrics, get_release_notes, get_segmentscreate_asset, get_resource_metadata, list_accessible_customers, manage_label_associations, manage_labels, search and 1 morecreate_asset, get_resource_metadata, list_accessible_customers, manage_label_associations, manage_labels, search and 1 morecreate_asset, get_resource_metadata, list_accessible_customers, manage_label_associations, manage_labels, search and 1 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files5 tools · create_asset, get_discovery_document, get_metrics +2
Tool annotations
7 of 11 tools declare annotations. readOnlyHint 3, destructiveHint 2.
Tools, prompts and resources (11: 7 tools, 4 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
create_assettool Creates a new Google Ads asset under the specified customer account.FilesCredentialsEnv varsSensitive pathsoutside textReads/writes files
Creates a new Google Ads asset under the specified customer account.
Required & Optional parameters per `asset_type`:
- **TEXT**: Requires `text_asset_text`.
- **IMAGE**: Requires either `image_asset_path` (absolute local path, local stdio mode only)
OR `image_asset_data` (base64 encoded string). If `image_asset_data` is provided,
`image_asset_mime_type` is also required (e.g. 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF').
- **YOUTUBE_VIDEO**: Requires `youtube_video_id`.
- **SITELINK**: Requires `sitelink_link_text` and root-level `final_urls`.
Accepts optional `sitelink_description1` and `sitelink_description2`.
- **CALLOUT**: Requires `callout_text`.
- **STRUCTURED_SNIPPET**: Requires `structured_snippet_header` and `structured_snippet_values`.
Root-level URL and tracking configurations (optional except where noted):
- `name`: Optional display name for the asset.
- `final_urls`: Required for SITELINK. A list of URLs.
- `final_mobile_urls`: List of mobile-specific destination URLs.
- `tracking_url_template`: Template for constructing a tracking URL.
- `final_url_suffix`: Suffix appended to the final URL.
- `url_custom_parameters`: Custom parameters represented as a list of dicts (with 'key' and 'value').
For any other asset type, provide `extra_params` as a dict representing the sub-asset message fields.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `create_asset` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `create_asset` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
asset_type: Type of the asset (e.g., 'TEXT', 'IMAGE', 'YOUTUBE_VIDEO', 'SITELINK', 'CALLOUT', 'STRUCTURED_SNIPPET').
name: Optional name of the asset.
final_urls: Optional list of final URLs (required for SITELINK).
final_mobile_urls: Optional list of final mobile URLs.
tracking_url_template: Optional tracking URL template.
final_url_suffix: Optional final URL suffix.
url_custom_parameters: Optional custom parameters for tracking (list of {'key': ..., 'value': ...} dicts).
text_asset_text: Optional text content (required for TEXT type).
image_asset_path: Optional absolute file path to a local image (supported for IMAGE type in local stdio mode).
image_asset_data: Optional base64 encoded image data (supported for IMAGE type).
image_asset_mime_type: Optional MIME type (e.g., 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF'; required if image_asset_data is used).
youtube_video_id: Optional YouTube 11-character video ID (required for YOUTUBE_VIDEO type).
sitelink_link_text: Optional link text (required for SITELINK type).
sitelink_description1: Optional sitelink line 1 description.
sitelink_description2: Optional sitelink line 2 description.
callout_text: Optional callout text (required for CALLOUT type).
structured_snippet_header: Optional structured snippet header category (required for STRUCTURED_SNIPPET type).
structured_snippet_values: Optional structured snippet list of values (required for STRUCTURED_SNIPPET type).
extra_params: Optional dict representing nested parameters for less common asset types.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without creating the asset. If False, requires `checksum` from a prior `validate_only=True` call to commit the asset creation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.upload_video_assettool Uploads a video to YouTube natively via the Google Ads API.CredentialsEnv varsSensitive pathsReads/writes files
Uploads a video to YouTube natively via the Google Ads API.
Once a video has been uploaded, it can be used to create a video asset.
This operation executes via a FastMCP background task to gracefully handle large file uploads
(supported in local stdio mode only).
Once the upload finishes successfully, using the search tool and querying the `you_tube_video_upload`
resource matching the returned ID allows you to retrieve the YouTube Video ID and processing status.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `upload_video_asset` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without uploading the video.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `upload_video_asset` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
video_title: The title you wish your video to have on YouTube.
video_description: The description text attached to your YouTube video.
video_path: The absolute path on the local filesystem to the video file to be uploaded (local stdio mode only).
video_privacy: The privacy setting of the video on YouTube. Default is UNLISTED. Valid values are: PUBLIC, UNLISTED, PRIVATE. Note: PUBLIC is only allowed for brand channels.
youtube_channel_id: Optional. The ID of the YouTube channel the video will be uploaded to. If not provided, it will be uploaded to a Google-managed YouTube channel linked to your ads account.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without uploading the video. If False, requires `checksum` from a prior `validate_only=True` call to execute the video upload.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.get_discovery_documentresource Retrieve the Google Ads API discovery document.Filesoutside text
Retrieve the Google Ads API discovery document.
Provides the discovery document for the Google Ads API, which
describes the API surface, including resources, methods, and schemas.
Use this resource to get a high-level overview of the API surface or to find
available resources. However, for finding specific fields, you MUST use the
`get_resource_metadata` tool instead, as it provides more targeted and
up-to-date information for queries.
Returns:
str: The discovery document in JSON format.get_metricsresource Retrieve the Google Ads API metrics documentation.Filesoutside text
Retrieve the Google Ads API metrics documentation.
Provides the official documentation for metrics in the Google Ads API,
listing all available metrics that can be queried to analyze performance
data.
Use this resource to identify which metrics are available and how they are
calculated.
Returns:
str: The metrics documentation in HTML format.get_release_notesresource Retrieve the Google Ads API release notes.Filesoutside text
Retrieve the Google Ads API release notes.
Provides the official release notes for the Google Ads API, detailing new
features, changes, deprecations, and bug fixes across all API versions.
Use this resource to check for breaking changes, determine if a specific
feature is supported in a given API version, or troubleshoot issues by
consulting recent API updates.
Returns:
str: The release notes in HTML format.get_segmentsresource Retrieve the Google Ads API segments documentation.Filesoutside text
Retrieve the Google Ads API segments documentation.
Provides the official documentation for segments in the Google Ads API,
detailing the available segments that can be used in GAQL queries to
partition metrics.
Use this resource to understand which segments can be used with specific
resources and metrics.
Returns:
str: The segments documentation in HTML format.get_resource_metadatatool Retrieves the selectable, filterable, and sortable fields for a specific Google Ads resource,CredentialsEnv varsSensitive pathsread-only (declared)
Retrieves the selectable, filterable, and sortable fields for a specific Google Ads resource,
including compatible metrics and segments.
Use this tool to find out which fields you can select, filter by, or sort by
when querying a specific resource (e.g., 'campaign', 'ad_group').
This tool also returns metrics and segments that can be selected with the resource.
Their names start with 'metrics.' and 'segments.' respectively.
Do not guess fields, you MUST use this tool to discover them before constructing a query for the
`search` tool.
The responses of this tool should be cached, as they don't change frequently.
Args:
resource_name: The name of the Google Ads resource (e.g., 'campaign', 'ad_group').
login_customer_id: Optional manager customer ID to use as the login-customer-id header.list_accessible_customerstool Returns ids of customers directly accessible by the user authenticating the call.CredentialsEnv varsSensitive pathsread-only (declared)
Returns ids of customers directly accessible by the user authenticating the call.
Use this tool first to discover available customer IDs if the user hasn't
provided one. Most other tools require a valid customer ID as input.
Returns:
List[str]: A list of customer IDs.manage_label_associationstool Manages associations between labels and Campaign, Customer, Ad Group, or Ad Group Criterion.CredentialsEnv varsSensitive pathsdestructive (declared)
Manages associations between labels and Campaign, Customer, Ad Group, or Ad Group Criterion.
Supports CREATE and REMOVE operations.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `manage_label_associations` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `manage_label_associations` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
operation: The operation to perform. Must be 'CREATE' or 'REMOVE'.
association_type: The type of resource being associated.
Must be 'CAMPAIGN', 'CUSTOMER', 'AD_GROUP', or 'AD_GROUP_CRITERION'.
resource_id: The ID of the entity to associate (e.g., '456' for CAMPAIGN or AD_GROUP,
or composite '{ad_group_id}~{criterion_id}' such as '456~789' for AD_GROUP_CRITERION).
Optional for CUSTOMER (defaults to `customer_id`); required for CREATE on other types.
label_id: The ID of the Label (e.g., '789'). Required for CREATE.
association_resource_name: The full resource name of the association itself
(e.g., 'customers/123/campaignLabels/456~789'). Optional alternative for REMOVE
when `resource_id` and `label_id` are not provided.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the association. If False, requires `checksum` from a prior `validate_only=True` call to commit the mutation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.manage_labelstool Manages Label resources. Supports CREATE, UPDATE, and REMOVE operations.CredentialsEnv varsSensitive pathsdestructive (declared)
Manages Label resources. Supports CREATE, UPDATE, and REMOVE operations.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `manage_labels` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `manage_labels` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
operation: The operation to perform. Must be 'CREATE', 'UPDATE', or 'REMOVE'.
name: The name of the label. Required for CREATE, optional for UPDATE.
background_color: Background color in HTML hex format (e.g., '#FF0000'). Optional.
description: Description of the label. Optional.
label_id: The ID of the label (e.g., '456'). Required for UPDATE and REMOVE.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the label. If False, requires `checksum` from a prior `validate_only=True` call to commit the mutation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.searchtool Fetches data from the Google Ads API using the search methodCredentialsEnv varsSensitive pathsread-only (declared)
Fetches data from the Google Ads API using the search method
Args:
customer_id: The id of the customer
fields: The fields to fetch
resource: The resource to return fields from
conditions: List of conditions to filter the data, combined using AND clauses
orderings: How the data is ordered
limit: The maximum number of rows to return
login_customer_id: Optional manager customer ID to use as the login-customer-id header.Text the model reads (11)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_accessible_customers tool
Returns ids of customers directly accessible by the user authenticating the call.
Use this tool first to discover available customer IDs if the user hasn't
provided one. Most other tools require a valid customer ID as input.
Returns:
List[str]: A list of customer IDs.create_asset tool
Creates a new Google Ads asset under the specified customer account.
Required & Optional parameters per `asset_type`:
- **TEXT**: Requires `text_asset_text`.
- **IMAGE**: Requires either `image_asset_path` (absolute local path, local stdio mode only)
OR `image_asset_data` (base64 encoded string). If `image_asset_data` is provided,
`image_asset_mime_type` is also required (e.g. 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF').
- **YOUTUBE_VIDEO**: Requires `youtube_video_id`.
- **SITELINK**: Requires `sitelink_link_text` and root-level `final_urls`.
Accepts optional `sitelink_description1` and `sitelink_description2`.
- **CALLOUT**: Requires `callout_text`.
- **STRUCTURED_SNIPPET**: Requires `structured_snippet_header` and `structured_snippet_values`.
Root-level URL and tracking configurations (optional except where noted):
- `name`: Optional display name for the asset.
- `final_urls`: Required for SITELINK. A list of URLs.
- `final_mobile_urls`: List of mobile-specific destination URLs.
- `tracking_url_template`: Template for constructing a tracking URL.
- `final_url_suffix`: Suffix appended to the final URL.
- `url_custom_parameters`: Custom parameters represented as a list of dicts (with 'key' and 'value').
For any other asset type, provide `extra_params` as a dict representing the sub-asset message fields.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `create_asset` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `create_asset` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
asset_type: Type of the asset (e.g., 'TEXT', 'IMAGE', 'YOUTUBE_VIDEO', 'SITELINK', 'CALLOUT', 'STRUCTURED_SNIPPET').
name: Optional name of the asset.
final_urls: Optional list of final URLs (required for SITELINK).
final_mobile_urls: Optional list of final mobile URLs.
tracking_url_template: Optional tracking URL template.
final_url_suffix: Optional final URL suffix.
url_custom_parameters: Optional custom parameters for tracking (list of {'key': ..., 'value': ...} dicts).
text_asset_text: Optional text content (required for TEXT type).
image_asset_path: Optional absolute file path to a local image (supported for IMAGE type in local stdio mode).
image_asset_data: Optional base64 encoded image data (supported for IMAGE type).
image_asset_mime_type: Optional MIME type (e.g., 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF'; required if image_asset_data is used).
youtube_video_id: Optional YouTube 11-character video ID (required for YOUTUBE_VIDEO type).
sitelink_link_text: Optional link text (required for SITELINK type).
sitelink_description1: Optional sitelink line 1 description.
sitelink_description2: Optional sitelink line 2 description.
callout_text: Optional callout text (required for CALLOUT type).
structured_snippet_header: Optional structured snippet header category (required for STRUCTURED_SNIPPET type).
structured_snippet_values: Optional structured snippet list of values (required for STRUCTURED_SNIPPET type).
extra_params: Optional dict representing nested parameters for less common asset types.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without creating the asset. If False, requires `checksum` from a prior `validate_only=True` call to commit the asset creation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.get_resource_metadata tool
Retrieves the selectable, filterable, and sortable fields for a specific Google Ads resource,
including compatible metrics and segments.
Use this tool to find out which fields you can select, filter by, or sort by
when querying a specific resource (e.g., 'campaign', 'ad_group').
This tool also returns metrics and segments that can be selected with the resource.
Their names start with 'metrics.' and 'segments.' respectively.
Do not guess fields, you MUST use this tool to discover them before constructing a query for the
`search` tool.
The responses of this tool should be cached, as they don't change frequently.
Args:
resource_name: The name of the Google Ads resource (e.g., 'campaign', 'ad_group').
login_customer_id: Optional manager customer ID to use as the login-customer-id header.manage_labels tool
Manages Label resources. Supports CREATE, UPDATE, and REMOVE operations.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `manage_labels` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `manage_labels` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
operation: The operation to perform. Must be 'CREATE', 'UPDATE', or 'REMOVE'.
name: The name of the label. Required for CREATE, optional for UPDATE.
background_color: Background color in HTML hex format (e.g., '#FF0000'). Optional.
description: Description of the label. Optional.
label_id: The ID of the label (e.g., '456'). Required for UPDATE and REMOVE.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the label. If False, requires `checksum` from a prior `validate_only=True` call to commit the mutation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.manage_label_associations tool
Manages associations between labels and Campaign, Customer, Ad Group, or Ad Group Criterion.
Supports CREATE and REMOVE operations.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `manage_label_associations` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `manage_label_associations` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
operation: The operation to perform. Must be 'CREATE' or 'REMOVE'.
association_type: The type of resource being associated.
Must be 'CAMPAIGN', 'CUSTOMER', 'AD_GROUP', or 'AD_GROUP_CRITERION'.
resource_id: The ID of the entity to associate (e.g., '456' for CAMPAIGN or AD_GROUP,
or composite '{ad_group_id}~{criterion_id}' such as '456~789' for AD_GROUP_CRITERION).
Optional for CUSTOMER (defaults to `customer_id`); required for CREATE on other types.
label_id: The ID of the Label (e.g., '789'). Required for CREATE.
association_resource_name: The full resource name of the association itself
(e.g., 'customers/123/campaignLabels/456~789'). Optional alternative for REMOVE
when `resource_id` and `label_id` are not provided.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the association. If False, requires `checksum` from a prior `validate_only=True` call to commit the mutation.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.search tool
Fetches data from the Google Ads API using the search method
Args:
customer_id: The id of the customer
fields: The fields to fetch
resource: The resource to return fields from
conditions: List of conditions to filter the data, combined using AND clauses
orderings: How the data is ordered
limit: The maximum number of rows to return
login_customer_id: Optional manager customer ID to use as the login-customer-id header.upload_video_asset tool
Uploads a video to YouTube natively via the Google Ads API.
Once a video has been uploaded, it can be used to create a video asset.
This operation executes via a FastMCP background task to gracefully handle large file uploads
(supported in local stdio mode only).
Once the upload finishes successfully, using the search tool and querying the `you_tube_video_upload`
resource matching the returned ID allows you to retrieve the YouTube Video ID and processing status.
Propose & Confirm Workflow (`validate_only` and `checksum`):
1. Call `upload_video_asset` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without uploading the video.
2. Present the `change_items` to the user and wait for explicit user approval.
3. Only after user confirmation, call `upload_video_asset` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
Args:
customer_id: Google Ads Customer ID (digits or hyphenated, e.g. '1234567890').
video_title: The title you wish your video to have on YouTube.
video_description: The description text attached to your YouTube video.
video_path: The absolute path on the local filesystem to the video file to be uploaded (local stdio mode only).
video_privacy: The privacy setting of the video on YouTube. Default is UNLISTED. Valid values are: PUBLIC, UNLISTED, PRIVATE. Note: PUBLIC is only allowed for brand channels.
youtube_channel_id: Optional. The ID of the YouTube channel the video will be uploaded to. If not provided, it will be uploaded to a Google-managed YouTube channel linked to your ads account.
login_customer_id: Optional manager customer ID to use as the login-customer-id header.
validate_only: If True (default), validates the request and returns proposed `change_items` and a `checksum` without uploading the video. If False, requires `checksum` from a prior `validate_only=True` call to execute the video upload.
checksum: Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`.get_discovery_document resource
Retrieve the Google Ads API discovery document.
Provides the discovery document for the Google Ads API, which
describes the API surface, including resources, methods, and schemas.
Use this resource to get a high-level overview of the API surface or to find
available resources. However, for finding specific fields, you MUST use the
`get_resource_metadata` tool instead, as it provides more targeted and
up-to-date information for queries.
Returns:
str: The discovery document in JSON format.get_metrics resource
Retrieve the Google Ads API metrics documentation.
Provides the official documentation for metrics in the Google Ads API,
listing all available metrics that can be queried to analyze performance
data.
Use this resource to identify which metrics are available and how they are
calculated.
Returns:
str: The metrics documentation in HTML format.get_release_notes resource
Retrieve the Google Ads API release notes.
Provides the official release notes for the Google Ads API, detailing new
features, changes, deprecations, and bug fixes across all API versions.
Use this resource to check for breaking changes, determine if a specific
feature is supported in a given API version, or troubleshoot issues by
consulting recent API updates.
Returns:
str: The release notes in HTML format.get_segments resource
Retrieve the Google Ads API segments documentation.
Provides the official documentation for segments in the Google Ads API,
detailing the available segments that can be used in GAQL queries to
partition metrics.
Use this resource to understand which segments can be used with specific
resources and metrics.
Returns:
str: The segments documentation in HTML format.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 11 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 11 tool handlers traced
- Reads or writes any file path2 findings the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 11 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 11 tool handlers traced
- Tools that start processesNot seen in the traced code of 11 capabilities; 11 more call code the scanner could not follow, where it may happen
- Tools that touch files5 of 11 capabilities touch files; 6 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 11 capabilities; 11 more call code the scanner could not follow, where it may happen
Where the code is: 11 handlers in 10 files at commit 44ca77705193
ads_mcp/resources/discovery.pyget_discovery_documentads_mcp/resources/metrics.pyget_metricsads_mcp/resources/release_notes.pyget_release_notesads_mcp/resources/segments.pyget_segmentsads_mcp/tools/core.pylist_accessible_customersads_mcp/tools/create_asset.pycreate_assetads_mcp/tools/get_resource_metadata.pyget_resource_metadataads_mcp/tools/labels.pymanage_labels, manage_label_associationsads_mcp/tools/search.pysearchads_mcp/tools/upload_video.pyupload_video_asset
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials7 of 11 capabilities read credentials; 4 more call code the scanner could not follow, where it may happen
- Environment variables7 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| Servers in the code | 18 (Google Ads Server, assets, customers, metadata, labels, search, audit-e2e, audit-tasks, compat-test, native-test, Test Parent) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-10 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-10-03 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.