Windsurf uses
serverUrl instead of url in its MCP config — make sure to use the correct field name.Setup
Create a Personal Access Token
In Trilo, go to Profile Settings > API > Create Token. Select the scopes you need (
mcp:read, mcp:write) and copy the token.Add the MCP server
Choose one of these options:Option A — Settings UI:Replace
- Open Windsurf Settings > Cascade > MCP Servers (or click the MCPs icon in the Cascade panel)
- Click Configure to add a new server
- Set the URL to
https://api.trilo.chat/mcp - Add the Authorization header with your PAT
~/.codeium/windsurf/mcp_config.json:YOUR_TOKEN_HERE with the PAT you copied.Options
Append query parameters to the MCP URL for additional control:| Parameter | Description | Example |
|---|---|---|
workspace_id | Restrict to a specific workspace | https://api.trilo.chat/mcp?workspace_id=abc-123 |
read_only | Force read-only mode | https://api.trilo.chat/mcp?read_only=true |
Troubleshooting
401 Unauthorized
401 Unauthorized
Tools not appearing
Tools not appearing
Restart Windsurf after adding the MCP server. Verify you used
serverUrl (not url) in the config, and that 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. Windsurf usually reconnects automatically. If not, restart the editor.
