> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Factory Droids - Connect StackOne

> Use the StackOne MCP server to connect your work systems to Factory Droids.

For developers whose team or organization already added StackOne to Factory Droids. Adding it yourself? Follow [Personal Setup](https://docs.stackone.com/ai-platforms/factory/personal-setup.md) instead.

Recommended Set up with your agentPaste this into Droid. It walks you through each step and can run the commands for you.

Help me connect StackOne to Factory Droids. My team already set up StackOne in Factory Droids. Read the setup guide at [https://docs.stackone.com/ai-platforms/setup-guide.md](https://docs.stackone.com/ai-platforms/setup-guide.md) and guide me one step at a time.
Copy

Or follow the steps yourself

## Connect

**1. Check that StackOne is available**

1. In your terminal, open your project folder and run:

   ```bash theme={null}
   droid mcp list
   ```

2. Confirm that `stackone` appears in the list. Until you sign in, its status shows **needs authentication**.

> [accordion] StackOne isn't there
>
> Ask the person who manages Factory at your company to share StackOne and allow `mcp.stackone.com`. Send them this:
>
> ```text theme={null}
> Can you make StackOne available in Factory Droids for our team? The steps are at https://docs.stackone.com/ai-platforms/factory/organization-admin-setup
> ```
>
> To add it just for yourself instead, follow [Personal Setup](https://docs.stackone.com/ai-platforms/factory/personal-setup.md).

**2. Sign in and authorize**

In your terminal, run:

```bash theme={null}
droid mcp auth
```

Droid opens StackOne in your browser. If you're already in a `droid` session, enter `/mcp`, select `stackone`, and choose **Authenticate** instead.

1. Sign in to StackOne. In a desktop app or code editor, this opens in your browser.
2. Check the project at the top left. Factory Droids only reaches Linked Accounts in that project. To use another one, click it and pick yours.
3. Pick the work systems Factory Droids can use (your Linked Accounts).
4. If you see **Load tools when needed**, leave it on.
5. Click **Authorize**.

![StackOne's consent screen for Claude, with three Linked Accounts selected, Load tools when needed on, and the Authorize button](https://mintcdn.com/stackone-60/YmZbq_bZpKKfcffI/images/ai-platforms/oauth-consent-connect-to-your-tools.png?fit=max\&auto=format\&n=YmZbq_bZpKKfcffI\&q=85\&s=f7600605abcc0b446e7996945b0b6090)

**3. Check it works**

1. Run `droid mcp list` (or `/mcp` inside a session) and check that `stackone` shows **connected**.
2. In a `droid` session, send this and approve the StackOne tool when Droid asks:

   ```text theme={null}
   Which of my Linked Accounts can you reach through StackOne?
   ```

> [accordion] If something goes wrong
>
> **StackOne doesn't appear in `/mcp` or won't connect.** Your organization can restrict MCP servers through `mcpPolicy` in Enterprise Controls. Disallowed servers stay in `mcp.json` but are filtered out from connecting and hidden from `/mcp`. Ask your Factory Owner or Manager to allow `mcp.stackone.com`.
>
> **The browser didn't open.** Copy the authorization URL that `droid mcp auth` prints in your terminal and open it in your browser.
>
> **A system you need is missing.** Ask your StackOne admin, or see [Linking Accounts](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md). If it's linked already, see **Add or change accounts** below.
>
> **It stopped working.** In a `droid` session, run `/mcp`, select `stackone`, choose **Clear auth**, and sign in again with **Authenticate** or `droid mcp auth`.
>
> **It can't do something.** It can do only what your own StackOne access allows. Ask your StackOne admin.
>
> **You need it with `droid exec`.** Non-interactive `droid exec` runs can't open a browser sign-in. Run `droid mcp auth` once beforehand so your tokens are stored in your system keyring. In CI, where nobody can sign in, use a [token app](https://docs.stackone.com/ai-platforms/mcp-server.md#client-setup-token-apps) with `--header` and `--no-oauth`.

> [accordion] Add or change accounts
>
> Factory Droids 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**](https://app.stackone.com/connected_apps).
>
> **2. Edit the connection**
>
> 1. Open the **⋮** menu on the row for Factory Droids 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**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.