SWG bar MCP

Native macOS MCP server and public Streamable HTTP documentation MCP for SWG bar: detect corporate SWG HTTPS/SSL inspection (Zscaler, Cloudflare WARP, Netskope, Cisco Umbrella, Palo Alto, Fortinet), inspect TLS certificate chains & SHA-256 fingerprints, and manage per-domain SWG bypass on Mac.

Hosted MCP Server

npx add-mcp 'https://swgbar.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Source: https://swgbar.com/en/mcp/ Language: en

SWG bar MCP Guide

Connect MCP-compatible AI clients to SWG bar on macOS to query HTTPS inspection status, inspect certificates, and manage SWG bypass.

SWG bar · Updated October 31, 2026

SWG bar provides native, built-in support for the Model Context Protocol (MCP). Once connected via stdio, any MCP-compatible AI client—such as Claude Desktop, Cursor, Windsurf, or Claude Code—can query your local SWG bar status, inspect observed domains and certificates, and manage domain-level SWG bypass rules on macOS.

Configure your MCP client

Ensure SWG bar is installed in /Applications/SWGBar.app, then add swgbar to your AI client’s MCP configuration.

Standard mcp.json configuration

Add the following entry to your MCP configuration file (for example, claude_desktop_config.json for Claude Desktop, or .cursor/mcp.json for Cursor):

{
  "mcpServers": {
    "swgbar": {
      "command": "/Applications/SWGBar.app/Contents/MacOS/swgbar",
      "args": ["mcp"]
    }
  }
}

CLI registration (Claude Code)

If you are using Claude Code, register the MCP server with a single terminal command:

claude mcp add swgbar -- /Applications/SWGBar.app/Contents/MacOS/swgbar mcp

Available capabilities

Through the Model Context Protocol, your AI assistant can invoke the same underlying capabilities available in the SWG bar menu bar app:

AreaAvailable capabilities
OverviewQuery overall HTTPS inspection percentage, classification counts (Confirmed, Suspected, Public, Intranet), and top intercepting certificates.
DomainsSearch, filter, and paginate observed domains; inspect detailed connection evidence, certificate trust chains, and bypass state for any hostname.
CertificatesList and filter certificate clusters; retrieve issuer details, validity periods, SHA-256 fingerprints, and all associated hostnames.
SWG BypassInspect active bypass rules, or enable, toggle, disable, and clear SWG bypass for specific domains.
On-Demand ProbesProbe any domain in real time to assess TLS certificate chains and verify whether traffic is decrypted.
Browser CompanionCheck connection and synchronization status with the Chrome extension companion.
App PreferencesMonitor collector state, pause or resume monitoring, check for software updates, and review license status.

Example prompts

Once connected, you can interact with SWG bar using natural language prompts in your AI client:

  • “What is my current HTTPS inspection rate in SWG bar, and which CA certificates are intercepting traffic?”
  • “List all domains currently classified as Confirmed inspection and show their certificate details.”
  • “Probe and tell me whether its certificate chain is public or decrypted by a corporate gateway.”
  • “Enable SWG bypass for and verify the updated bypass status.”
  • “Are there any suspected self-signed or enterprise certificates observed in my recent traffic?”

For direct command-line usage in Terminal, see the CLI guide. If your coding agent or CLI runtime hits TLS handshake failures behind a corporate gateway, see Fix SWG TLS & SSL certificate errors in CLI and AI tools on a Mac and How to bypass SWG on a Mac. To learn how SWG bar classifies certificates and evaluates evidence, read how SWG bar works.

macOS 14+ · Apple Silicon

Stop guessing which domains your company SWG decrypts.

SWG bar checks HTTPS inspection right from your Mac’s menu bar and lets you bypass broken domains in one click—while keeping corporate VPN and SSO running.

Start a 14-day trial for $0 Decode a TLS error Free Chrome extension

Keep reading