> ## 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 who add StackOne to their own Factory Droids setup. Your team or organization already added it? Follow [Organization User Setup](https://docs.stackone.com/ai-platforms/factory/organization-user-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. I'm adding StackOne to Factory Droids myself. 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. Add StackOne**

In your terminal, outside a `droid` session, run:

```bash theme={null}
droid mcp add stackone https://mcp.stackone.com/mcp --type http
```

`droid mcp add` saves StackOne to your user config (`~/.factory/mcp.json`), so it works in every project. Droid reloads automatically when `mcp.json` changes.

> [accordion] Add it to mcp.json by hand
>
> 1. Open `~/.factory/mcp.json` in your home folder. Create the file if it isn't there. To add StackOne to one project only, use `.factory/mcp.json` at that project's root instead.
> 2. Add StackOne under `mcpServers`, next to any servers already listed, and save:
>
>    ```json theme={null}
>    {
>      "mcpServers": {
>        "stackone": {
>          "type": "http",
>          "url": "https://mcp.stackone.com/mcp",
>          "disabled": false
>        }
>      }
>    }
>    ```

**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.** If you belong to a Factory Business or Enterprise organization, an active `mcpPolicy` allowlist filters out servers not on it. 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**.

> [accordion] Scopes and commands
>
> Where Droid looks for `mcp.json`:
>
> | Level | Stored in | Use it for |
> | - | - | - |
> | User | `~/.factory/mcp.json` | All your projects (where `droid mcp add` writes) |
> | Folder | `.factory/mcp.json` in an ancestor directory | Nested projects under a shared parent folder |
> | Project | `.factory/mcp.json` at the project root | Sharing with your team through the repository |
>
> To share StackOne with a team or organization, see [Organization Admin Setup](https://docs.stackone.com/ai-platforms/factory/organization-admin-setup.md).
>
> To check status, sign in, manage saved tool approvals, or remove a user-configured server:
>
> ```bash theme={null}
> droid mcp list
> droid mcp auth
> droid mcp permissions list
> droid mcp remove stackone
> ```


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