Skip to main content
An IT admin adds StackOne to the Databricks workspace, bringing Linked Accounts from many providers. Each user then connects with their own accounts: a data engineer uses Genie Code with GitHub, Jira and Slack, and an analytics lead uses Genie Code with Salesforce, Confluence and Linear.
Make StackOne available as an external MCP server in your Databricks workspace for Genie Code. Each person then signs in with their own StackOne login and reaches only the systems they’ve been given access to in StackOne. Databricks registers MCP services inside a Unity Catalog catalog and schema. If your organization uses more than one Unity Catalog metastore, repeat these steps in each workspace that needs StackOne.

Before you start

In Databricks, you need:
  • A Unity Catalog-enabled workspace in a region that supports Model Serving.
  • Partner-powered AI features enabled for both the account and the workspace so Genie Code’s agentic capabilities are active.
  • The Workspace access entitlement. Users with Consumer access can’t register an MCP.
  • USE CATALOG and USE SCHEMA on the target catalog and schema, CREATE SERVICE on the schema, and CREATE CONNECTION on the schema (or USE CONNECTION on an existing HTTP connection).
Databricks asks you to sign in to StackOne when loading tools during registration. In StackOne:
  • A StackOne project you are a member of.
  • A connector profile in the project for each provider the client should reach, with the actions you want exposed enabled.
  • (Optional) A linked account for each provider. Accounts can also be linked during the consent flow.

Add StackOne to your workspace

1

Register StackOne as an external MCP server

  1. In your Databricks workspace, open Unity Gateway, select MCPs, and click + MCP.
  2. Choose Connect an existing MCP server.
  3. Choose a Catalog and Schema, and enter an MCP name, for example stackone. The name can’t be changed after creation.
  4. Select an existing HTTP connection, or click Create new connection and set the following:
    • MCP server URL:
      If the form asks for separate connection fields instead of a single URL, set Host to https://mcp.stackone.com, Port to 443, and Base Path to /mcp.
    • Authentication method: choose Dynamic Client Registration. Databricks discovers StackOne’s OAuth endpoints and registers itself automatically, so there’s no client ID or secret to enter, and each user signs in with their own StackOne login. Leave OAuth scope blank so StackOne applies its default scopes.
  5. Click Create & load tools.
Avoid shared authentication methods such as Bearer token or OAuth User to Machine Shared. With a shared credential, everyone who calls the MCP service works in StackOne under one shared login rather than their own access.
If your workspace policy requires pre-registered OAuth credentials instead of Dynamic Client Registration, create a static OAuth client in StackOne first:
  1. In the StackOne dashboard, go to Project Settings → MCP OAuth Clients → Create OAuth Client.
  2. Set Name to Databricks Genie Code, leave Client type set to Confidential, and add your workspace’s callback URL under Redirect URIs:
  3. Click Generate, then copy the Client ID and Client secret. The secret is shown only once.
  4. In Databricks, select OAuth User to Machine Per User, choose Manual Configuration, and enter:
For more on static OAuth clients, see Clients requiring Client ID and Secret.
2

Sign in and load tools

  1. Under Tools, click Login when prompted and sign in to StackOne with your own login. This sign-in is only for setup so Databricks can load StackOne’s tools. With per-user OAuth, each user still connects with their own StackOne login. Sign in, pick the project and the linked accounts the connector should reach, then Authorize.
    Leave Load tools when needed on.
  2. Back in Databricks, leave all StackOne tools exposed so Advanced Tool Search can discover and run actions as needed.
  3. Click Create MCP Service.
3

Grant access to your users

Callers need EXECUTE on the MCP service, plus USE CATALOG and USE SCHEMA on its parent catalog and schema:
  1. In Unity Gateway > MCPs, open the StackOne MCP service and select the Permissions tab.
  2. Click Grant, select the users or groups who should use StackOne in Genie Code, select EXECUTE, and click Grant.
  3. In Catalog, grant those users or groups USE CATALOG on the parent catalog and USE SCHEMA on the parent schema.
Do not grant end users USE CONNECTION on the underlying HTTP connection. Reserve USE CONNECTION for MCP authors and administrators because it allows direct use of the connection outside the MCP service’s tool selection and policies.

If your workspace restricts outbound network access

Calls from Unity Gateway to external MCP servers run on serverless compute. If serverless egress control for your workspace uses Restricted access, add mcp.stackone.com and idp-api.stackone.com to Allowed domains in your workspace network policy. With Full access, check that neither domain is explicitly blocked.

Roll it out

StackOne is now available for your users in Genie Code. Make sure the following is ready before rolling out:
  • Add users. Invite or provision users via SSO/SCIM. See Manage Team.
  • Create groups. Organize teams into groups to control which systems each team reaches.
  • Set up connectors. Define Connector Profiles to scope provider actions for specific functions.
  • Link accounts. Link shared company accounts, or let users link their own accounts. See Linking Accounts.
Check that each user is assigned to the workspace and has EXECUTE on the MCP service along with USE CATALOG and USE SCHEMA on its parent catalog and schema. Share the full MCP service name (<catalog>.<schema>.<service>) so users know which service to pick in Genie Code. Then send users this guide:

Genie Code Organization User Setup

For people in your workspace connecting StackOne in Genie Code.