Skip to content
feega
star on github download

Connect your agent via MCP

Run npx feega mcp so Claude Code, Cursor or Codex can read the element you selected in Feega and the changes you made.

npx feega mcp serves Feega to your coding agent over MCP on stdio. The agent can ask for the element you selected, by file and line, instead of working from a description.

Claude Code:

Terminal window
claude mcp add feega -- npx -y feega mcp

The Claude Code plugin bundles this server: installing it adds feega without the command above.

Cursor, in .cursor/mcp.json of the project (or ~/.cursor/mcp.json for every project):

{
"mcpServers": {
"feega": {
"command": "npx",
"args": ["-y", "feega", "mcp"]
}
}
}

Codex, in ~/.codex/config.toml:

[mcp_servers.feega]
command = "npx"
args = ["-y", "feega", "mcp"]

Start the agent from your project folder: Feega picks the editor that has that project open.

They need no sign-in. Open Feega in the project first, with npx feega or the VS Code panel.

ToolReturns
feega_selectionThe selected element: source file and line, selector, component and view. The same text as Copy for agent.
feega_screenshotA screenshot of the tab you are looking at, as an image. Pass selection to crop it to the selected element.
feega_contextThe block the Agent tab attaches: selection, page, preview width, breakpoint, theme, state and focused component. Answers even with nothing selected.
feega_changesThe visual edits made in this session: property, value, scope and the files each one touched.
feega_review_linkA link that opens the change in Feega Cloud on any device: the pushed branch, or the live room. Says the git push to run when the branch is not on GitHub.
feega_sessionWhere you edit: local, or cloud with the repo, branch, folder and people of a Feega Cloud session.
feega_editorsThe Feega editors running on this machine, with their project.

feega_selection, feega_screenshot, feega_context, feega_changes and feega_session take an optional project folder to ask another editor. With several editors on one project, the one used last answers. When none is running, the tool says to open Feega in the project first, and names the projects that have it open.

Feega listens on 127.0.0.1 only. Each editor writes its port and a random token to ~/.feega/editors, readable by your user only, and requests without the token are refused.

feega_share, feega_snapshot, feega_comments, feega_review, feega_resolve and feega_stop share the running editor as a live link, read the comments left on it and read the review. Sharing by link is free for a lone editor. A team with more than one editor needs a Feega Cloud subscription, and feega_share takes visibility: 'org' to share with collaborators only, which needs a team subscription. Signed out, they say to run npx feega and sign in, or to set FEEGA_API_KEY. Without a plan, they point to the billing page.

A shared session is reviewed in rounds. In the Comments tab of the left bar, write what changed and choose Publish new round: the round records the edits listed in the Changes tab. Each round starts awaiting review.

Reviewers open the session link after it ends. For each round they choose Approve or Request changes, with an optional note. The status of the session follows its latest round: changes requested if any reviewer asked for changes, approved if at least one approved and none asked, awaiting review otherwise. The host cannot decide on their own round.

The Comments tab is the last one in the left bar, after Layers, Pages and Components. A badge on it counts the comments and replies you have not seen yet; it clears when you open the tab. The tab shows the status of the latest round and who decided. feega_review gives your agent the same: the status, the round, each verdict with its note and the comments still unresolved, so it can act on the feedback and then call feega_resolve. Review rounds follow the same plan rules as sharing.