# Surge Outbound Switcher for Raycast

URL: https://www.raycast.com/the3ash/surge-outbound-switcher

> Switch the Surge proxy outbound mode on Mac between Direct, Global and Rule-based instantly, via AppleScript instead of the HTTP API.

- Install: raycast://extensions/the3ash/surge-outbound-switcher
- Author: [3ASH](https://www.raycast.com/the3ash)
- Installs: 84
- Platforms: macOS
- Categories: Web, Applications, Productivity
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/c4e0f79975a011e16032382f2d1263f712f8b43c/extensions/surge-outbound-switcher/

## Commands

- **Set Outbound Mode**: Set Surge's outbound mode
- **Set to Direct**: Set Surge's outbound mode to Direct
- **Set to Global**: Set Surge's outbound mode to Global
- **Set to Rule-based**: Set Surge's outbound mode to Rule-based

## README

<div align="center">
  <img src="https://github.com/raycast/extensions/raw/c4e0f79975a011e16032382f2d1263f712f8b43c/extensions/surge-outbound-switcher//metadata/surge-outbound-switcher-1.png" alt="surge-outbound-switcher"/>
</div>
&nbsp;

### Surge Outbound Mode Switcher

A Raycast extension for quickly switching Surge's outbound mode without using HTTP API.

#### Features

This extension uses AppleScript to communicate with Surge, providing the following features:

- Instant switch to Direct mode
- Instant switch to Global Proxy mode
- Instant switch to Rule-based Proxy mode

#### Usage

Search for the following commands in Raycast:

- `Set to Direct`
- `Set to Global`
- `Set to Rule-based`
- `Set Outbound Mode`

#### Requirements

- MacOS
- Surge installed and running

#### Notes

- Make sure to authorize Raycast to control Surge application using AppleScript.
- Make sure manually activate the Surge menu once after launch.
