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 CATALOGandUSE SCHEMAon the target catalog and schema,CREATE SERVICEon the schema, andCREATE CONNECTIONon the schema (orUSE CONNECTIONon an existing HTTP connection).
- 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
- In your Databricks workspace, open Unity Gateway, select MCPs, and click + MCP.
- Choose Connect an existing MCP server.
-
Choose a Catalog and Schema, and enter an MCP name, for example
stackone. The name can’t be changed after creation. -
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 to443, 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.
-
MCP server URL:
- Click Create & load tools.
Use a static OAuth client instead of Dynamic Client Registration
Use a static OAuth client instead of Dynamic Client Registration
If your workspace policy requires pre-registered OAuth credentials instead of Dynamic Client Registration, create a static OAuth client in StackOne first:
- In the StackOne dashboard, go to Project Settings → MCP OAuth Clients → Create OAuth Client.
-
Set Name to
Databricks Genie Code, leave Client type set toConfidential, and add your workspace’s callback URL under Redirect URIs: - Click Generate, then copy the Client ID and Client secret. The secret is shown only once.
-
In Databricks, select OAuth User to Machine Per User, choose Manual Configuration, and enter:
2
Sign in and load tools
-
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.
Walk through the consent screen
- Sign in to StackOne. If you are already signed in to the dashboard you skip straight to the next step.
- Check where the connection returns. The line under the client’s logo shows where it goes after you approve. If it names localhost or an app on this device, only continue if you started the connection from that client.
- Select a project. Select the project you would like to associate the connection with. If you belong to one project, this step is skipped.
- Select accounts and access. Select the linked accounts the client can use, and choose how much it can do in each: read, write, full access, or pick individual actions. To link a new account, click Link account. When the project has MCP Events on, each account also lists its events, and all of them are granted unless you untick some.
- (Optional) Load tools when needed. On by default, and the toggle that puts the connection into Advanced Tool Search. Leave it on for large action sets. Turn it off to hand the agent every selected action up front.
- Authorize. Completes the connection; you can return to your client.

Select a project

Select accounts

Toggle actions
If you see a sentence where the Load tools when needed toggle should be, an admin has already settled it for the whole project. See project settings. - Back in Databricks, leave all StackOne tools exposed so Advanced Tool Search can discover and run actions as needed.
- 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:- In Unity Gateway > MCPs, open the StackOne MCP service and select the Permissions tab.
- Click Grant, select the users or groups who should use StackOne in Genie Code, select EXECUTE, and click Grant.
- In Catalog, grant those users or groups
USE CATALOGon the parent catalog andUSE SCHEMAon the parent schema.
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, addmcp.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.
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.