System Requirements
Factory Bridge is available for MacOS and supported on most browsers except Safari and Brave.Installation
1
Download Factory Bridge
Download the Factory Bridge from the “Connect to Machine” -> “Local Machine” menu in the top-right corner of a Factory session.
2
Install Factory Bridge
macOS
- Open the downloaded
.zip
file - Drag Factory Bridge to your Applications folder
Getting Started
1
Launch Factory Bridge
If Factory Bridge isn’t already running, launch it from your applications menu or folder. Look for the Factory Bridge icon in your system tray or menu bar to confirm it’s running.
Factory Bridge runs in the background and manages its own window state. You can always access it by clicking on the tray icon.
2
Enter Pairing Code
When you first launch Factory Bridge, you’ll be prompted to enter a pairing code:
- Open Factory in your browser
- Navigate to a session where you want to use local capabilities
- Click on the CPU button in the top right of the session view, click “Local Machine”
- Factory will display a pairing code
- Enter this code in the Factory Bridge application
3
Confirm Connection
Once successfully paired:
- The Factory Bridge interface will display “Bridge Paired” with a green indicator
- Factory will show that Bridge is connected in the session
- You can now access local capabilities in your Factory session
Use Cases
Running Local CLI Commands
Factory Bridge allows you to execute local CLI commands directly from Factory sessions, making it easy to interact with your local development environment.Execute Commands
Run commands on your local machine:Factory will display the command output in real-time.
Navigate Local Filesystem
Navigate and interact with your local filesystem:Commands execute in your specified working directory.
Managing Local Processes
1
Start Processes
Launch local servers, build processes, or any long-running tasks:
2
Monitor Output
View real-time stdout and stderr output from the running process directly in Factory.
3
Interact with Processes
Send input to running processes as needed, such as responding to prompts or entering commands.
4
Terminate Processes
Easily stop processes when you’re done or need to restart them.
Development Workflow Integration
Local Server Development
Local Server Development
Run a local development server and interact with it directly through Factory:
- Start your development server via Factory Bridge
- Make code changes in Factory
- See real-time output from your server
- Test your changes without switching contexts
Build and Test Processes
Build and Test Processes
Run build processes, test suites, and CI tasks locally:
- Execute build commands through Factory
- Review build output in real-time
- Run tests and analyze results
- Fix issues without leaving Factory
Environment Setup
Environment Setup
Configure development environments directly from Factory:
- Create and activate virtual environments
- Install dependencies
- Set up configuration files
- Initialize projects
Troubleshooting
Connection Issues
Connection Issues
If Factory can’t connect to Bridge:
- Ensure Factory Bridge is running (check your system tray)
- Verify you’ve entered the correct pairing code
- Restart Factory Bridge and try again
- Check if you have too many sessions open (current limit is 6 concurrent connections)
Missing Tool Options
Missing Tool Options
If CLI tools don’t appear in Factory:
- Make sure the MCP Bridge feature flag is enabled
- Refresh your Factory session
- Check that you’re using Droid Mode in the model selection dropdown
Process Management Issues
Process Management Issues
If you encounter issues with process execution:
- Ensure you have the necessary permissions to run the command
- Check that required dependencies are installed
- Verify the working directory exists and is accessible
- Use absolute paths instead of relative paths for greater reliability
Security Considerations
Factory Bridge establishes a secure local connection between your machine and Factory. Here’s what you should know:- Bridge runs only on your local machine and doesn’t expose your system to the internet
- All commands are executed with your user permissions only
- The pairing code ensures only authorized Factory sessions can connect
- You maintain full control over which processes are executed
Learn More About Factory Security
Explore Factory’s comprehensive security measures and compliance standards