Devin Desktop
Connect Devin Desktop to agentgateway
Configure Devin Desktop (formerly Windsurf), the AI-powered code editor from Cognition, to use agentgateway as an MCP server.
Before you begin
- Install and run agentgateway.
- Confirm agentgateway is up by opening the agentgateway UI.
- Use the MCP endpoint
http://localhost:3000/mcp/httpto connect your client to agentgateway. If you run agentgateway on a different host or port, replacelocalhost:3000in the examples accordingly.
Configuration
Add agentgateway to your Devin Desktop MCP configuration. Create or edit
~/.codeium/windsurf/mcp_config.json. On Windows, this file is at
%USERPROFILE%\.codeium\windsurf\mcp_config.json. Devin Desktop does not create this file
automatically, so create it if it does not exist.
{
"mcpServers": {
"agentgateway": {
"serverUrl": "http://localhost:3000/mcp/http"
}
}
}
Note
For remote MCP servers, Devin Desktop uses the serverUrl field rather than the url field that some other clients use.
Authentication
Include authentication headers if required:
{
"mcpServers": {
"agentgateway": {
"serverUrl": "http://localhost:3000/mcp/http",
"headers": {
"Authorization": "Bearer your-token-here"
}
}
}
}
Verifying the Connection
- Open the Cascade panel in Devin Desktop.
- Click the MCPs icon in the top right of the Cascade panel, or open Settings > Cascade > MCP Servers, then refresh the server list.
- Confirm that the agentgateway tools appear in the available tools list.