About FrelyMCP
FrelyMCP and its CLI connect selected computers to a Frely account, letting remote AI clients use approved workspaces and local services. It also manages account items and can share local model runtimes.
Key features
- 01Expose selected computers to remote clients
- 02Share approved workspace folders
- 03Forward local MCP servers
- 04Install Agents, Prompts, and Skills
- 05Publish local model runtimes
Use cases
- 01Access files and processes on a remote computer
- 02Reach a local-only MCP server remotely
- 03Install a Frely Agent as a local Skill
MCP support
FrelyMCP provides one remote MCP address for computers enabled with `frely mcp start`. It exposes workspace file operations and process tools, and can forward local MCP servers after they are enabled.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.frely.cloud/mcpclaude mcp add --transport http cloud-frely-frelymcp https://mcp.frely.cloud/mcp{"mcpServers":{"cloud-frely-frelymcp":{"type":"http","url":"https://mcp.frely.cloud/mcp"}}}Open in Cursor{"servers":{"cloud-frely-frelymcp":{"type":"http","url":"https://mcp.frely.cloud/mcp"}}}Open in VS Code{"mcpServers":{"cloud-frely-frelymcp":{"type":"http","url":"https://mcp.frely.cloud/mcp"}}}{"mcpServers":{"cloud-frely-frelymcp":{"serverUrl":"https://mcp.frely.cloud/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.frely.cloud/mcphttps://mcp.frely.cloud/mcp/publicTools
Details
From the project READMEFrely CLI
Website · Docs · Frely · English · 简体中文
Frely CLI (frely-cli) connects a computer you choose to FrelyMCP, so ChatGPT, Claude, Codex and other MCP clients can work on it from anywhere. They use the files, shell commands and processes in the folders you allow. The computer connects out to Frely, so you open no ports.
It is also the command line for your Frely account:
- Device MCP: let remote AI clients work on this computer.
- Local MCP servers: pass MCP servers that only run on this computer (for example on
127.0.0.1) through to remote clients. - Agents, Prompts and Skills: install a published Frely Agent as a local Skill, or install Prompts and Skills you bought.
- Local model sharing: publish a local Ollama or OpenAI-compatible runtime as your own Frely Provider.
Install
A server, with a Frely account (no browser)
Get a one-time install command on the Frely website (My Devices → Add a computer → Create install command), or ask ChatGPT or Claude connected to FrelyMCP to add a computer. Paste it on the server:
curl -fsSL https://frely.cloud/start.sh | FRELY_INSTALL_TOKEN=fit_... sh
It installs frely, signs in to your account, enables Device MCP and starts the background service. The token works once and expires after 15 minutes. On Linux, run sudo loginctl enable-linger $USER so the service stays online after you log out of SSH. More
A computer with a browser
# macOS / Linux
curl -fsSL https://frely.cloud/start.sh | sh
# Windows (PowerShell)
curl.exe -fsSLo "$env:TEMP\frely-start.ps1" https://frely.cloud/start.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\frely-start.ps1"
The script installs the latest frely, opens the browser to sign in (new accounts can register there), asks you to approve this device and prints your MCP URL. Run it again any time to update. The workspace is your home directory by default; set FRELY_WORKSPACE=/path to share another folder. More
Let your agent set it up
Ask an agent that has a shell (Claude Code, Codex, pi) to install the CLI, sign in with frely login --email, and run frely skill install --host <host>. The frely Skill teaches the agent to use your account and to offer FrelyMCP only when a request needs it. This path does not open this computer to remote clients; frely mcp start does.
Install only
https://frely.cloud/install.sh and install.ps1 only install the program, for scripts and agents that need the CLI. Or use npm (Node.js 22 or newer):
npm install --global --ignore-scripts frely-cli@latest
The installers check the SHA-256 and download from GitHub Releases first, then npmmirror and npmjs. More
Common commands
| Command | What it does |
|---|---|
frely mcp start | Sign in if needed, enable Device MCP, start the service and print the MCP URL. Safe to re-run. |
frely mcp status | Show the MCP URL, workspace, authorization expiry and service state. |
frely mcp workspace add <path> | Share another folder. frely mcp workspace list shows them all. |
frely mcp stop / frely mcp start | Pause or resume the background service. |
frely mcp auto-update [on|off] | Let the background service update itself while idle (macOS/Linux, off by default). |
frely mcp remove | Revoke access for every client and uninstall the service. |
frely doctor | Check sign-in, installation, service and connection. -v for details. |
frely update | Update to the latest version in place. |
frely login / frely logout | Sign in or out of your Frely account. |
frely sandbox proxy <url> | Forward the command sandbox's network traffic to your own HTTP(S) proxy. Without it the CLI uses HTTPS_PROXY / HTTP_PROXY / ALL_PROXY and, on macOS, the system proxy. --clear removes it; restart the service to apply. |
frely tunnel <host>:<port> | Inside a sandboxed command: listen on 127.0.0.1 and forward TCP connections to host:port through the sandbox, for database and redis clients. --local-port N picks the local port. |
frely uninstall | Remove Frely from this computer (lists everything first). |
All commands and options: command reference. frely help --agent --json prints the full machine-readable contract.
Use with FrelyMCP
FrelyMCP is one MCP address for your whole account: https://mcp.frely.cloud/mcp. Every computer where you ran frely mcp start appears behind it.
- On the computer to control, run
frely mcp start(the install scripts above already do this). - Add the URL to your client as a remote MCP server with OAuth:
- ChatGPT or Claude: add a custom connector with the URL.
- Claude Code on another computer:
claude mcp add --transport http frely "https://mcp.frely.cloud/mcp", then open/mcpto authorize.
- Sign in to Frely and approve the client.
To check the connection, ask the client to list the top-level names in your workspace.
- What the AI can do:
list_devices, thenread,edit_file,processandweb_fetchon the computer you pick, plus your account throughfrely_listandfrely_call. More - Local MCP servers: loopback servers are found automatically (
frely mcp local list); each stays hidden until you turn it on in Frely. More - Authorization: access lasts 90 days by default;
frely mcp start --days 1..365renews early. The URL never changes. More
More features
- Frely-hosted Agents:
frely item install <username/name> --host claude-codeinstalls an Agent as a local Skill;frely agent run <username/name>calls it. More - Marketplace Prompts and Skills:
frely item install <username/name> --host claude-code(the same command installs Agents too; add@3for version 3). Paid parts install only when your account holds a pass.frely item updatelists installed items that have a newer version; it changes nothing until you runfrely item update <folder>. More - Local model sharing:
frely provider share ollamapublishes a loopback model server as your personal Frely Provider. More - Share a local web page:
frely share 3000asks first, then prints a private link tohttp://127.0.0.1:3000through Frely's relay until you press Ctrl+C or it expires (at most 24 hours). Relay traffic is a plan allowance per UTC week; direct connections are not counted. Not the same asfrely provider share(local models) orfrely tunnel(inside the command sandbox). - Your account from the terminal:
frely api list|describe|call. More
Safety
File tools stay inside the shared workspaces and protect credential and shell start-up files. Commands run as your OS user inside an OS sandbox, and are refused where the computer cannot sandbox them. Clients hold OAuth tokens; the CLI keeps its own key in the system credential store. Is it safe? · Sandbox and permissions · Credential storage
Documentation
- Help: cli.frely.cloud/docs (update, doctor, uninstall)
- Contracts, for contributors: Device MCP · Device Relay transport · MCP OAuth contract ·
frely api· Frely Network (preview) · self-update · service maintenance
License and trademarks
frely-cli is licensed under the Apache License 2.0; see LICENSE. The Frely name, logos and product names are not licensed as trademarks; see TRADEMARKS.md. See CONTRIBUTING.md for development and SECURITY.md to report a vulnerability.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.
