SWG bar MCP
Server MCP macOS native dan MCP dokumentasi Streamable HTTP publik untuk SWG bar: mendeteksi inspeksi HTTPS/SSL SWG perusahaan (Zscaler, Cloudflare WARP, Netskope, Cisco Umbrella, Palo Alto, Fortinet), memeriksa rantai sertifikat TLS dan sidik jari SHA-256, serta mengelola bypass SWG per domain di Mac.
Server MCP Terhosting
npx add-mcp 'https://swgbar.com/mcp'Terpasang ke Claude Code, Codex, Cursor, dan lainnya
Dokumentasi
Source: https://swgbar.com/en/mcp/ Language: en
SWG bar MCP Server — macOS TLS Certificate Monitoring & SWG Bypass for Claude Code and Cursor
Lightweight macOS TLS certificate monitoring and per-domain SWG SSL bypass via an 18-tool local stdio MCP server and a no-auth remote Streamable HTTP MCP server (https://swgbar.com/mcp) for Claude Code, Cursor, Windsurf, and Claude Desktop.
SWG bar · Updated December 1, 2026
SWG bar provides two complementary Model Context Protocol (MCP) servers for macOS TLS certificate monitoring and corporate Secure Web Gateway (SWG) troubleshooting:
- Public remote docs MCP server (
https://swgbar.com/mcp, Streamable HTTP, no authentication required): Exposes 4 read-only tools (search_documentation,get_documentation,get_latest_release,get_product_catalog) for searching guides, release checksums, and current pricing (US$14.99Personal /US$9.99/MacTeam; see pricing). - Local macOS stdio MCP server (
swgbar mcp, bundled insideSWGBar.app): Exposes 18 local tools so Claude Code, Cursor, Windsurf, and Claude Desktop can query live HTTPS inspection metrics, probe TLS certificates on demand, inspect MITM root CAs, and toggle per-domain SWG bypass rules natively on your Mac.
Quick setup for Claude Code (user scope)
First install SWG bar and link /usr/local/bin/swgbar (which works whether you installed to /Applications/SWGBar.app via .pkg or ~/Applications/SWGBar.app via install.sh), then register both servers at --scope user so they work across every repository:
# 1. Public remote documentation & catalog MCP (Streamable HTTP, no auth)
claude mcp add --scope user --transport http swgbar-docs https://swgbar.com/mcp
# 2. Local macOS SWG bar MCP (stdio — 18 live inspection & bypass tools)
claude mcp add --scope user swgbar -- /usr/local/bin/swgbar mcp
# Verify both servers are registered
claude mcp list
(If you did not symlink /usr/local/bin/swgbar, pass the full binary path instead: /Applications/SWGBar.app/Contents/MacOS/swgbar for .pkg installs or $HOME/Applications/SWGBar.app/Contents/MacOS/swgbar for install.sh installs.)
Combined mcp.json for Cursor, Windsurf, and Claude Desktop
Add both entries to your client’s MCP configuration file—~/.cursor/mcp.json (global) or .cursor/mcp.json (project) for Cursor, or ~/Library/Application Support/Claude/claude_desktop_config.json for Claude Desktop—merging into any existing mcpServers object:
{
"mcpServers": {
"swgbar-docs": {
"url": "https://swgbar.com/mcp"
},
"swgbar": {
"command": "/usr/local/bin/swgbar",
"args": ["mcp"]
}
}
}
Behind Zscaler or Netskope? If your MCP client rejects TLS connections to the remote server
https://swgbar.com/mcpwithSELF_SIGNED_CERT_IN_CHAIN, configureNODE_EXTRA_CA_CERTSor enable per-domain bypass via the localswgbarserver first (swgbar bypass enable swgbar.com).
Verified MCP directory listings:
- SWG bar on Glama MCP Connectors (Ownership verified · Streamable HTTP)
- SWG bar MCP on mcpservers.org
Local stdio MCP tools catalog (18 tools)
The local swgbar mcp server communicates with the running SWG bar app via local Unix-socket IPC and returns structured JSON (requires an active 14 actual-use-day trial or paid license; expired trials return an isError payload with licenseStatus):
| Tool name | Purpose | Key arguments |
|---|---|---|
swgbar_overview | Overall HTTPS inspection %, hijacked vs. total counts, status breakdown, top CAs, and monitoring state | topLimit (integer, default 5) |
swgbar_list_domains | Search, filter, sort, and paginate observed domains | search, status, bypass, sort, page, pageSize, offset, limit, all |
swgbar_get_domain_detail | Connection metadata, certificate chain, trust evaluation, and bypass status for one host | hostname (required), port (default 443) |
swgbar_list_certificates | List certificate clusters by name or SHA-256 fingerprint | search, status, showAll, page, pageSize, all |
swgbar_get_certificate_detail | Subject, issuer, validity dates, SHA-256 & SPKI fingerprints, trust evaluation, and affected domains | name or fingerprint |
swgbar_probe_domain | Trigger an on-demand TLS probe and return updated connection, certificate, and trust verdict | hostname (required), port (default 443) |
swgbar_bypass_status | List active and desired bypassed domains, available physical interfaces, and verification state | (none) |
swgbar_set_domain_bypass | Enable, disable, or toggle per-domain SWG bypass | hostname (required), action (enable/disable/toggle), port |
swgbar_clear_all_bypasses | Disable and clear all domain bypass rules | (none) |
swgbar_monitoring_control | View, pause, resume, or toggle background monitoring | action (status/pause/resume/toggle) |
swgbar_plugins_status | Check browser companion status for Chrome, Edge, and Firefox | (none) |
swgbar_check_browser_connection | Verify live Native Messaging connectivity with the Chrome companion | (none) |
swgbar_open_browser_extension | Open the SWG bar Chrome Web Store installation page | openBrowser (boolean, default true) |
swgbar_check_updates | Check for SWG bar software updates against the published release manifest | check (boolean, default true) |
swgbar_license | Check trial/license state, refresh online, activate a key, or deactivate this Mac | action (status/check/refresh/activate/deactivate), code, force |
swgbar_language | Get, list, or switch display language across all 12 supported locales | action (get/list/set), language |
swgbar_appearance | Get, list, set, or cycle appearance mode (system, light, dark) | action (get/list/set/cycle), mode |
swgbar_about | Return SWG bar version, build number, and support links | (none) |
Remote Streamable HTTP MCP tools (https://swgbar.com/mcp)
| Tool name | Purpose |
|---|---|
search_documentation | Hybrid search over published SWG bar guides across 12 languages |
get_documentation | Fetch a published page as clean Markdown by canonical path (e.g., /en/install/) |
get_latest_release | Return the latest version, .pkg download URL, and SHA-256 checksum |
get_product_catalog | Return current Personal & Team prices in USD minor units, quantities, and purchase links |
Example prompts
Once connected, prompt your AI assistant directly:
- “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
api.github.comand tell me whether its certificate chain is public or decrypted by a corporate gateway.” - “Enable SWG bypass for
api.github.comand 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 (1-Click & CLI Guide)
- How to Bypass SSL Inspection on a Mac (Why Keychain & curl -k Fail)
- HTTPS & TLS Break-and-Inspect on macOS: HTTP/2, QUIC & Per-Domain Bypass
- Why macOS Proxy Settings Fail Against Corporate Proxies (scutil & Per-Domain Fix)
- 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
- Fix Ruby, Bundler & CocoaPods OpenSSL::SSL::SSLError on Mac
- Fix Rust (cargo/rustup) & Go x509 SSL Errors on Mac
- Fix kubectl, Helm & Minikube x509 Unknown Authority on Mac
- Fix curl (60), Wget & PHP Composer SSL Certificate Errors 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
- SWG bar Pricing — One-Time License for macOS (Personal & Team)
- 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