Looker MCP server setup: official servers, OAuth and shared deployment

How an organization connects Gemini CLI, Claude Code or Cursor to Looker through the managed server or a self-run MCP Toolbox, and which authentication path fits a shared deployment.

On this page

Does the Looker MCP server meet our single sign-on and access requirement?

Looker offers two supported paths for AI agents, and the access model depends on which one you choose. The first is the Looker-managed MCP server, which is built into the Looker platform and reached at the instance URL followed by /mcp. The second is the open-source MCP Toolbox for Databases, which your organization runs itself on a workstation or its own server as a bridge between the agent and Looker. A managed server signs the agent in through the Looker instance itself, so the identity controls that apply to Looker users are the ones to review first. A self-run Toolbox uses either API credentials (a client ID and client secret) or an OAuth application registered through the Looker API, and only the OAuth shared-service option starts an authorization flow for each client when it connects.

The sources supplied for this page do not name a specific Looker edition or contract tier that includes single sign-on for MCP access, so do not assume your identity provider works with either path. Ask your Looker account team, in writing, whether your contract supports SSO for the managed server and for OAuth-based Toolbox deployments, and which identity provider configurations are covered. Confirm also whether a shared Toolbox service can map each person's OAuth sign-in to that person's own Looker permissions, because the Toolbox config reads a Looker account with access to the models, explores and data to be used. If a shared API client is used instead, every agent session acts as that one account, and per-user access review becomes difficult.

Before approving either path, run a test with two or three named users whose Looker roles differ, and check that each sign-in returns only the models and explores that user is entitled to see. Record which credentials sit in the Toolbox configuration (LOOKER_CLIENT_ID, LOOKER_CLIENT_SECRET) and who can read them. Also confirm that your clients reconnect after tools change, since Google's documentation says clients must reconnect to register newly enabled MCP tools. Review the Looker-managed MCP server documentation and the Toolbox setup guide with your identity team before you write the access requirement into your approval record.

Authentication and deployment options by path

This table compares the four ways to connect an AI client to Looker: the managed server, and the self-run MCP Toolbox with API credentials, with shared OAuth, or on a local computer. Read each row to see where the component runs, how the client signs in, whether each user completes their own OAuth flow, and what your team must build or confirm before rollout. Identity provider SSO and audit log export are marked for confirmation because the supplied sources do not describe them.

PathWhere it runsHow the client authenticatesPer-user OAuth flowWhat to build or confirm
Looker-managed MCP serverEmbedded in the Looker platform at the instance URL followed by /mcpClient connects to the managed endpoint; confirm the sign-in method for your instance with GoogleConfirm with GoogleConfirm the tool list, SSO with your identity provider and audit log export; clients must reconnect to register newly enabled tools
MCP Toolbox with API credentialsYour own machine or server, running the open-source Toolbox with the looker prebuilt configClient ID and client secret set as LOOKER_CLIENT_ID and LOOKER_CLIENT_SECRET, with LOOKER_BASE_URL and LOOKER_VERIFY_SSLNo, the Toolbox uses one shared Looker identityCreate a dedicated Looker account with access only to the models, explores and data the agent needs; plan secret storage
MCP Toolbox with OAuth shared serviceA reverse-proxied service you host, started with --prebuilt=looker,looker-dev and --mcp-prm-file=prm.jsonClient starts an OAuth flow against the Looker instance when it connects; LOOKER_USE_CLIENT_OAUTH=trueYes, each user authenticates with LookerBuild the protected resource metadata file (Looker URL as authorization server, cors_api scope), the reverse proxy at /mcp and per-user Looker permissions
MCP Toolbox on a local computerThe developer's own computer, as a bridge between the AI client and LookerAPI credentials or an OAuth app registered through the Looker API, configured per developerDepends on configuration chosen per developerConfirm who holds credentials, how secrets are kept off shared machines and whether endpoints can be centrally governed

How the managed server and the Toolbox enforce access

The managed server takes its access limits from Looker itself. The Looker-managed MCP server is embedded in the Looker platform, so the user who connects a client is bound by the same model, explore and data permissions that govern that user in the Looker interface. Before rollout, confirm with your Looker administrator which roles and permission sets the pilot users hold, and which models and explores those users can reach. Because the tools depend on what the open-source MCP Toolbox offers, also ask Google which tool set the managed server exposes in your Looker version, and remember that clients must reconnect to register newly enabled tools. Review the tool list after each Looker upgrade rather than assuming it is unchanged.

The self-run Toolbox enforces access through the Looker account it holds. The looker prebuilt config reads LOOKER_BASE_URL, LOOKER_CLIENT_ID, LOOKER_CLIENT_SECRET and LOOKER_VERIFY_SSL, and it needs a Looker account with permissions to the models, explores and data it will use. If LOOKER_USE_CLIENT_OAUTH is left unset, every agent request runs as that single service account, so its permissions become the ceiling for all users. Create a dedicated, least-privileged Looker account for the Toolbox, keep LOOKER_VERIFY_SSL set to verify certificates, and store the client secret in a secrets manager rather than in configuration files that developers can read.

Shared OAuth deployment moves enforcement to the proxy and the metadata file. With LOOKER_USE_CLIENT_OAUTH=true, the Toolbox runs with --prebuilt=looker,looker-dev and --mcp-prm-file=prm.json, and when a client connects it starts an OAuth flow against the Looker instance, so each request carries the individual user's Looker permissions. The protected resource metadata file names the Looker URL as the authorization server and cors_api as the scope, and the resource is served through a reverse proxy at /mcp. That proxy and the metadata file therefore sit inside the security boundary: a misrouted path, a permissive CORS setting or an unexpected authorization server can expose the Toolbox to clients it was not meant to serve. Ask the team operating the proxy to show the route configuration and the metadata file, and test that unauthenticated requests to /mcp are rejected.

Decisions to make before choosing an authentication path

Connecting Looker to an AI client forces a handful of decisions: who runs the server, whose identity the agent uses, and where the process lives. Each card below covers one of those choices and what a reviewer should confirm before approving it.

Managed server or self-run Toolbox

The Looker-managed MCP server is embedded in the Looker platform, so Google operates the endpoint at your instance URL followed by /mcp. The open-source MCP Toolbox for Databases is a process your team runs on a laptop or server, so your team is responsible for installing, updating and patching it. Confirm which option your Looker deployment supports, and who owns upgrades for the Toolbox version in use.

Looker MCP docs

API credentials or OAuth

With API credentials, the Toolbox authenticates using a client ID and client secret, so Looker records actions against one identity shared by every caller. With OAuth, the client starts an authorization flow and the agent acts as the signed-in user. Ask which identity your audit logs will show for each query, and whether that matches the accountability your reviewers need.

Shared service or per-developer run

A shared Toolbox runs as one process behind a reverse proxy, typically with LOOKER_USE_CLIENT_OAUTH=true and a protected resource metadata file. A local run keeps the process, its configuration and its logs on each developer machine. Decide where the logs live, who can read them, and how credentials are stored before either model reaches production.

Looker account scope

Whichever identity the Toolbox uses must hold permissions to the models, explores and data the agent needs, and nothing more. Shared credentials often end up with broad access because it is easier to grant once. Ask your Looker admin to create a dedicated account or group limited to the required content, and review that scope whenever new models are added.

TLS verification setting

The LOOKER_VERIFY_SSL setting controls whether the Toolbox checks the certificate of your Looker instance. Leaving verification on protects credentials and query results in transit between the Toolbox and Looker. For customer-hosted instances with internal certificate authorities, confirm the trust chain is installed on the host instead of disabling verification.

Tool set and reconnect behavior

Prebuilt configs such as looker and looker-dev determine which tools the Toolbox exposes, so the prebuilt choice is a permission decision. Google states that managed-server tools depend on the Toolbox tools that have been tested and validated, and clients must reconnect to register newly enabled tools. Confirm which tool set is approved, and require a review and reconnect step each time it changes.

Looker prebuilt config

How the answer changes by hosting model and team size

When the Looker instance is run by Google, the Looker-managed MCP server is the default path. Google's documentation describes it as a built-in integration that embeds an MCP server directly into the Looker platform, so there is no separate service for your team to install or host. The server is reached at the Looker instance URL followed by /mcp, and Google's documentation points you to your client's own documentation to finish setup.

  • Endpoint: The managed URL is the Looker instance address with /mcp appended, so confirm the exact instance address your admins use before sharing it with staff.
  • Client example: Google's documentation shows adding the server to Gemini CLI as an HTTP transport, which you should verify against your own client version.
  • Tool set: The managed server's tools depend on the open-source MCP Toolbox, and new Toolbox tools appear only after Google tests and validates them. Ask which tools are enabled on your instance.
  • Reconnection: Clients must reconnect to register newly enabled tools, so a change in Looker can look like a silent gap until staff reconnect.

Before approval, confirm which tools are exposed, which Looker roles the connecting user holds, and how your Looker admins will review changes to tool availability.",

Order of work to put the connection into production

This sequence moves the Looker connection from a chosen deployment path to a tested, documented setup that a reviewer can approve. Each step ends with a check the reviewer can see in Looker, in the proxy logs or in the client's tool list.

  1. Confirm the Looker deployment type and path

    Start by establishing whether the organization runs a Looker-managed instance that exposes the built-in MCP endpoint, or a customer-hosted instance where the open-source MCP Toolbox is the documented route. Google's documentation points managed-server users to the instance URL followed by /mcp, and points customer-hosted or self-managed teams to the Toolbox. Record the chosen path, the instance URL and the owner of the decision. The step is done when the security reviewer can see which server will be used and why, in a written note that names the instance.

  2. Define the Looker user or service account

    Create a dedicated Looker user or service account for the agent rather than reusing a personal administrator login. Grant it access only to the models, explores and data the approved use cases need, because the Toolbox documentation states that the account needs permissions to the models, explores and data to be used. In Looker, the reviewer should be able to open the account's roles and model access and confirm that nothing broader is assigned. Keep a record of the role names and the list of models so later changes can be compared against it.

  3. Choose API credentials or OAuth and register the app

    Decide between API credentials (client ID and client secret) and an OAuth application registered through the Looker API Register OAuth App endpoint. Credentials are simpler for a single-user local setup, while OAuth is the path for the shared-service option where each client starts an authorization flow with the Looker instance. Store secrets in the organization's secret manager, not in shared configuration files. The step closes when the reviewer can see the registered OAuth application or the credential record, its owner and the scope of its access in Looker.

  4. Set protected resource metadata and reverse proxy

    For a shared Toolbox service, configure the protected resource metadata file so it lists the Looker URL as the authorization server and cors_api as the supported scope, then start Toolbox with LOOKER_USE_CLIENT_OAUTH=true, the looker and looker-dev prebuilt set and the metadata file. Serve the resource through a reverse proxy at /mcp. Confirm the proxy forwards only the intended paths and that access logging is enabled at the proxy. The step is complete when the reviewer can read the metadata file, the proxy configuration and a sample request line in the proxy logs that shows the /mcp path being served.

  5. Verify TLS settings before any client connects

    Confirm that the connection to Looker and the connection from clients to the proxy both use TLS with certificates the organization trusts. Check the LOOKER_VERIFY_SSL setting in the Toolbox configuration and make sure it is not disabled for production use. Confirm that the proxy terminates TLS with a certificate issued for the service hostname. The reviewer can verify this by inspecting the configuration file, the certificate details and a successful handshake recorded in the proxy logs, with no certificate warnings on the client side.

  6. Test each client and compare the tool list

    Connect each approved client, such as Gemini CLI, Claude Code or Cursor, and compare the tools it shows against the approved tool list written during planning. For the managed server, Gemini CLI can add it with the command gemini mcp add --transport http looker followed by the instance URL and /mcp. Any tool that appears but is not on the list is a finding to resolve before rollout. Record the client name, version, date and the tool names observed. The step is done when each client's tool list matches the approved list, and the proxy logs show the expected connection and authorization events for each client.

  7. Record the reconnect step for tool changes

    Document that users must reconnect to the MCP server after any newly enabled tool is added, because Google's Looker documentation says clients must reconnect to register newly enabled MCP tools. Write this as a numbered instruction in the internal runbook and include it in user onboarding. Also state who approves tool changes and how the approved list is updated. The reviewer can confirm this step by reading the runbook entry and by checking that a test change in a tool setting produced a visible difference in the client only after reconnection.

Evidence a security reviewer asks for and where it comes from

This table lists the artifacts a security reviewer typically requests for a Looker MCP connection and where each one lives, whether in Looker, in the Toolbox configuration or in the customer's own reverse proxy and identity records. Use it to build the evidence request before approval, and note which items come from Google's documentation and which must be pulled from your own environment. The main takeaway is that the managed server and the shared Toolbox deployment produce different evidence, so ask for the right set for the path you choose.

Evidence itemWhat the reviewer checksWhere it comes from
Looker permission model for the connecting identityThe account's roles, model and explore access, and data permissions match the agent's intended scopeLooker admin user and role settings, reviewed against the Looker-managed MCP server documentation
Toolbox prebuilt configs in useOnly the looker and looker-dev prebuilt configs are loaded, and no other tool sets are enabledStartup command and --prebuilt flag in the customer's Toolbox deployment; Looker prebuilt config page
Toolbox environment variablesLOOKER_BASE_URL, LOOKER_CLIENT_ID, LOOKER_CLIENT_SECRET, LOOKER_VERIFY_SSL and LOOKER_USE_CLIENT_OAUTH are set as intended, with secrets stored outside plain config filesDeployment environment or secret manager entries for the Toolbox process
OAuth application registration recordWhich OAuth app was registered, its owner, redirect settings and when it was created or last changedLooker API Register OAuth App record and the customer's change log for that registration
Protected resource metadata fileThe authorization server is the Looker URL and the supported scope is cors_api, as documentedThe prm.json file passed through --mcp-prm-file in the customer's environment
Reverse proxy configurationThe MCP resource is served at /mcp only, with TLS termination, access logging and no unintended routes exposedReverse proxy config in the customer's infrastructure, reviewed alongside the Toolbox startup settings
TLS verification settingsLOOKER_VERIFY_SSL is enabled for connections to the Looker instance and certificates are trusted by the Toolbox hostLOOKER_VERIFY_SSL value in the Toolbox environment and the Looker instance certificate chain
Toolbox source license and versionThe Toolbox build is the published Apache 2.0 open-source release at the version the team has tested and approvedThe googleapis/mcp-toolbox repository (LICENSE file and release tag) and the binary or container image actually deployed
Tools exposed by the managed serverThe enabled tool list matches what the reviewer approved, and new tools trigger a re-review before clients reconnectLooker-managed MCP server documentation, plus the tool list the client shows after connecting

Questions buyers ask before approving the Looker MCP setup

Is SSO with our identity provider included in our Looker contract?

Confirm this in writing with Google before you assume it. SSO entitlement depends on your Looker edition and contract, and Google's setup guidance for the managed server does not settle it. Ask your Google account team whether your instance supports sign-in through your identity provider and whether the MCP connection uses that same login. For the self-run Toolbox, the sign-in path is Looker's own: API credentials or an OAuth application registered against your instance. Your identity provider matters there only if Looker itself uses it for login, so test that with your Looker admin before approval.

What does it cost to run the MCP Toolbox ourselves?

The Toolbox is open source under the Apache 2.0 license, so the software itself carries no license fee. Your organization pays for everything around it: compute to run the process, a reverse proxy and TLS certificates for shared users, logging and monitoring, patching and upgrades, and the staff or partner time to operate it. Hosting and operations recur, while initial configuration and security review are largely one-time. Costs rise with the number of users, the environments you run and the support the service needs. When you request a quote, ask for the written scope, the deliverables, who maintains the service after handover and what retesting is included. Source: MCP Toolbox for Databases repository

How long does Looker MCP setup take for our team?

Duration depends on the scope you agree, and no reliable figure applies across organizations. The main inputs are how many people connect, which Looker models and explores you expose, whether you need a shared OAuth service behind a proxy or only a single-user run, and how many approval rounds your security team requires. DeployOpen's engagements are fixed-scope: scope, deliverables and timeline are agreed in writing before work starts, and a quote follows from that written scope. Ask any provider to state the phases, the dependencies on your Looker admin and network teams, and the acceptance testing included before you approve a schedule.

Can our team set up the Looker MCP Toolbox without outside help?

Yes, for a single-user run. A team member with a Looker account that can access the models and data needed can start the Toolbox with the looker prebuilt config, set LOOKER_BASE_URL, LOOKER_CLIENT_ID, LOOKER_CLIENT_SECRET and LOOKER_VERIFY_SSL, and point a client at it. A shared OAuth service takes more work. Your team must set LOOKER_USE_CLIENT_OAUTH=true, write the protected resource metadata file, serve the resource through a reverse proxy at /mcp, register an OAuth application through the Looker API and manage TLS. Whether that work fits in-house depends on your platform skills and on how much you want an outside team to own the design and handover. See the Looker prebuilt config for the variables.

What drives Looker MCP setup effort up for a shared deployment?

Effort rises mainly with three factors:

  • The number of users: more clients means more sessions, more OAuth consent flows and more support requests.
  • Proxy and TLS requirements: a shared service behind a reverse proxy needs certificates, routing for /mcp and a decision on whether LOOKER_VERIFY_SSL stays on for your internal certificate authority.
  • The number of Looker models exposed: each model, explore and dataset needs its own permission review, and the agent can only reach what the connected Looker account can already see.

Plan review time for each factor, and ask that it be itemized in any quote.

Should we use Looker's managed MCP server or the self-run Toolbox?

Use the managed server when your Looker instance is one Google operates for you and your team accepts the tools Google provides. Its URL is your Looker instance URL followed by /mcp, and Gemini CLI can add it with an HTTP transport. Use the open-source MCP Toolbox when your Looker instance is customer-hosted or your team wants to run its own infrastructure. The managed server's tools depend on what is available in the Toolbox, and new Toolbox tools appear in the managed server only after Google tests and validates them. Clients must reconnect to register newly enabled tools, so include a reconnect step in any rollout. Review the Looker-managed MCP server documentation before choosing.

How DeployOpen tests and hardens a Looker MCP rollout

DeployOpen works on Looker MCP server setup by agreeing the scope in writing first, then building and testing the connection inside the client's own infrastructure. The work covers the choice between the Looker-managed server and a self-run MCP Toolbox, the authentication model, and how the shared service is configured and documented for security and compliance reviewers.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
  • We confirm which Looker deployment you run, since customer-hosted instances follow a different path than the managed server.
  • We map which models, explores and data each agent client is expected to reach, and which of those need read-only access.
  • We record who approves the setup, which clients are in use and which identity provider Looker users sign in with.

How we build

  • We configure the chosen path, either the managed server URL or a self-run MCP Toolbox with its Looker settings, inside your environment.
  • We compare API credentials with OAuth for each use case and document the reasons for the choice.
  • We test the shared deployment, including the protected resource metadata, reverse proxy routing and the OAuth authorization flow.
  • We check that Looker permissions limit what each connected user can see, and that reconnection steps are documented for newly enabled tools.

How we hand over

  • You receive a written findings report with the fixes applied, the open risks and the configuration used.
  • Documentation covers client setup steps, required Looker account permissions and the tools each user group can call.
  • We retest after fixes so your security or compliance reviewer sees the final state, not only the plan.
  • We prepare the evidence your reviewers ask for, without issuing audit reports or certifications, which independent auditors provide.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, for example when Toolbox or the managed tool set changes.
  • Before enabling newly added tools, we can test them in your environment so reconnection and permissions are reviewed first.
  • Confirm with your Looker administrator and your security team which support terms and response expectations apply before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.