Add Orion as a custom MCP server data store in Gemini Enterprise
Gemini Enterprise connects to Orion through a custom MCP server data store. Once connected, your Gemini Enterprise agents can ask Orion data questions, check metrics, run workflows, and search your Context pages alongside your other connected data stores.
An official Orion connector for Gemini Enterprise is in the works with
Google. Until it ships, the custom MCP server setup below is the supported
way to connect.
A Gemini Enterprise app in your Google Cloud project
The Discovery Engine Editor role (roles/discoveryengine.editor) on that project
An organization policy that permits custom MCP data stores. Google Cloud blocks them by default, so an Organization Policy Administrator must turn the constraint off. If your organization also restricts data sources or egress domains, that administrator adds custom_mcp to allowedDataSources and g.runorion.com to allowedEgressFqdns
Gemini Enterprise authenticates to MCP servers with OAuth 2.0 and asks for a client ID and client secret. Reach out to your Gravity Solution Consultant, who will provide credentials registered for Gemini Enterprise. Store them somewhere safe; you will enter both in the next step.
In the Google Cloud console, go to Gemini Enterprise, select your app, and open Connected data stores.
Create a data store in Gemini Enterprise
2
Add the MCP server
Click New data store
Search for and select Custom MCP Server
Click Add MCP server
3
Configure the connection
Choose OAuth 2.0 as the authentication method and fill in the form:
Field
Value
MCP Server URL
https://g.runorion.com/mcp
Authorization URL
https://g.runorion.com/mcp/authorize
Authorization URL Parameters
Leave blank
Token URL
https://g.runorion.com/mcp/token
Client ID
Provided by your Gravity Solution Consultant
Client Secret
Provided by your Gravity Solution Consultant
Scopes
orion:full
Configure Orion as an MCP server
Two checkboxes decide whether the connection works:
Check Enable PKCE Support. Orion’s authorization endpoint rejects requests without a PKCE code challenge.
Uncheck Use HTTP Basic Authentication. Orion’s token endpoint only accepts client credentials in the request body, so Basic authentication fails with a 401 invalid_client error.
Click Verify Auth and sign in with your Orion credentials in the window that opens. If your email domain maps to more than one Orion organization, pick the organization Gemini Enterprise should access. Then click Continue.
4
Name and create
The location defaults to global (Global). Enter a Data connector name (for example, Orion); the ID Google generates from it cannot be changed later. Leave the optional tag and sensitive data protection policy fields blank unless your organization uses them, then click Create.Gemini Enterprise takes you to the new connector’s page, where Connector state shows Active. The next section turns Orion’s tools on.
Orion’s tools appear on the connector’s Actions screen, where you choose which ones your agents can use.
Open the connector from Connected data stores, then open Actions in the left-hand menu
If the list is empty, click Reload custom actions
Select the tools your agents should use. Start with Ask Orion, List Projects and Get Conversation History, or use the header checkbox to select all of them
Click Enable actions in the selection bar, and check that the Status column reads Enabled
Orion marks its read-only tools with the MCP readOnlyHint annotation, which Gemini Enterprise uses to run those calls without a user confirmation step. ask_orion carries no such annotation, because it starts an analysis rather than reading a stored value. The Tools Reference lists every tool by its identifier, so Get Conversation History appears there as get_conversation_history.
In your Gemini Enterprise app, ask the agent to list your Orion projects:
“List my Orion projects”
If the connection is working, the agent returns the projects your Orion account can access. Each user needs an existing Orion account and signs in with their own credentials the first time they use an Orion tool, so results always respect that user’s Orion permissions. The authorization lasts four weeks and refreshes automatically.
Gemini Enterprise only supports the StreamableHTTP transport, which is what
Orion’s MCP server uses. If the connection fails, see
Troubleshooting.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orion Public Docs","description":"Documentation for Orion, the collaborative analytics platform built by Gravity (bygravity.com). Learn how to connect data sources, run analyses in natural language, build shared Context, and turn insights into dashboards, reports, and scheduled workflows.","colors":{"primary":"#0d9488","light":"#14b8a6","dark":"#134e4a"},"logo":{"light":"https://mintcdn.com/gravity-8db392ea/M5QrrLg7uEV27J6q/logo/orion-logo-charcoal.svg?fit=max\u0026auto=format\u0026n=M5QrrLg7uEV27J6q\u0026q=85\u0026s=4e64d863f48c2a81bdbbea46b631b952","dark":"https://mintcdn.com/gravity-8db392ea/M5QrrLg7uEV27J6q/logo/orion-logo-dark.svg?fit=max\u0026auto=format\u0026n=M5QrrLg7uEV27J6q\u0026q=85\u0026s=fb58ab7b667aad66b5b5b0a9839da9dc"},"favicon":"https://mintcdn.com/gravity-8db392ea/4asdrY4OKG8YwKh8/favicon.svg?fit=max\u0026auto=format\u0026n=4asdrY4OKG8YwKh8\u0026q=85\u0026s=54889911a86c33fc393a262d1e8c9075","navbar":{"links":[{"href":"mailto:help@bygravity.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://bygravity.com"}},"footer":{"socials":{"x":"https://x.com/OrionByGravity","linkedin":"https://linkedin.com/company/gravity-foundation"}},"seo":{"organization":{"name":"Gravity","url":"https://bygravity.com","logo":"https://bygravity.com/gravity-logo.svg"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"markdown":{"instructions":"Orion is a collaborative analytics platform built by Gravity (bygravity.com). It connects to data warehouses, to Looker and dbt for existing business logic, and to a small set of external-context sources, and it lets teams ask questions in natural language to get shared analyses, dashboards, reports, and slide decks. The Connecting Data Sources page is the authoritative list of supported sources. When referencing Orion features, always link to the relevant documentation page. Orion is not open-source; it is a commercial SaaS product accessed at runorion.com."},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://bygravity.com"},{"anchor":"Blog","icon":"newspaper","href":"https://bygravity.com/resources"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gravity-8db392ea","hasAudioNarration":false,"actualSubdomain":"gravity-8db392ea","customDomains":["docs.runorion.com"],"gitSource":{"type":"github","owner":"gravity-foundation","repo":"orion-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad6c141dd48e295f8d637eb","collectionId":"fc0594f0-25d0-42fa-b200-59b5bad36e30","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad6c141dd48e295f8d637eb"},"entitlements":{},"buildId":"6ad6c141dd48e295f8d637eb","clientVersion":"0.0.3926","searchFilterCounts":[{"language":"default","tag":"Docs","count":54},{"language":"default","tag":"Chat","count":7},{"language":"default","tag":"Configuration","count":6},{"language":"default","tag":"Core Concepts","count":6},{"language":"default","tag":"Dashboards","count":5},{"language":"default","tag":"Context","count":5},{"language":"default","tag":"MCP Server","count":5},{"language":"default","tag":"Profile \u0026 Settings","count":5},{"language":"default","tag":"Workflows","count":5},{"language":"default","tag":"Metrics","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"page-status.css","content":"body:has([data-page-status=beta]) #page-title::before{content:\"Beta\";display:inline-block;vertical-align:middle;margin-right:.75rem;padding:.125rem .5rem;border:1px solid rgba(13,148,136,.25);border-radius:.375rem;background:rgba(13,148,136,.08);color:#0f766e;font-size:.75rem;font-weight:600;line-height:1.25rem;letter-spacing:0;transform:translateY(-.15rem)}html.dark body:has([data-page-status=beta]) #page-title::before{border-color:rgba(45,212,191,.25);background:rgba(45,212,191,.08);color:#5eead4}"}],"page":{"pagePath":"mcp/gemini-enterprise","slug":"/mcp/gemini-enterprise","pageMetadata":{"title":"Gemini Enterprise","description":"Add Orion as a custom MCP server data store in Gemini Enterprise","icon":"google","href":"/mcp/gemini-enterprise"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add Orion as a custom MCP server data store in Gemini Enterprise\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Gemini Enterprise connects to Orion through a `,_jsx(_components.a,{href:`https://docs.cloud.google.com/gemini/enterprise/docs/connectors/custom-mcp-server/set-up-custom-mcp-server`,children:`custom MCP server data store`}),`. Once connected, your Gemini Enterprise agents can ask Orion data questions, check metrics, run workflows, and search your Context pages alongside your other connected data stores.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`An official Orion connector for Gemini Enterprise is in the works with\nGoogle. Until it ships, the custom MCP server setup below is the supported\nway to connect.`})}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`An Orion account with login credentials`}),`\n`,_jsx(_components.li,{children:`A Gemini Enterprise app in your Google Cloud project`}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`Discovery Engine Editor`}),` role (`,_jsx(_components.code,{children:`roles/discoveryengine.editor`}),`) on that project`]}),`\n`,_jsxs(_components.li,{children:[`An organization policy that permits custom MCP data stores. Google Cloud blocks them by default, so an Organization Policy Administrator must `,_jsx(_components.a,{href:`https://docs.cloud.google.com/gemini/enterprise/docs/connectors/custom-mcp-server/override-constraint-for-custom-mcp-data-stores`,children:`turn the constraint off`}),`. If your organization also restricts `,_jsx(_components.a,{href:`https://docs.cloud.google.com/gemini/enterprise/docs/connectors/configure-allowed-data-sources`,children:`data sources`}),` or `,_jsx(_components.a,{href:`https://docs.cloud.google.com/gemini/enterprise/docs/connectors/configure-allowed-egress-fqdns`,children:`egress domains`}),`, that administrator adds `,_jsx(_components.code,{children:`custom_mcp`}),` to `,_jsx(_components.code,{children:`allowedDataSources`}),` and `,_jsx(_components.code,{children:`g.runorion.com`}),` to `,_jsx(_components.code,{children:`allowedEgressFqdns`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-oauth-client-credentials`,children:`Get OAuth Client Credentials`}),`\n`,_jsx(_components.p,{children:`Gemini Enterprise authenticates to MCP servers with OAuth 2.0 and asks for a client ID and client secret. Reach out to your Gravity Solution Consultant, who will provide credentials registered for Gemini Enterprise. Store them somewhere safe; you will enter both in the next step.`}),`\n`,_jsx(Heading,{level:`2`,id:`create-the-data-store`,children:`Create the Data Store`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open your app's data stores`,children:[_jsxs(_components.p,{children:[`In the Google Cloud console, go to `,_jsx(_components.a,{href:`https://console.cloud.google.com/gemini-enterprise`,children:`Gemini Enterprise`}),`, select your app, and open `,_jsx(_components.strong,{children:`Connected data stores`}),`.`]}),_jsx(Frame,{caption:`Create a data store in Gemini Enterprise`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=ac00d5b9d1edaae73c663883e1eafb66`,alt:`The Connected data stores page in the Google Cloud console with the New data store button highlighted`,\"data-og-width\":`1445`,width:`1445`,\"data-og-height\":`904`,height:`904`,\"data-path\":`images/mcp/gemini-enterprise-new-data-store.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=280\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=3a5ed896e4c4598b74f833c634efdf3a 280w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=560\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=1db9b66c99c517befb0277d1ec37dfcc 560w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=840\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=668010994a99925c5f6c398c2e0bba2b 840w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=4978cba945195c41077a0baa63c411c0 1100w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=7c51489923043c251ce81c5db304e2e0 1650w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-new-data-store.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=108653a06494992cc28151391b411f66 2500w`})})]}),_jsx(Step,{title:`Add the MCP server`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`New data store`})]}),`\n`,_jsxs(_components.li,{children:[`Search for and select `,_jsx(_components.strong,{children:`Custom MCP Server`})]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add MCP server`})]}),`\n`]})}),_jsxs(Step,{title:`Configure the connection`,children:[_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`OAuth 2.0`}),` as the authentication method and fill in the form:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`MCP Server URL`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://g.runorion.com/mcp`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Authorization URL`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://g.runorion.com/mcp/authorize`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Authorization URL Parameters`})}),_jsx(_components.td,{children:`Leave blank`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Token URL`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://g.runorion.com/mcp/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Client ID`})}),_jsx(_components.td,{children:`Provided by your Gravity Solution Consultant`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Client Secret`})}),_jsx(_components.td,{children:`Provided by your Gravity Solution Consultant`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Scopes`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`orion:full`})})]})]})]}),_jsx(Frame,{caption:`Configure Orion as an MCP server`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=54cb737670599d2ca84264d3d18826d8`,alt:`The MCP Server Configuration form in the Create data store flow, with Enable PKCE Support checked and Use HTTP Basic Authentication unchecked`,\"data-og-width\":`1690`,width:`1690`,\"data-og-height\":`1225`,height:`1225`,\"data-path\":`images/mcp/gemini-enterprise-mcp-config.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=280\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=37a9d446519cfdf4382fd43023780053 280w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=560\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=7bf16287434fefee6e7e6723a0cb9507 560w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=840\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=f088a547d7912e249979f9e711058667 840w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=a41618b17b5944c6c6883bdb6a1f932f 1100w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=3abb58b7a1c4751cedddda86664a4e06 1650w, https://mintcdn.com/gravity-8db392ea/h9p_pWXo52EfbVIR/images/mcp/gemini-enterprise-mcp-config.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=h9p_pWXo52EfbVIR\u0026q=85\u0026s=258ab0ec5a06400a972bc517af1fbf1e 2500w`})}),_jsxs(Warning,{children:[_jsx(_components.p,{children:`Two checkboxes decide whether the connection works:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Check `,_jsx(_components.strong,{children:`Enable PKCE Support`}),`. Orion’s authorization endpoint rejects requests without a PKCE code challenge.`]}),`\n`,_jsxs(_components.li,{children:[`Uncheck `,_jsx(_components.strong,{children:`Use HTTP Basic Authentication`}),`. Orion’s token endpoint only accepts client credentials in the request body, so Basic authentication fails with a `,_jsx(_components.code,{children:`401 invalid_client`}),` error.`]}),`\n`]})]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Verify Auth`}),` and sign in with your Orion credentials in the window that opens. If your email domain maps to more than one Orion organization, pick the organization Gemini Enterprise should access. Then click `,_jsx(_components.strong,{children:`Continue`}),`.`]})]}),_jsxs(Step,{title:`Name and create`,children:[_jsxs(_components.p,{children:[`The location defaults to `,_jsx(_components.strong,{children:`global (Global)`}),`. Enter a `,_jsx(_components.strong,{children:`Data connector name`}),` (for example, `,_jsx(_components.code,{children:`Orion`}),`); the ID Google generates from it cannot be changed later. Leave the optional tag and sensitive data protection policy fields blank unless your organization uses them, then click `,_jsx(_components.strong,{children:`Create`}),`.`]}),_jsxs(_components.p,{children:[`Gemini Enterprise takes you to the new connector’s page, where `,_jsx(_components.strong,{children:`Connector state`}),` shows `,_jsx(_components.strong,{children:`Active`}),`. The next section turns Orion’s tools on.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`enable-orion-tools`,children:`Enable Orion Tools`}),`\n`,_jsxs(_components.p,{children:[`Orion’s tools appear on the connector’s `,_jsx(_components.strong,{children:`Actions`}),` screen, where you choose which ones your agents can use.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the connector from `,_jsx(_components.strong,{children:`Connected data stores`}),`, then open `,_jsx(_components.strong,{children:`Actions`}),` in the left-hand menu`]}),`\n`,_jsxs(_components.li,{children:[`If the list is empty, click `,_jsx(_components.strong,{children:`Reload custom actions`})]}),`\n`,_jsxs(_components.li,{children:[`Select the tools your agents should use. Start with `,_jsx(_components.strong,{children:`Ask Orion`}),`, `,_jsx(_components.strong,{children:`List Projects`}),` and `,_jsx(_components.strong,{children:`Get Conversation History`}),`, or use the header checkbox to select all of them`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Enable actions`}),` in the selection bar, and check that the `,_jsx(_components.strong,{children:`Status`}),` column reads `,_jsx(_components.strong,{children:`Enabled`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Orion marks its read-only tools with the MCP `,_jsx(_components.code,{children:`readOnlyHint`}),` annotation, which Gemini Enterprise uses to run those calls without a user confirmation step. `,_jsx(_components.code,{children:`ask_orion`}),` carries no such annotation, because it starts an analysis rather than reading a stored value. The `,_jsx(_components.a,{href:`/mcp/tools`,children:`Tools Reference`}),` lists every tool by its identifier, so `,_jsx(_components.strong,{children:`Get Conversation History`}),` appears there as `,_jsx(_components.code,{children:`get_conversation_history`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`verify-the-connection`,children:`Verify the Connection`}),`\n`,_jsx(_components.p,{children:`In your Gemini Enterprise app, ask the agent to list your Orion projects:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“List my Orion projects”`}),`\n`]}),`\n`,_jsx(_components.p,{children:`If the connection is working, the agent returns the projects your Orion account can access. Each user needs an existing Orion account and signs in with their own credentials the first time they use an Orion tool, so results always respect that user’s Orion permissions. The authorization lasts four weeks and refreshes automatically.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Gemini Enterprise only supports the StreamableHTTP transport, which is what\nOrion’s MCP server uses. If the connection fails, see\n`,_jsx(_components.a,{href:`/mcp/troubleshooting`,children:`Troubleshooting`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Gemini Enterprise","description":"Add Orion as a custom MCP server data store in Gemini Enterprise","icon":"google","href":"/mcp/gemini-enterprise"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Get OAuth Client Credentials","slug":"get-oauth-client-credentials","depth":2,"children":[]},{"title":"Create the Data Store","slug":"create-the-data-store","depth":2,"children":[]},{"title":"Enable Orion Tools","slug":"enable-orion-tools","depth":2,"children":[]},{"title":"Verify the Connection","slug":"verify-the-connection","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gravity-8db392ea","siteName":"Orion Public Docs","title":"Gemini Enterprise - Orion Public Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T18:35:49.834Z","originalFileLocation":"mcp/gemini-enterprise.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add Orion as a custom MCP server data store in Gemini Enterprise\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orion Public Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Gemini Enterprise - Orion Public Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add Orion as a custom MCP server data store in Gemini Enterprise\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orion Public Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runorion.com/mcp/gemini-enterprise\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gravity-8db392ea.mintlify.app/_mintlify/api/og/v2?division=MCP+Server\u0026amp;title=Gemini+Enterprise\u0026amp;description=Add+Orion+as+a+custom+MCP+server+data+store+in+Gemini+Enterprise\u0026amp;theme=1048a20ce52c9449f56006fc\u0026amp;signature=2d38ae550c2031f6ec18574a9d73c23cecf1997b86208d6f358a0be0a704a429\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Gemini Enterprise - Orion Public Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add Orion as a custom MCP server data store in Gemini Enterprise\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gravity-8db392ea.mintlify.app/_mintlify/api/og/v2?division=MCP+Server\u0026amp;title=Gemini+Enterprise\u0026amp;description=Add+Orion+as+a+custom+MCP+server+data+store+in+Gemini+Enterprise\u0026amp;theme=1048a20ce52c9449f56006fc\u0026amp;signature=2d38ae550c2031f6ec18574a9d73c23cecf1997b86208d6f358a0be0a704a429\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orion Public Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0d9488\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runorion.com/mcp/gemini-enterprise\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/mcp/gemini-enterprise.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://bygravity.com/#organization\",\"name\":\"Gravity\",\"url\":\"https://bygravity.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://bygravity.com/gravity-logo.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runorion.com#website\",\"name\":\"Orion Public Docs\",\"url\":\"https://docs.runorion.com\",\"publisher\":{\"@id\":\"https://bygravity.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runorion.com/mcp/gemini-enterprise#webpage\",\"url\":\"https://docs.runorion.com/mcp/gemini-enterprise\",\"name\":\"Gemini Enterprise\",\"description\":\"Add Orion as a custom MCP server data store in Gemini Enterprise\",\"dateModified\":\"2026-10-12T18:35:49.834Z\",\"isPartOf\":{\"@id\":\"https://docs.runorion.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runorion.com/mcp/gemini-enterprise#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runorion.com/mcp/gemini-enterprise#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MCP Server\",\"item\":\"https://docs.runorion.com/mcp/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gemini Enterprise\",\"item\":\"https://docs.runorion.com/mcp/gemini-enterprise\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.runorion.com/mcp/gemini-enterprise#article\",\"headline\":\"Gemini Enterprise\",\"name\":\"Gemini Enterprise\",\"description\":\"Add Orion as a custom MCP server data store in Gemini Enterprise\",\"url\":\"https://docs.runorion.com/mcp/gemini-enterprise\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runorion.com/mcp/gemini-enterprise#webpage\"},\"dateModified\":\"2026-10-12T18:35:49.834Z\",\"publisher\":{\"@id\":\"https://bygravity.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runorion.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orion Public Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Orion Public Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://bygravity.com"},{"anchor":"Blog","icon":"newspaper","href":"https://bygravity.com/resources"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Orion","icon":"compass","href":""},{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Data Sources","pages":[{"title":"Data Sources Management","icon":"database","href":"/configuration/data-sources"},{"title":"Connecting Data Sources","icon":"plug","href":"/connecting-data-sources"}]},{"group":"Core Concepts","pages":[{"title":"Projects","icon":"folder","href":"/core-concepts/projects"},{"title":"Warp Drive","icon":"bolt","href":"/core-concepts/warp-drive"},{"title":"Context","icon":"book-open","href":"/core-concepts/knowledge-base"},{"title":"Workflows","icon":"repeat","href":"/core-concepts/workflows"},{"title":"Search","icon":"magnifying-glass","href":"/core-concepts/search"},{"title":"Portals","icon":"door-open","href":"/core-concepts/portals"}]},{"group":"Profile \u0026 Settings","pages":[{"title":"User Onboarding \u0026 Invitations","icon":"user-plus","href":"/profile-settings/user-onboarding"},{"title":"Profile Management","icon":"user","href":"/profile-settings/profile-management"},{"title":"User Preferences","icon":"sliders","href":"/profile-settings/user-preferences"},{"title":"Integrations \u0026 Connectors","icon":"plug-circle-plus","href":"/profile-settings/integrations"},{"title":"Email Digest","icon":"envelope","href":"/profile-settings/email-digest"}]},{"group":"Chat","pages":[{"title":"Basics \u0026 Navigation","icon":"map","href":"/chat/basics-navigation"},{"title":"Running Analyses","icon":"chart-mixed","href":"/chat/running-analyses"},{"title":"Share Chat Conversations","icon":"share-nodes","href":"/chat/share-conversations"},{"title":"Rooms","icon":"users","href":"/chat/rooms"},{"title":"File Uploads","icon":"file-upload","href":"/chat/file-uploads"},{"title":"Memory","icon":"brain","href":"/chat/memory"},{"title":"Best Practices","icon":"lightbulb","href":"/chat/best-practices"}]},{"group":"Metrics","pages":[{"title":"Metrics","icon":"arrow-trend-up","href":"/metrics/overview"},{"title":"Managing Metrics","icon":"sliders","href":"/metrics/manage"},{"title":"Metrics Catalog","icon":"gauge","href":"/metrics/catalog"}]},{"group":"Dashboards","pages":[{"title":"Dashboards","icon":"table-columns","href":"/dashboards/overview"},{"title":"Filter and Explore","icon":"filter","href":"/dashboards/explore"},{"title":"Investigate","icon":"magnifying-glass-chart","href":"/dashboards/investigate"},{"title":"Edit a Dashboard","icon":"pen-to-square","href":"/dashboards/edit"},{"title":"Publish and Share","icon":"share-nodes","href":"/dashboards/publish"}]},{"group":"Workflows","pages":[{"title":"Create a Workflow","icon":"plus","href":"/workflows/create"},{"title":"Outputs and Delivery","icon":"paper-plane","href":"/workflows/outputs"},{"title":"Manage Workflows","icon":"sliders","href":"/workflows/manage"},{"title":"Advanced Workflows","icon":"code-branch","href":"/workflows/advanced"},{"title":"Workflow Best Practices","icon":"lightbulb","href":"/workflows/best-practices"}]},{"group":"Context","pages":[{"title":"Context Pages","icon":"book","href":"/knowledge-base/overview"},{"title":"Creating \u0026 Managing Pages","icon":"square-plus","href":"/knowledge-base/creating-pages"},{"title":"External Wiki Integrations","icon":"puzzle-piece","href":"/knowledge-base/wiki-integrations"},{"title":"Best Practices","icon":"list-check","href":"/knowledge-base/best-practices"},{"title":"Metrics Catalog","icon":"signs-post","href":"/knowledge-base/metrics-catalog"}]},{"group":"Configuration","pages":[{"title":"Global Configuration","icon":"gear","href":"/configuration/global-configuration"},{"title":"Company Information","icon":"building","href":"/configuration/company-information"},{"title":"User Management","icon":"users","href":"/configuration/user-management"},{"title":"Groups","icon":"user-group","href":"/configuration/groups"},{"title":"Sudo","icon":"user-secret","href":"/configuration/sudo"},{"title":"SSO","icon":"key","href":"/configuration/sso"}]},{"group":"Version Control","pages":[{"title":"Export Orion Snapshots to Git","sidebarTitle":"Git snapshots","tag":"Beta","icon":"code-merge","href":"/version-control/sync-to-git"},{"title":"Export a Project","icon":"file-export","href":"/version-control/export"},{"title":"Import a Project","icon":"file-import","href":"/version-control/import"}]},{"group":"MCP Server","pages":[{"title":"MCP Server","icon":"server","href":"/mcp/overview"},{"title":"Setup","description":"Point your AI client at Orion's remote MCP server","icon":"wrench","href":"/mcp/setup"},{"title":"Gemini Enterprise","icon":"google","href":"/mcp/gemini-enterprise"},{"title":"Tools Reference","description":"Reference for every tool the MCP server exposes","icon":"screwdriver-wrench","href":"/mcp/tools"},{"title":"Troubleshooting","icon":"bug","href":"/mcp/troubleshooting"}]}]}]},"title":"Gemini Enterprise - Orion Public Docs","buildId":"dpl_9DauxEjb9gzCtcuhPQFbquJvx7FJ","deploymentId":"dpl_9DauxEjb9gzCtcuhPQFbquJvx7FJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DpBmNN95.js","DynamicMarkdown-BY_qDhTn.js","zoom-image-lightbox-D4WcYaf4.js","PlusIcon-CwhPVjTe.js","lightbox-handle-r17bVUz3.js"]}