SWG bar MCP

Serveur MCP natif pour macOS et MCP de documentation publique Streamable HTTP pour SWG bar : détecte l’inspection HTTPS/SSL des SWG d’entreprise (Zscaler, Cloudflare WARP, Netskope, Cisco Umbrella, Palo Alto, Fortinet), inspecte les chaînes de certificats TLS et les empreintes SHA-256, et gère le contournement des SWG par domaine sur Mac.

Serveur MCP hébergé

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

S’installe dans Claude Code, Codex, Cursor et plus

Documentation

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:

  1. 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.99 Personal / US$9.99/Mac Team; see pricing).
  2. Local macOS stdio MCP server (swgbar mcp, bundled inside SWGBar.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/mcp with SELF_SIGNED_CERT_IN_CHAIN, configure NODE_EXTRA_CA_CERTS or enable per-domain bypass via the local swgbar server first (swgbar bypass enable swgbar.com).

Verified MCP directory listings:

SWG bar MCP connector – tool definition quality and endpoint health on Glama

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 namePurposeKey arguments
swgbar_overviewOverall HTTPS inspection %, hijacked vs. total counts, status breakdown, top CAs, and monitoring statetopLimit (integer, default 5)
swgbar_list_domainsSearch, filter, sort, and paginate observed domainssearch, status, bypass, sort, page, pageSize, offset, limit, all
swgbar_get_domain_detailConnection metadata, certificate chain, trust evaluation, and bypass status for one hosthostname (required), port (default 443)
swgbar_list_certificatesList certificate clusters by name or SHA-256 fingerprintsearch, status, showAll, page, pageSize, all
swgbar_get_certificate_detailSubject, issuer, validity dates, SHA-256 & SPKI fingerprints, trust evaluation, and affected domainsname or fingerprint
swgbar_probe_domainTrigger an on-demand TLS probe and return updated connection, certificate, and trust verdicthostname (required), port (default 443)
swgbar_bypass_statusList active and desired bypassed domains, available physical interfaces, and verification state(none)
swgbar_set_domain_bypassEnable, disable, or toggle per-domain SWG bypasshostname (required), action (enable/disable/toggle), port
swgbar_clear_all_bypassesDisable and clear all domain bypass rules(none)
swgbar_monitoring_controlView, pause, resume, or toggle background monitoringaction (status/pause/resume/toggle)
swgbar_plugins_statusCheck browser companion status for Chrome, Edge, and Firefox(none)
swgbar_check_browser_connectionVerify live Native Messaging connectivity with the Chrome companion(none)
swgbar_open_browser_extensionOpen the SWG bar Chrome Web Store installation pageopenBrowser (boolean, default true)
swgbar_check_updatesCheck for SWG bar software updates against the published release manifestcheck (boolean, default true)
swgbar_licenseCheck trial/license state, refresh online, activate a key, or deactivate this Macaction (status/check/refresh/activate/deactivate), code, force
swgbar_languageGet, list, or switch display language across all 12 supported localesaction (get/list/set), language
swgbar_appearanceGet, list, set, or cycle appearance mode (system, light, dark)action (get/list/set/cycle), mode
swgbar_aboutReturn SWG bar version, build number, and support links(none)

Remote Streamable HTTP MCP tools (https://swgbar.com/mcp)

Tool namePurpose
search_documentationHybrid search over published SWG bar guides across 12 languages
get_documentationFetch a published page as clean Markdown by canonical path (e.g., /en/install/)
get_latest_releaseReturn the latest version, .pkg download URL, and SHA-256 checksum
get_product_catalogReturn 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.com and tell me whether its certificate chain is public or decrypted by a corporate gateway.”
  • “Enable SWG bypass for api.github.com 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