Skip to main content
Google Gemini Enterprise calls the C1 MCP gateway as a tool source. Your users ask Gemini Enterprise a question, Gemini calls a C1 tool on their behalf, and C1 enforces your access policies against that person’s identity. Tool calls are attributed to individual users, not to a shared service account.
Activation required. AI access management must be enabled for your tenant before you can use it. To get started, contact the C1 support team for a walkthrough.

What you’ll do

Setup spans two products, and some stages depend on someone other than you, so line those up before you start. Stages 1 through 6 are for the administrator who connects the MCP server, and end with you confirming the connection works. Stage 7 then gives other people access to use it. The roles each stage needs are in Required roles. Most Google Cloud steps can be done in the console or from the command line. Where both work, the step shows each in its own tab.

Before you begin

Confirm all of these before you start. The organization policy change in particular can take time to arrange.
  • In C1, AI access management is enabled for your tenant, which is a one-time task for a Super Administrator. Managing AI clients and assigning toolsets then needs Super Administrator or AI Governance Administrator. See Enable AI access management.
  • You need C1 tool access yourself. Tool discovery lists only the tools your access profiles allow, and someone with no toolset sees no tools at all. See Tools and toolsets. Access for the people who will use the connection comes later, in Give users access.
  • A Google Cloud project with a Gemini Enterprise app already created. In the console, open Gemini Enterprise and select Create app, or see Google’s Create a Gemini Enterprise app documentation. To create one from the command line instead, see Prepare Google Cloud.
  • A Gemini Enterprise subscription with licenses available to assign. A new app starts with no users licensed.
  • Someone who holds roles/orgpolicy.policyAdmin at the organization level, lined up to change one to three organization policies. Project Owner does not include it.
  • A project where you may publish one public file. If your organization blocks public sharing, host the client metadata document from a project dedicated to it, because allowing public sharing is a project-wide change. See Host the client metadata document.
  • Optional. The gcloud CLI, authenticated with gcloud auth login, if you prefer the command line for the Google Cloud steps.

Collect the values you’ll reuse

The steps below reuse these values. Collect the first set now. The rest do not exist yet, and the table says which stage produces each one.
These examples use conductor.one. If your organization is on the EU data residency instance, substitute c1eu.ai in URLs, client IDs, and hostnames.
The commands in this guide use global, which is what most setups run. If your app is in a different location, substitute it everywhere locations/global appears.
Your OAuth endpoints follow from the tenant. Confirm them against your tenant’s published metadata:
Read two fields from that response:

Required roles

These are the roles for the administrator who sets up the connection and adds MCP servers. People who only use MCP servers that are already set up need much less. See Give users access.

Roles to prepare the project

You need these once for each Google Cloud project.

What you need to add MCP servers

You need all of these to create the C1 data store in this guide. The same requirements apply to any MCP server you add to the app later. roles/discoveryengine.editor is not enough to add MCP servers. It can read data stores and connectors but cannot create or change them, and every step that adds a server writes to one or the other. Owners hold the missing permissions, so the gap only shows for administrators who are not Owners. If your organization restricts which hostnames a data connector may reach, each new MCP server’s hostname must also be allowed, which needs roles/orgpolicy.policyAdmin. See Allow custom MCP data connectors.

Check and grant roles

To check what you already hold on the project:
To grant a role in the console, go to IAM & Admin > IAM, select Grant access, enter the email, and choose the role. To grant one from the command line:

Prepare Google Cloud

Enable two APIs, then turn off the organization policy that blocks custom MCP data connectors. If you do not have a Gemini Enterprise app yet, you can create one from the command line between the two.

Enable the Google Cloud APIs

The project needs two APIs. The Cloud Storage API is enabled on new projects by default, so hosting the client metadata document needs no extra API. Enable both in the console or from the command line.
1
Go to APIs & Services > Library.
2
Search for Discovery Engine API and select Enable.
3
Search for Organization Policy API and select Enable.
Both APIs are now enabled on the project. No other APIs are required: the Connectors, Application Integration, Secret Manager, and IAM APIs are not needed for any step in this guide.

Optional: Create the app from the command line

Skip this if you already have an app. There is no gcloud surface for creating one, so call the API directly:
An app created this way has no subscription attached. Add one under Manage users in the console before you assign licenses.

Allow custom MCP data connectors

Google Cloud blocks custom MCP data connectors by default through the constraints/discoveryengine.managed.disableCustomMcpServerConnector organization policy. Turn it off for this project before you create the data store. The override applies at the project level, but the person applying it needs roles/orgpolicy.policyAdmin, which project Owner does not include. If the policy is enforced, creating the data store fails at the final step with:
Check whether it is enforced on your project:
Turn it off in the console or from the command line.
1
In the Google Cloud console, go to IAM & Admin > Organization policies.
2
Filter for discoveryengine.managed.disableCustomMcpServerConnector and open it.
3
Select Manage policy.
4
Select Override parent’s policy, then set the enforcement to Off.
5
Select Set policy.
Re-run the describe command above. The effective policy reports enforce: false, and your project can create custom MCP data connectors.
Organization policy changes take a minute or two to take effect. Until then the console returns the same denial message, so a failure immediately after you apply the policy does not mean the policy is wrong.
Some organizations enforce constraints/discoveryengine.managed.allowedEgressFqdns, which limits the hosts a data connector may reach. It applies only to projects with VPC Service Controls enabled, or to projects your organization has added to the constraint’s enforced list, so most setups never meet it. Check it with:
If the constraint has never been set, this command returns NOT_FOUND: Requested entity was not found. That is the healthy answer and means nothing is restricting egress.If it does apply, allow the two hostnames your tenant uses. Use hostnames only, not full URLs. This is a boolean constraint that takes parameters, not a list of allowed values. Save this as egress.yaml and apply it with gcloud org-policies set-policy egress.yaml, keeping any hostnames your organization already allows:
On the EU data residency instance, allow <your-tenant>-mcp.c1eu.ai and <your-tenant>.c1eu.ai instead.

Prepare Gemini Enterprise

Set the identity provider, license yourself, and sign in to the web app once, in that order. The data store form cannot be submitted without an identity provider, and tool discovery fails later for anyone who is unlicensed or has never opened the web app.

Set the identity provider

Gemini Enterprise needs an identity provider selected for the location your app runs in. Until one is set, creating a data connector fails with You must configure your access control settings before you continue.
Set this before you create any data store. Google’s own warning on this screen is that changing the identity provider later stops access-controlled data stores working, and that you must delete and recreate every one of them to update their permissions.
Set it in the console or from the command line.
1
In the Google Cloud console, open Gemini Enterprise.
2
Select Settings, then the Authentication tab.
3
Find the row for your app’s location, such as global, and select the edit icon.
4
Choose Google Identity if your users sign in with Google Workspace or Cloud Identity accounts, or 3rd Party Identity if you federate through a workforce identity pool.
5
Select Save.
The row for your location now names the provider instead of reading Identity provider is not set up.This page reports You don’t have permissions to fetch Workforce Pools unless you hold a role that can read workforce pools at the organization level. The message is harmless if you are choosing Google Identity, which does not use them.

Assign Gemini Enterprise licenses

A new Gemini Enterprise app has a subscription but no licensed users, and the users list reads No existing users. Assign a license to yourself now, because you need one to finish setup. Licenses for the people who will use the connection come later, in Give users access.
1
Open Gemini Enterprise.
2
Select Manage users.
3
Confirm a subscription is listed and Active, and note how many licenses are unassigned.
4
Select Add users.
5
Enter your email address, choose the subscription, and select Submit.
Your address now appears in the users list with a license and an assignment date.
Licenses are distributed to a project and a location, and the app can use only licenses in its own location. A purchase can place them in a different location, such as us, from an app in global. To see where they went, list your billing account’s subscriptions and read licenseConfigDistributions:
Each key names a project number and location, and its value is how many licenses are there. If the licenses are not in your app’s location, redistribute them to it in the console.

Sign in to the web app

Open the Gemini Enterprise web app once, as yourself. Tool discovery runs as the signed-in user, and it fails for anyone who has never opened the web app, with only a generic Failed to reload custom actions to show for it. Signing in through Verify Auth when you create the data store does not count, because that authorizes the connector, not the web app. Get the web app URL in the console or from the command line.
1
In the Google Cloud console, open Gemini Enterprise.
2
Select your app, then open Overview.
3
Copy the web app URL shown there. It looks like https://vertexaisearch.cloud.google.com/home/cid/<id>, where <id> is a generated identifier.
Copy the URL rather than building it from your app’s name. A URL such as https://vertexaisearch.cloud.google.com/home/cid/c1-gemini-app loads a 400 page that reads You are not assigned an active license, even for users who hold one. The error points at licensing, but the cause is the URL.
Open the URL and select Get started on the welcome panel. One sign-in by one licensed user unblocks tool discovery for the whole connector. To confirm the sign-in registered, check that lastLoginTime is present:
A user with a license but no lastLoginTime has never opened the web app, and tool discovery will fail for them.

Host the client metadata document

Gemini Enterprise signs each user in to C1 with OAuth, so it needs a client ID. For C1, a client ID is a URL. It points at a small public JSON file that describes the client, called a Client ID Metadata Document, and C1 fetches it to identify the client. Neither Google nor C1 hosts one for Gemini Enterprise yet, so you host it. For why, see Frequently asked questions about connecting Gemini Enterprise. This stage is command line only. The document must be reachable without authentication, and a public Cloud Storage bucket works.
1
Create a bucket, using the bucket name you chose in Collect the values you’ll reuse:
2
Save this JSON as gemini-enterprise-oauth-client.json, replacing YOUR_BUCKET with your bucket name. Two fields are unforgiving: client_id must exactly equal the URL the file is served from, and redirect_uris must contain Google’s redirect endpoint verbatim.
3
Upload it:
4
Make it publicly readable. Two organization policies can block this binding. If it fails, see If an organization policy blocks the public binding below.
5
Confirm the document resolves. It returns the JSON you saved, and its client_id matches the URL you requested:
That URL is your client ID. The client has no secret, so nothing expires and nothing needs rotating.
The two constraints below are separate from the constraint in Allow custom MCP data connectors, and both need roles/orgpolicy.policyAdmin. To change either in the console, use the same IAM & Admin > Organization policies flow described there, searching for the constraint name below instead.Domain restricted sharing. If constraints/iam.allowedPolicyMemberDomains is enforced, granting allUsers fails with:
The constraint does not accept allUsers as an allowed value, so the override has to permit all values. Save this as drs.yaml and apply it with gcloud org-policies set-policy drs.yaml:
This override is project-wide, not bucket-scoped. Any resource in the project can then be shared publicly. Publish the document from a project dedicated to it rather than one holding other data, and remove the override as soon as you stop hosting the document.
Public access prevention. If constraints/storage.publicAccessPrevention is enforced, the binding is refused regardless of the constraint above. Save this as pap.yaml and apply it with gcloud org-policies set-policy pap.yaml:
Check the effective value of either constraint with:
Organization policy changes take a minute or two to take effect, in both directions. After you apply the override, the binding can still fail with the same 412 for a short while, and describe --effective may report the new value before enforcement catches up. Retry the binding rather than assuming the override is wrong, and confirm success by fetching the document URL.

Create the data store

Connect the C1 MCP gateway to your Gemini Enterprise app. This is the one step that only works in the console. See Frequently asked questions about connecting Gemini Enterprise for why. Before you open the form, check these. Each one, if missed, fails the form or the steps after it:
  • Prepare Gemini Enterprise is finished. If you leave the form partway through to set the identity provider, you return to a partially reset form and it is easy to submit it incomplete.
  • Your client ID URL resolves, as in Host the client metadata document, and you have your tenant’s OAuth endpoints from Collect the values you’ll reuse.
  • You use the Custom MCP Server card, not a server imported from Agent Registry. A connector created from a registry import fails tool discovery with Failed to reload custom actions and a FAILED_PRECONDITION error.
The data connector name generates an ID that cannot be changed later. Choose it before you begin, and keep it short and lowercase with hyphens, such as c1-mcp-gateway.
Create the data store in the console.
1
In the Google Cloud console, open Gemini Enterprise.
2
Select your app.
3
Select Connected data stores, then select New data store.
4
In Select a data source, search for Custom MCP.
5
On the Custom MCP Server card, select Add MCP server.
6
Under Authentication settings, choose OAuth 2.0.
7
Complete the fields. Use the domain that matches your C1 tenant: conductor.one on the default instance, or c1eu.ai on the EU data residency instance. The third column is where this form most often goes wrong.
8
Select Verify Auth. A window opens for you to sign in through your identity provider and authorize the connection.
9
Select Continue.
10
Enter your Data connector name, then select Continue.Leave Location as it is, and leave Sensitive data protection policy empty unless your organization requires one.
11
Select Create.Some versions of the console add a Select the pricing model step first. If you see it, leave General pricing selected unless your organization has chosen a subscription, then select Create.
The form shows Successfully logged in after you authorize. The connector is created immediately and reaches the Active state within a minute.

Enable the actions

Gemini Enterprise calls MCP tools actions, and imports every one of them turned off. Choose which to enable, then turn them on in the data store’s Actions tab. The app’s own Actions page only links back there. A data store supports a maximum of 100 enabled actions, and a shorter list makes the agent’s tool selection more accurate.

Reach every tool without spending your action budget

The C1 gateway publishes far more tools than the 100 a data store can enable. Rather than choosing a hundred of them, enable these twelve. They let the agent find and run any tool your access profiles allow: Add whichever named C1 actions your users ask for by name on top of those, and the rest stay reachable through search_tools. The enabled set only decides what is offered. Every call is still evaluated against the calling user’s access profiles, so this changes what the agent can find, never what a person is allowed to do.
Enable get_execution alongside execute. A program that runs longer than about 25 seconds returns a pending status and an execution ID instead of a result, and get_execution is what collects it. Without it those runs cannot be recovered and the agent reports a failure for work that actually succeeded.

Turn on the actions

Wait for the connector state to reach Active before you start, because the reload fails while the connector is still creating. Discovering the tool list happens only in the console. After that, you can set the enabled actions in the console or from the command line.
1
Open the data store, then select the Actions tab.
2
Select Reload custom actions, and wait for the Custom actions reloaded confirmation. Gemini Enterprise calls your MCP server for its tool list and holds the request open while it waits, which takes about 30 seconds. The table stays empty until it finishes, so navigating away early looks like a silent failure.
3
Select the actions to expose.
4
Select Enable actions.
The actions you selected are now enabled on the connector. No one can call them yet: each user must authorize the connector themselves, starting with you in Verify the Gemini Enterprise connection.

Verify the Gemini Enterprise connection

Confirm the connection works before you give anyone else access. Seeing actions listed does not prove it: the setup is confirmed only when a user calls a C1 tool and C1 records the call against that person. You are already licensed and signed in, so that user can be you.
1
Complete the steps in What each user does yourself, through the tool call.
2
In C1, go to AI > C1 Gateway and select the AI clients tab. Gemini Enterprise is listed with a registration type of CIMD, and People connected counts the users who have authorized it. The AI connections tab shows one row per user. Users can see their own connections under their profile menu at AI & API > AI connections.The Verified column shows the domain that serves your client metadata document, so a self-hosted document reads storage.googleapis.com. That is expected while you host the document yourself.
3
Confirm the tool call was logged. Every call through C1 MCP records the end user, the tool, the result, and a denial reason when refused. See Audit AI tool usage.
The connection is working, and every tool call is attributed to the user who made it. You can now give other people access. If the agent does not call a tool, returns nothing, or reports a denial, see Troubleshoot Gemini Enterprise connection errors. A denial that names a missing toolset or access profile is C1 working as configured, not a broken integration.

Give users access

This section covers only what a person needs to use MCP servers that are already set up. None of it lets them add or change MCP servers, and they need none of the roles in Required roles. Each user needs all of these:

Grant access to users

An administrator grants these, with roles/discoveryengine.admin and project Owner or roles/resourcemanager.projectIamAdmin.
1
Assign each user a license, in the console under Gemini Enterprise > Manage users > Add users, or with the command in Assign Gemini Enterprise licenses. The command takes several users at once:
2
Grant each user roles/discoveryengine.user on the project:
3
In C1, give each user an access profile that includes the tools they should reach. This needs Super Administrator or AI Governance Administrator. See Tools and toolsets.
4
Send each user the web app URL and the steps in What each user does.
Each user now has everything they need to sign in and authorize the connector.

What each user does

Each user does this once, for themselves. Enabling actions as an administrator authorizes nobody, and until a user authorizes, the assistant answers that it has no C1 integration, even though the actions are enabled and the connector is Active. These steps are written so you can send them to your users as they are.
1
Open the Gemini Enterprise web app URL your administrator sent you, signed in with your work Google account.
2
In the message box, select the Connectors icon. The C1 connector is listed with an Authorize link beside it.
3
Select Authorize, sign in through your identity provider, and approve. The connector then shows a toggle, switched on.
4
Ask a question that needs a C1 tool, naming the connector, such as “Using the C1 connector, list the access reviews in C1.”
5
The assistant names the action it wants to call and waits. Select Send to confirm it.
The assistant calls the C1 tool and answers with the result, limited to what your C1 access allows.

Troubleshoot Gemini Enterprise connection errors

Errors are grouped by when they appear: while setting up, while discovering tools, or while people use the connector.

Errors while setting up the connection

Errors while discovering tools

The console toast is not a reliable signal. To see whether a reload actually succeeded, read the audit log:
A 401 entry on its own is normal: the console retries and a successful reload logs an entry with no error a few seconds later. Judge by that later entry, not by the first error.

Errors while people use the connector

To correct an authentication value, edit the existing connector’s settings rather than recreating it. The connector name cannot be changed after creation, as noted in Create the data store, so changing it means creating a new data store and removing the old one.

What this integration cannot do

These constraints come from Gemini Enterprise and Google Cloud.
  • VPC Service Controls and Private Service Connect are not supported for custom MCP data stores. If your Google Cloud perimeter requires either, this integration cannot run inside it.
  • Gemini Enterprise supports egress mode only. It calls out to your MCP server; your MCP server cannot call in.
  • A data store supports a maximum of 100 enabled actions.
C1’s gateway already satisfies Google’s other requirements for a custom MCP server: it uses StreamableHTTP transport rather than server-sent events, and it presents a certificate from a publicly trusted authority.

Frequently asked questions about connecting Gemini Enterprise

Google is the party that should host it, since Gemini Enterprise is the client it describes. Today it does not, and Google’s own instructions are to register the MCP server as an OAuth client with your identity provider and take a client ID from it. Until Google publishes a document, somebody else has to host one on Google’s behalf.C1 plans to host one at https://<your-tenant>.conductor.one/auth/v1/client-metadata/gemini-enterprise, but it has not shipped, so every tenant returns a 404 from that URL. It is a stopgap rather than the end state, because a client identity carries the most weight when the client’s own vendor publishes it. Contact the C1 support team for timing.When Google publishes a client metadata document for Gemini Enterprise, use that URL as the client ID and retire whatever you were hosting.
An unapproved dynamic registration’s secret expires one hour after it is issued, and rotating it preserves the original expiry rather than extending it, so the connector fails at its first token refresh. A client metadata document has no secret, so nothing expires.
No. The public Discovery Engine API refuses it:
It accepts only a pre-obtained access token, not the OAuth client configuration, so it cannot run the per-user authorization this integration depends on. Discovering the tool list is console-only too, because the method behind Reload custom actions is not on the public endpoint. Choosing which actions are enabled can be scripted once the tools are discovered. See Enable the actions.
No. The client ID identifies Gemini Enterprise as an application, not as a user. Every person authorizes individually through your identity provider and receives their own token. C1 evaluates each tool call against that person’s access profiles, and their activity is logged under their own identity.
The client is a public OAuth client with no secret. Client ID Metadata Document clients cannot use shared secrets, so C1 never reads the field. Security comes from the authorization code flow with PKCE, which you turn on with Enable PKCE Support.
No. A working connector reports use_agent_gateway_egress: false, so its traffic never passes through Agent Gateway, and a setup built with no gateway and no registry discovers tools and serves live tool calls normally. C1 governs the tool calls.Agent Registry is a catalog of approved MCP servers. Listing the C1 gateway there is a separate exercise that changes nothing about this integration. If you do list it, still create your data connector from the Custom MCP Server card: a connector imported from the registry fails tool discovery.
In C1, open AI > C1 Gateway, select the AI clients tab, find the Gemini Enterprise client, and use its kill switch. It revokes all tokens for that client immediately, for every user. To cut off one person instead, use Revoke on their row in the AI connections tab. See Manage AI clients.
Yes. Every tool call through C1 MCP is logged with the end user, the tool, the result, and a denial reason when refused. See Audit AI tool usage.
These pages cover the C1 side of the integration.