Use Feega Cloud with your local agent
Run npx feega connect so Claude Code, Cursor or Codex on your computer edit a Feega Cloud session, with the browser updating live.
Feega Cloud runs your app in the browser. npx feega connect brings the same session to your computer, so the coding agent you already use works on it.
Connect
Section titled “Connect”- In Feega Cloud, open the repo and choose Use with local agent in the Feega menu.
- Copy the command and run it in a terminal:
npx feega connect <code>- The dialog turns to connected with your computer’s name.
The code is valid for 15 minutes and opens only that session. Feega clones the repo and branch into a new folder, or uses the folder you are in when it is the same repo on the same branch. Ctrl+C leaves the session.
How edits flow
Section titled “How edits flow”- Your agent edits files as usual. Each saved file reaches the browser and the preview reloads it live.
- Edits made in the browser are written to your folder.
- When two people change the same file, the last write wins.
- Dependencies,
.gitand build output are never synced.
What your agent can read
Section titled “What your agent can read”Add the MCP server once, as in Connect your agent via MCP, and start the agent in the connected folder.
| Tool | In a Cloud session |
|---|---|
feega_selection | The element last selected in the Cloud page, by file and line. |
feega_session | cloud, the repo, branch, folder and the people in the session. |
feega_context | The same as feega_selection. |
feega_editors | Lists the connected folder next to local editors. |
feega_review_link | A link to this live room, to send for review. |
feega_screenshot and feega_changes answer only for a local editor.
Send a review link
Section titled “Send a review link”When your agent finishes a visual change, it sends you a link that opens it in Feega Cloud on any device: your phone, a client’s laptop. Private repos ask for GitHub sign-in first, then land straight in the editor.
npx feega review-link # the current branch, as pushed to GitHubnpx feega review-link --live # the live room of npx feega connecthttps://oh.feega.app/app/cloud/open?repo=acme%2Fsite&ref=feat%2Fherofeega: The branch feat/hero is not on GitHub yet: run git push -u origin feat/heroA branch link shows what is on GitHub, so push first: Feega prints the exact git push and never pushes for you. A live link joins the room and shows the edits not yet pushed. Agents get the same link from the feega_review_link tool, and the link button next to the Properties toggle in the editor shows it with a copy button.
The links open oh.feega.app, or FEEGA_CLOUD_URL when it is set.