Better Remote Commander (BRC)
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Better Remote Commander (BRC)
English | 简体中文
BRC helps you make full use of chat allowances across AI providers—such as ChatGPT's currently free tier, or Gemini's separate chat and coding quotas—to safely control your computer from a chat window. This brings agent capabilities close to a local harness directly into everyday conversations, including file management, terminal command execution, and system status monitoring.
Based on shahidx0x/better-remote-commander, rewritten and optimized with runtime auto-adaptation for Windows, Linux, and macOS.
How It Works
AI chat (remote MCP client)
|
Public HTTPS endpoint (managed by you)
|
Traefik (rate limit and concurrent-request limit)
|
Relay (OAuth, device pairing, authorization)
|
Agent (file and terminal tools on your computer)The Agent opens an outbound WebSocket connection to Relay. It does not need a public listening port.
Related MCP server: agentic-remote-pc
Key Design
One global package:
@inoceanlee/brcinstalls the CLI, Relay, Agent, Traefik configuration templates, and native utilities.brc setupdownloads the verified Traefik executable.Manual lifecycle:
brc start,brc stop, andbrc statusmanage the three services. BRC does not install an automatic system service.Separate security layers: Traefik limits request rate and concurrent requests; Relay verifies OAuth clients, pairing, and tool access. The Agent performs approved operations with the permissions of its local user account.
Centralized settings: Edit
config/brc.yamlor usebrc config.
Requirements
Windows 10/11 x64, Linux x64/arm64, or macOS x64/Apple Silicon.
Node.js 22.13 or newer and either pnpm or npm.
Network access to GitHub during
brc setupto download and verify Traefik.A public HTTPS endpoint for remote clients, configured separately from BRC.
Public access is user-managed. The HTTPS endpoint terminates TLS and forwards HTTP and WebSocket traffic to Traefik at http://127.0.0.1:13001 (default). Tailscale Funnel or Cloudflare Tunnel can provide this entry point. BRC does not start or manage these tunnels.
Installation and Quick Start
Open PowerShell on Windows, or a terminal with Bash/zsh on Linux or macOS. The commands below work in each shell.
1. Install the package globally (choose one package manager):
pnpm:
pnpm add -g @inoceanlee/brcnpm:
npm install -g @inoceanlee/brc2. Initialize BRC:
brc setupChoose an administrator name (default: admin) and a password of at least 8 characters. Setup writes the local configuration and downloads Traefik.
3. Configure your HTTPS entry point:
Set up the public HTTPS forwarding separately, then tell BRC its address:
brc config set services.publicUrl https://your-domain.exampleProvide the HTTPS origin only; do not append /mcp.
4. Start BRC and pair the device:
brc start
brc status
brc logs agentOn first start, read the device verification URL and pairing code from the Agent log. Open the URL, approve the pairing, and confirm the Agent is online with brc status.
5. Connect your AI chat client:
In an AI chat client that supports remote MCP servers, add https://your-domain.example/mcp. Complete the client's OAuth authorization when prompted. The public entry point must support both HTTPS and WebSocket traffic.
Common Commands
Command | Purpose |
| Show help and all commands |
| Start Relay, Traefik, and Agent in sequence |
| Stop all managed services |
| Restart all managed services |
| Check service health and running status |
| View service logs |
| View effective configuration |
| Read a specific configuration setting |
| Update a setting and save atomically |
| Apply manually edited YAML configuration |
| Display configuration file path |
| Check and update Traefik binary |
| Clean temporary runtime data and invalid locks |
| Remove services, data, and package |
Update BRC to the latest version:
pnpm up -g @inoceanlee/brc --latest
# or
npm update -g @inoceanlee/brcConfiguration and Data Storage
BRC keeps its configuration and private data in platform-specific locations:
Windows:
%LOCALAPPDATA%\BRC\Linux:
$XDG_DATA_HOME/brcor~/.local/share/brcmacOS:
~/Library/Application Support/brc
Set BRC_DATA_ROOT to override the data root, or run brc config path to find the configuration file.
Troubleshooting
Device awaiting pairing: Run
brc logs agentto get the current verification URL and code. Approve it in your browser, then runbrc status.MCP client cannot connect: Verify all services with
brc status. Check that your HTTPS entry point forwards tohttp://127.0.0.1:13001and supports WebSocket connections. Use the exacthttps://your-domain.example/mcpURL.HTTP 401 from
/mcp: An unauthenticated request is expected to receive 401. Authorize the MCP client through the supported OAuth flow; do not disable Relay authentication.Services fail to start: Inspect
brc logs relay,brc logs traefik, andbrc logs agent. See SECURITY.md for trust boundaries.
Uninstallation
Keep configuration and private data: Stop the services, then remove the package using the same package manager used for installation.
pnpm:
brc stop
pnpm remove -g @inoceanlee/brcnpm:
brc stop
npm uninstall -g @inoceanlee/brcRemove BRC completely: This stops its services and permanently deletes its private data, including the Relay database, device credentials, configuration, and logs. It then removes the global package using the detected installation manager.
brc uninstallOn Windows, package removal starts after the command exits. Check the removal report path printed by BRC if removal fails. If the CLI remains installed, use pnpm remove -g @inoceanlee/brc or npm uninstall -g @inoceanlee/brc, matching your installation method. If the installation manager cannot be identified, BRC stops before deleting any data.
License and Security
See SECURITY.md for security guidelines, LICENSE for the open-source license, and NOTICE for third-party attributions.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Give your AI hands on every computer you own. Remote control of your Windows, Mac and Linux machines from one ChatGPT, Claude or Cursor chat — even from your phone. Ask it to find out why the office server is crawling, update every PC in the house, sort out your mom's laptop from another city, or ship the site from your work machine while you're on a train. It runs commands, reads files and takes a screenshot when it needs to see the screen. You decide what each computer allows, and you can cut any of them off in a second.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables secure remote access to your computer's filesystem and terminal through MCP, allowing AI assistants to manage files, run commands, and automate tasks from anywhere via a hosted relay.212-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to securely control a remote Windows/Linux PC via MCP and REST, executing shell commands and driving coding-agent CLIs like Claude, Cursor, and Codex.1-
- FlicenseNot gradedqualityAmaintenanceEnables web-based AI chat clients to securely operate a local machine through one OAuth-gated MCP endpoint, exposing governed tools for file read/write/edit, whitelisted shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost fetches, clipboard, notifications, ports, and Postman. It lets users build and edit projects, inspect databases and local APIs, drive browser workflows, and manage long-running jobs from a browser or mobile device without granting unrestricted shell access.-
- AlicenseNot gradedqualityAmaintenanceEnables web-based AI chat clients to securely operate a local computer through an OAuth-gated MCP endpoint, exposing governed tools for files, shell, search, Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, ports, Postman, and AIObox windows.MIT