SIN Mac Gateway
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SIN Mac Gatewaylist the files in my home directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SIN Mac Gateway
Provider-neutral, authenticated Remote MCP gateway for a trusted macOS machine.
SIN Mac Gateway exposes the existing local mcp-combiner tool contract over the official MCP Python SDK's Streamable HTTP transport. The local backend remains the source of fs__* and cmd__*; this repository owns remote transport, OAuth, service lifecycle, audit/redaction safeguards, and deployment documentation.
Architecture
Claude.ai / remote MCP client
|
| HTTPS + OAuth 2.1 / PKCE
v
Cloudflare Tunnel (outbound from Mac)
|
v
127.0.0.1:8765 SIN Mac Gateway
|
| stdio MCP
v
mcp-combiner
| |
fs__* cmd__*No router port is opened. The gateway itself binds to loopback; Cloudflare Tunnel is the public edge.
Related MCP server: Remote MCP Server
Current capabilities
Official
mcp==2.0.0Streamable HTTP transport, including current protocol negotiation.OAuth Authorization Code flow with S256 PKCE.
Persistent access/refresh tokens and revocation through a private SQLite store.
Claude callback allowlist for
claude.aiandclaude.com.401 Protected Resource Metadata discovery for unauthenticated MCP requests.
Existing
mcp-combinercompatibility:fs__*andcmd__*stay unchanged.Loopback
/healthzand/readyzendpoints.launchd
RunAtLoad+KeepAliveservice.Privacy-safe audit log (tool/outcome/duration; arguments and outputs are not logged).
High-confidence command-output secret redaction and a small defense-in-depth sensitive-path/Keychain guard.
cmd__run_process is still intentionally powerful user-level shell access. The guard is defense in depth, not an OS sandbox.
Install on macOS
Prerequisite: the existing wow-my-zsh mcp-combiner runtime must be installed.
bash scripts/install-macos.sh \
--public-base-url https://sin-mac-gateway.example.com \
--fs-root "$HOME"This creates private runtime/config state under ~/.config/sin-mac-gateway and ~/.local/state/sin-mac-gateway, installs a dedicated virtualenv under ~/.local/share/sin-mac-gateway, and loads com.sin.mac-gateway.
Local verification:
curl -fsS http://127.0.0.1:8765/healthz
curl -fsS http://127.0.0.1:8765/readyzClaude.ai connector
Claude custom connectors connect from Anthropic infrastructure, so the MCP URL must be public HTTPS. Configure Claude with:
Name:
SIN Mac GatewayURL:
https://<hostname>/mcpOAuth Client ID: shown by
sin-mac-gateway-credentialsOAuth Client Secret: run
sin-mac-gateway-credentials --copy-secretand paste from the macOS clipboard
The secret command never prints the secret to stdout.
Development
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
.venv/bin/pytest -qSecurity
Runtime credentials, Cloudflare tunnel credentials, OAuth tokens, audit logs, and machine-specific config are never committed. See docs/SECURITY.md and docs/OPERATIONS.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceExposes local OpenCode instances as remote MCP servers for Claude and ChatGPT, enabling terminal access, session management, and interactive human-in-the-loop workflows. It simplifies deployment for local machines using Cloudflare Tunnels to provide secure public connectivity and OAuth support.
- Flicense-qualityDmaintenanceEnables remote MCP connections with OAuth login, running on Cloudflare Workers for secure tool access.
- Flicense-qualityDmaintenanceSelf-hosted MCP server for administering Cloudflare DNS and cloudflared tunnels, enabling exposure of SSH hosts and web services with Google OAuth access control.3
- Flicense-qualityCmaintenanceRemote MCP server with built-in OAuth authentication via Cloudflare Access, enabling secure tool access and user identity-based restrictions.
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenSIN-Code/SIN-Mac-Gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server