Windsurf
Connect Windsurf to MT-MCP.
Requires a terminal key that's already bound to a terminal.
Configure
Open Windsurf's MCP settings (Windsurf Settings → Cascade → MCP Servers → Add Server, or edit ~/.codeium/windsurf/mcp_config.json directly) and add an mt-mcp entry using the mcp-remote connector — the same connector used across every client in this section, which keeps the setup identical regardless of whether Windsurf's remote-HTTP support matches the server's transport version:
npm install -g mcp-remote{
"mcpServers": {
"mt-mcp": {
"command": "mcp-remote",
"args": ["https://mcp.mtcontext.com/mcp/v1"],
"headers": {
"Authorization": "Bearer MTMCP-YOUR-TERMINAL-KEY"
}
}
}
}Replace MTMCP-YOUR-TERMINAL-KEY with your actual terminal key.
Verify
Refresh the MCP server list in Windsurf's settings panel and confirm mt-mcp shows as connected. Then ask Cascade something that requires live data, e.g. "List my open positions." It should call get_positions and return real data from your connected terminal.
Trading tools stay dry-run-only until both conditions in Enabling live trading are satisfied.