Windsurf uses
serverUrl instead of url in its MCP config — make sure to use the correct field name.Setup
1
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.2
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.3
Verify the connection
In Windsurf’s AI chat, ask:If it returns your workspace data, you’re connected.
Options
Append query parameters to the MCP URL for additional control:Troubleshooting
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.
