Connect Windsurf to VariFlight MCP
Set up VariFlight MCP in Windsurf: account requirements, server configuration, authorization, and a flight-query example to verify your connection.
Before you start
Sign in to VariFlight MCP, obtain your MCP Key in the console, and replace YOUR_MCP_KEY in the configuration. Available tools and data depend on your account permissions and the client’s MCP support. Keep the key private.
Review tools and access requirements →Windsurf
NewMCP integration with Windsurf Cascade
Setup steps
- 1Open the MCP configuration panel and add a custom server.
- 2Set url and headers.Authorization in mcp_config.json.
- 3Enable the tools in Cascade and send a query.
Configuration file: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"variflight-mcp": {
"url": "https://c-gw.variflight.com/chat_message/mcp/api",
"headers": {
"Authorization": "Bearer YOUR_MCP_KEY"
}
}
}
}# Ask in Cascade: "Compare flight candidates from Beijing to Shanghai tomorrow." # Candidates and flight status indicate a successful connection.
Verify the connection
Enable the server, start a new conversation, and ask the verification question above. Check that a VariFlight tool was actually called and that the result identifies the flight date and data source. If tools are missing, review the endpoint, Authorization header, account permissions, and your client’s configuration. An empty result is not proof that no flight exists.