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:
| Area | Available capabilities |
|---|---|
| Overview | Query overall HTTPS inspection percentage, classification counts (Confirmed, Suspected, Public, Intranet), and top intercepting certificates. |
| Domains | Search, filter, and paginate observed domains; inspect detailed connection evidence, certificate trust chains, and bypass state for any hostname. |
| Certificates | List and filter certificate clusters; retrieve issuer details, validity periods, SHA-256 fingerprints, and all associated hostnames. |
| SWG Bypass | Inspect active bypass rules, or enable, toggle, disable, and clear SWG bypass for specific domains. |
| On-Demand Probes | Probe any domain in real time to assess TLS certificate chains and verify whether traffic is decrypted. |
| Browser Companion | Check connection and synchronization status with the Chrome extension companion. |
| App Preferences | Monitor 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
- How to Bypass SWG on a Mac (Zscaler, Cloudflare, Netskope — 1-Click & CLI)
- How to Bypass SSL Inspection on a Mac (Corporate SWG & Per-Domain Fix)
- How to Bypass HTTPS & TLS Inspection on macOS (Break-and-Inspect Guide)
- How to Bypass Corporate Proxy & SWG SSL Inspection on a Mac
- How to Check if Your Mac Is Intercepted by an SWG (Zscaler, Netskope & SSL Inspection)
- How to Check if Your Employer or Work Mac Is Intercepting HTTPS (SSL Inspection)
- Can My Employer See My Browsing History, Incognito & Personal Accounts on a Work Mac?
- SSL Inspection Checker for Mac: Menu Bar Tool to Detect HTTPS Interception
- Zscaler SSL Inspection on Mac: How to Check & Bypass per Domain
- How to Turn Off or Bypass Zscaler on a Mac (When Tamper Protection Locks It)
- Cloudflare WARP & Zero Trust TLS Inspection on Mac: Detect & Bypass
- Netskope SSL Inspection on Mac: Check Decryption & Bypass per Domain
- Cisco Umbrella SSL Inspection on Mac: Check Decryption & Bypass per Domain
- Palo Alto GlobalProtect & Prisma Access SSL Decryption on Mac: Check & Bypass
- Fortinet FortiClient & FortiGate (Fortinet_CA_SSL) Inspection on Mac: Check & Bypass
- Fix Git & npm 'unable to get local issuer certificate' / SELF_SIGNED_CERT_IN_CHAIN on Mac
- Fix Python 'CERTIFICATE_VERIFY_FAILED' & Docker 'x509: certificate signed by unknown authority' on Mac
- Fix GitHub Copilot, OpenAI Codex & Gemini CLI SSL Certificate Errors on Mac (Zscaler / SWG)
- Fix Java, Maven, Gradle, IntelliJ & Android Studio 'PKIX path building failed' on Mac
- Fix AWS CLI & Boto3 'SSL validation failed' Certificate Errors on Mac
- Fix Google Cloud (gcloud) & Azure CLI (az login) SSL Certificate Errors on Mac
- Fix Firefox 'SEC_ERROR_UNKNOWN_ISSUER' Behind Zscaler & Corporate SWGs on Mac
- Confirmed vs. Suspected HTTPS inspection in SWG bar
- Inspect MITM root certificates & issuers in SWG bar
- Enterprise SWG & MDM HTTPS inspection on a Mac
- SWG bypass vs. TLS inspection exception (break and inspect)
- Bypass SWG for multi-domain web apps, SSO, CDNs & APIs on Mac
- Fix SWG bypass Recovering, Paused & connection errors on Mac
- macOS VPN virtual interfaces vs. SWG HTTPS inspection
- Why certificate-pinned apps & mTLS break under SWG inspection
- Fix SWG TLS & SSL certificate errors in CLI and AI tools on a Mac
- Homebrew, Docker, Python & Node.js CA trust behind an SWG on Mac
- Fix Claude Code & Cursor 'unable to get local issuer certificate' on Mac (SWG & MCP)
- Verify TLS certificates with openssl & security verify-cert on Mac
- SWG bar permissions, local privacy & TLS probe limits
- How SWG bar checks HTTPS inspection
- Download & install SWG bar for Mac (macOS 14+)
- Chrome Extension to Detect SSL & HTTPS Inspection (SWG Bar Companion)
- SWG bar CLI Guide
- SWG bar release information
- About SWG bar