Skip to main content
For people building agents in Glean’s Agent Builder, after a Glean admin added StackOne. Using Glean Assistant instead? Follow Organization User Setup.
Glean’s support for MCP tools in agents is in beta.

Add StackOne to an agent

1

Create the agent

In Glean, go to the Agents tab and create an agent.
2

Add the StackOne MCP server as a tool

In the panel on the right, open Tools, click +, choose MCP, and select the StackOne server your admin added.
Glean agent builder with the Tools panel highlighted on the right and an Add tool button
3

Verify

Click Preview and ask the agent:
Then Publish to make it available to the teammates you granted access to.
All of the server’s tools are enabled on the agent automatically. Through the Advanced Tool Search tools, Search and Execute, the agent can find and run the actions each teammate granted, against the Linked Accounts that teammate has access to.
Glean supports MCP tools in Plan and execute steps and autonomous agents, not in single-step selections. They are also unavailable in Fast mode.

How an agent signs in to StackOne

  • An agent you run uses your own StackOne login. The first time, Glean lists StackOne under Connect the following actions to run this agent. Click Connect, sign in and authorize as described in Organization User Setup, then click Run agent.
  • An agent that runs on its own, with a shared login your admin set up, needs nothing from you.
A Glean agent waiting to run, with StackOne listed under Connect the following actions to run this agent and Run agent turned off until it's connected
Glean reaches only the Linked Accounts you approved when you connected. To add one you link later, or one someone shares with you afterwards:
1

Open Connected Apps

In the StackOne dashboard, go to Connected Apps.
2

Edit the connection

  1. Open the ⋮ menu on the row for Glean and select Edit tool access.
  2. Select the Linked Account.
  3. Click Save changes.
To review or revoke the connection, use the same ⋮ menu in Connected Apps.