Skip to content
  • There are no suggestions because the search field is empty.

Connecting Sellforte MCP to Google Gemini

How to connect Sellforte MCP to Gemini CLI yourself, or to Gemini Enterprise with your Google Cloud administrator.

Sellforte MCP is available to Sellforte customers. Your Customer Success Manager activates access for each user by sending an invitation.

There are two ways to use Sellforte MCP with Google Gemini. With Gemini CLI, each user connects Sellforte MCP themselves in a few minutes using only the server URL. With Gemini Enterprise, a Google Cloud administrator sets up the connection once for the whole organization.

For Claude, ChatGPT or another MCP-compatible client, see Connecting Sellforte MCP to your LLM client.


Which option fits your organization

Use Gemini CLI if your users work with Gemini from the command line. No admin setup is needed on the Google side, and users can connect today.

Use Gemini Enterprise if you want Sellforte MCP available in the Gemini Enterprise assistant and in agents built with Workflow Builder. This requires a Gemini Enterprise license and a Google Cloud administrator. Contact your Customer Success Manager before you start, because Sellforte prepares the OAuth client details your administrator needs.

Gemini in Google Workspace (the Gemini app and the Gemini side panels in Gmail, Docs, Sheets and Slides) does not currently support adding a custom MCP server for work accounts. If your organization uses Google Workspace without Gemini Enterprise, use Gemini CLI or another MCP-compatible client.


Before you start

Each user who will query Sellforte MCP needs to accept their invitation first. The invitation email comes from welcome@workos.dev. Ask users to check their junk folder if they cannot find it.

Use the Sellforte MCP URL that matches your environment: https://mcp.sellforte.com/mcp for Europe, or https://us.mcp.sellforte.com/mcp for the United States. The examples below use the Europe URL.


Option A: Gemini CLI

1. Open a terminal on the computer where you use Gemini CLI. Gemini CLI signs you in to Sellforte through your web browser, so use a computer with a browser, not a remote server or container.


2. Add Sellforte MCP by running this command:

gemini mcp add --transport http --scope user sellforte https://mcp.sellforte.com/mcp

The --scope user option makes Sellforte MCP available in all your Gemini CLI sessions, not only in the current folder.

If you prefer to edit the configuration file directly, open ~/.gemini/settings.json and add Sellforte MCP under mcpServers:

{
  "mcpServers": {
    "sellforte": {
      "httpUrl": "https://mcp.sellforte.com/mcp"
    }
  }
}

If the file already has an mcpServers section, add the sellforte entry inside it instead of creating a second section.


3. Start Gemini CLI by running gemini, then sign in to Sellforte by typing:

/mcp auth sellforte

Your browser opens the Sellforte sign-in page. Sign in with the same account that received the invitation, select the organization you want to connect to and complete the consent screens. Gemini CLI finds the sign-in settings automatically, so you do not need a client ID or secret.


4. Check the connection by typing /mcp. Sellforte should appear as connected, with its tools listed. If your sign-in expires later, run /mcp auth sellforte again.


5. Test the connection by asking a question that needs Sellforte data, for example which channels drove the most incremental revenue in the last quarter. If Gemini answers with figures from your Sellforte environment, the connection works.


Option B: Gemini Enterprise

These steps are done by a Google Cloud administrator and follow Google's documentation for the Standard, Plus, Pay-as-you-go and Frontline editions. The Business edition has its own admin flow, described in Google's Gemini Enterprise Business help center.

Gemini Enterprise connects to MCP servers with a pre-registered OAuth 2.0 client. Your Customer Success Manager provides the authorization URL, token URL, client ID, client secret and scopes for your organization. The redirect URL Gemini Enterprise uses is https://vertexaisearch.cloud.google.com/oauth-redirect. The administrator also needs the Discovery Engine Editor role in the Google Cloud project that hosts your Gemini Enterprise app.


1. Allow custom MCP servers in your organization policy. Gemini Enterprise blocks custom MCP data stores by default. In the Google Cloud console, open Organization Policies, select the project that hosts your Gemini Enterprise app, and find the policy "Disable custom MCP server connector for Gemini Enterprise". Click Manage Policy, select Override parent's policy, add a rule with enforcement set to Off, and click Set Policy. The policy status should then show Not enforced. This step needs the Organization Policy Administrator role.

If your project is inside a VPC Service Controls perimeter, or your organization restricts data connectors, also allow the custom_mcp data source and add the Sellforte MCP domain and the authorization and token domains to the allowed egress domains.


2. Add Sellforte MCP as a custom MCP server. In the Google Cloud console, open the Gemini Enterprise page, go to Apps and select your app. Click Connected Data Stores, then New data store. Search for Custom MCP Server, select it, and click Add MCP server.

Under Authentication settings, select OAuth 2.0. Enter the Sellforte MCP URL as the MCP Server URL, then the authorization URL, token URL, client ID, client secret and scopes you received from Sellforte. Click Verify Auth and sign in with an account that has accepted the Sellforte MCP invitation, then click Continue.

Under Configure your data connector, choose a location and give the connector a name such as "Sellforte MCP". Click Create, then open the data store from Connected Data Stores and wait until its state changes to Active.


3. Enable the Sellforte MCP tools. No tools are enabled by default. Open the Sellforte MCP data store, go to the Actions tab and click Reload custom actions. Select the tools you want users to have and click Enable actions.


4. Use Sellforte MCP in Gemini Enterprise. Once the tools are enabled, users in your Gemini Enterprise app can use Sellforte MCP in the assistant. The first time they use it, users may be asked to authorize the connector with their own Sellforte MCP account. In Workflow Builder, add an MCP server step to the flow, or open a Gemini agent step, go to Tools and integrations and turn on the Authorize toggle for Sellforte MCP.


5. Test the connection by asking Gemini a question that needs Sellforte data, for example how your latest Meta campaign performed against its baseline. If Gemini answers with figures from your Sellforte environment, the connection works.