Setup with OAuth (Recommended)
The fastest way to connect — no token needed.1
Add the MCP server
In your terminal, run:
2
Authenticate
Inside Claude Code, run the
/mcp command. Select Authenticate for the Trilo server — this will open your browser to authorize access to your Trilo account.3
Verify the connection
Back in Claude Code, ask:If it returns your workspace data, you’re all set.
Setup with PAT (Alternative)
If you prefer a Personal Access Token instead of OAuth:1
Create a token
In Trilo, go to Profile Settings > API > Create Token. Select the scopes you need (
mcp:read, mcp:write) and copy the token.2
Add the MCP server
Option A — CLI command:Option B — Config file (You can also use
~/.claude.json):.mcp.json in your project root to share the config with your team (supports environment variable expansion like ${TRILO_PAT}).3
Verify the connection
Ask Claude Code:
Options
You can append query parameters to the MCP URL for additional control:Troubleshooting
OAuth browser doesn't open
OAuth browser doesn't open
Make sure you run
/mcp inside Claude Code to trigger the authentication flow. If the browser still doesn’t open, check that you have a default browser configured.Tools not appearing
Tools not appearing
Try restarting Claude Code. Run
/mcp to check the server status. Also verify the URL is exactly https://api.trilo.chat/mcp with no trailing slash.Session expired (error -32002)
Session expired (error -32002)
MCP sessions expire after 30 minutes of inactivity. Claude Code usually reconnects automatically. If not, run
/mcp and re-authenticate.