Change designs, draw mockups, and provide suggestions in your browser and send them to your favorite coding agent (Claude, Cursor, Copilot, etc) to be implemented. VyBit works with React apps built with Tailwind v3 or v4.
To use VyBit:
- Add its MCP tools to your agent
- Start the MCP connection
- Have your app or website load the VyBit Editor script
VyBit uses MCP to tell your agent to implement the changes you commit.
Add VyBit to your Agent's MCP configuration. Below we've listed what these configurations might look like for different agents. The most important things to know are:
- VyBit is a Node project. So you will need NodeJS
>= 18. - VyBit runs using STDIO (not HTTP), so you will often need some sort of
commandorstdioconfiguration. - VyBit needs to run where your React app's
package.jsonis.
Copilot in .vscode/mcp.json
{
"servers": {
"vybit": {
"type": "stdio",
"command": "npx",
"args": ["@bitovi/vybit"],
"cwd": "${workspaceFolder}/packages/client"
}
},
"inputs": []
}Claude Code in .mcp.json
{
"mcpServers": {
"vybit": {
"command": "npx",
"args": ["@bitovi/vybit"],
"cwd": "/path/to/your/project"
}
}
}If your app runs in a Docker container, run VyBit inside the container instead of on the host. This is necessary because VyBit needs access to your project's node_modules to resolve Tailwind — which only exist inside the container, not on the host.
Replace the npx command with docker exec. For example, Claude Code in .mcp.json:
{
"mcpServers": {
"vybit": {
"command": "docker",
"args": ["exec", "-i", "<your-container-name>", "npx", "@bitovi/vybit"]
}
}
}You can find your container name by running docker ps.
You also need to expose port 3333 so the browser can load the editor overlay script. Add it to your docker-compose.yml (or override file):
ports:
- "3000:3000"
- "3333:3333"Then restart your containers for the port mapping to take effect.
Different agents connect to an MCP service in different ways:
Copilot
Click start
The Editor script adds the VyBit editor panel. The script needs to be added to any pages you want to edit.
The best way to add the editor script is to have your agent do it! Paste the following into your agent:
I would like to use [VyBit](https://github.com/bitovi/vybit) on every page of this application.
Please make sure we can load the overlay script at `http://localhost:3333/overlay.js` in a non-blocking way.
Here's some suggested code to add in the `<head>` of every page in development mode:
\```html
<script>
if (location.hostname === 'localhost') {
const s = document.createElement('script');
s.src = 'http://localhost:3333/overlay.js';
document.head.appendChild(s);
}
</script>
\```To start a session, you need to:
- Tell your agent to start pulling changes and implementing features
- Use the Editor to make changes
- Commit those changes to send them to the agent
In your agent, run the following prompt:
Please implement the next change and continue implementing changes with VyBit.
This will have your agent start a loop where it waits for changes, implements them, and then waits for new ones.
You should see an editor icon like this:
Click it. It will open the Editor Panel.
More on this later. But in short, click an element, then you can adjust the desig of it, or insert a panel to draw out changes. You can also add contextual messages. These are all draft changes until you commit.
Once you have the changes you want to make, you can click the drafts button. This will show you a list of changes. Click Commit All to send them to the agent to be implemented:
There are other MCP tools you can use if you don't want to work in the implement loop:
| Tool | Description |
|---|---|
implement_next_change |
Start here. Waits for the next committed change, returns implementation instructions, and requires the agent to apply it, mark it done, then call this tool again in an endless loop. |
get_next_change |
Returns the next committed change as raw patch data (no workflow instructions). Use this for custom agent workflows. |
mark_change_implemented |
Marks one or more changes as implemented by ID. Returns a directive to call implement_next_change again. |
list_changes |
Lists all changes grouped by status (staged, committed, implementing, implemented). |
discard_all_changes |
Clears the entire change queue. |
Use the PORT environment variable to change the server port (default: 3333):
PORT=4000 npx @bitovi/vybitIssues and PRs welcome at github.com/bitovi/vybit.
MIT © Bitovi