frely-cli
OfficialPublishes a local Ollama OpenAI-compatible runtime as a Frely personal Provider, allowing local models to be shared and used through Frely.
Click on "Deploy 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., "@frely-clisearch my workspace for TODO comments and summarize them"
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.
Frely 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_... shIt 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@latestThe installers check the SHA-256 and download from GitHub Releases first, then npmmirror and npmjs. More
Related MCP server: CodePier
Common commands
Command | What it does |
| Sign in if needed, enable Device MCP, start the service and print the MCP URL. Safe to re-run. |
| Show the MCP URL, workspace, authorization expiry and service state. |
| Share another folder. |
| Pause or resume the background service. |
| Let the background service update itself while idle (macOS/Linux, off by default). |
| Revoke access for every client and uninstall the service. |
| Check sign-in, installation, service and connection. |
| Update to the latest version in place. |
| Sign in or out of your Frely account. |
| Forward the command sandbox's network traffic to your own HTTP(S) proxy. Without it the CLI uses |
| Inside a sandboxed command: listen on |
| 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. MoreLocal MCP servers: loopback servers are found automatically (
frely mcp local list); each stays hidden until you turn it on in Frely. MoreAuthorization: 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. MoreMarketplace 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>. MoreLocal model sharing:
frely provider share ollamapublishes a loopback model server as your personal Frely Provider. MoreYour 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Remote MCP server to run your Atako AI agents: chat, projects, files, integrations and channels.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA desktop launcher and local MCP workspace server that enables ChatGPT and other MCP clients to securely read, edit, search, run commands, and show changes in selected local project folders.1MIT
- AlicenseNot gradedqualityAmaintenanceConnects ChatGPT and MCP clients to authorized local development environments, enabling secure file access, shell execution, persistent tasks, browser/desktop control, and remote management of projects.18MIT
- AlicenseNot gradedqualityAmaintenanceThis local MCP runtime lets ChatGPT work with projects on your own device, run processes, and perform computer control. It also provides workspace browsing, Git repository and process management, plugin-attributed operation logs, and optional public access for remote MCP and WebUI use.50 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP-capable chat clients like ChatGPT, Claude, and Cursor to read, search, edit, and run commands on a local machine, including git operations and browser automation. Runs as a local daemon with workspace path jails, safety modes, checkpoints, and human-in-the-loop approval for edits and shell commands.MIT