> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

This tool is used to connect an agent to Google Maps using a [Model Context Protocol (MCP)](https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/tool/mcp.md.txt) server.

When you first create the tool, you provide:

- **Name**: Tool name
- **Description**: Tool description
- **Server**: Prefilled with Google's MCP server for Google Maps.
- **Authentication** : See [MCP tool authentication](https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/tool/mcp.md.txt#authentication). To communicate with the Google Maps MCP server, it's recommended to create a service account, grant it the **MCP Tool User (Beta)** permission, and use **Service Account Auth** with that account. This account's access token will be used for authentication with the Google Maps MCP server.

Once you have provided that information,
you can provide advanced settings:

- **Asynchronous execution**: When enabled, the agent will continue the session while the tool runs in the background.
- **Custom headers** : Provide custom HTTP headers and optionally inject [session context variables](https://docs.cloud.google.com/gemini-enterprise-cx/cx-agent-studio/variable.md.txt#session-context).
- **Custom TLS certificate authorities**: Optionally upload a custom certificate.
- **Service Directory**: Optionally provide the name of a service directory.

When you add the MCP tool to an agent,
you can select which subtools from the server the agent is allowed to invoke.