Not yet verified end-to-end. Pi supports MCP through community adapter extensions such as
pi-mcp-adapter, and StackOne has not yet tested this flow end-to-end. If OAuth sign-in fails in your setup, use the token app header fallback under If something goes wrong.Before you start
- 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.
Recommended Set up with your agent
Paste this into Pi. It walks you through each step and can run the commands for you.
Help me connect StackOne to Pi. Read the setup guide at https://docs.stackone.com/ai-platforms/setup-guide.md and guide me one step at a time.
Or follow the steps yourself
Connect
1
Install the MCP extension
Pi’s core keeps MCP handling out of the base binary to save context tokens. Install
pi-mcp-adapter (or pi-mcp-extension if you prefer) and restart Pi:2
Add StackOne to mcp.json
Open
~/.pi/agent/mcp.json (or ~/.config/mcp/mcp.json) for all projects, or .mcp.json at a project’s root for one repository. Add stackone under mcpServers and save:3
Sign in and authorize
Start Pi opens StackOne in your browser.
pi in your terminal and trigger OAuth sign-in for StackOne:- Sign in to StackOne. In a desktop app or code editor, this opens in your browser.
- Check the project at the top left. Pi only reaches Linked Accounts in that project. To use another one, click it and pick yours.
- Pick the work systems Pi can use (your Linked Accounts).
- If you see Load tools when needed, leave it on.
- Click Authorize.

4
Check it works
Run
/mcp (or /mcp-adapter) in Pi to confirm stackone is connected, then send:If something goes wrong
If something goes wrong
/mcp-auth command isn’t recognized. Make sure you installed pi-mcp-adapter with pi install npm:pi-mcp-adapter and restarted your Pi session.Sign-in doesn’t open or you’re running over SSH. If browser OAuth can’t complete in a remote or headless session, create a token app and pass it in headers inside mcp.json (keeping any token file out of git):/mcp-auth stackone inside Pi to refresh your OAuth session. Access lasts 90 days from when you clicked Authorize.It can’t do something. It can do only what your own StackOne access allows. Ask your StackOne admin.Add or change accounts
Add or change accounts
Pi reaches only the Linked Accounts you approved when you connected. To add one you link later, or one someone shares with you afterwards:To review or revoke the connection, use the same ⋮ menu in Connected Apps.
1
Open Connected Apps
In the StackOne dashboard, go to Connected Apps.
2
Edit the connection
- Open the ⋮ menu on the row for Pi and select Edit tool access.
- Select the Linked Account.
- Click Save changes.