BlueRock Connector - macOS
The BlueRock Connector application for macOS establishes a secure bridge between local AI IDEs (Claude Code or Codex) and the remote BlueRock sandbox container. The application natively handles SSO and SSH key authentication, local port forwarding, and container lifecycle management to enable a fully remote coding workspace.
Here is the complete documentation content tailored specifically for the macOS sub-page.
Setup and Configuration Workflow
Follow the complete deployment path below, or jump directly to the required phase:
Prerequisites
Software and Client Applications
IDEs:
BlueRock Connector App: Contact BlueRock support to obtain the
BlueRock-Connector-notarized.zipfile.
System Requirements
Operating System: macOS (macOS 13 Ventura or later recommended).
Network and Security
Virtual Private Network (VPN): If the BlueRock instance resides on a private network, active VPN connectivity is required to reach the instance.
Endpoint Protection: On desktop clients running firewalls or security software, allow port
2259for inbound connections. The BlueRock Connector application runs a listener service on port2259and the loopback interface. The traffic is internal and never leaves the device.
Installation
Locate and unzip the
BlueRock-Connector-notarized.zipfile to extract the application.Double-click the extracted application to run it.
Access the BlueRock Connector from the Menu Bar (Status Menus) as well.

Authentication and Enrollment
Once the application opens, select the Set Up Connector button.
Select Continue on the welcome screen.

Choose one of the following authentication methods:
Sign in with BlueRock:

Select the Sign in with BlueRock option.
Provide CA server enrollment URL in the Enrollment URL field, and enter the public DNS or IP address of the BlueRock host in the Dev host field. Click Sign in.

Complete the sign-in flow in the web browser to authorize the application.
Sign in with SSH Key

Select the SSH key option.
Run the following command on the local client machine to obtain the fingerprint:
Enter the Bootstrap string in the application using the following format:
<host-ip>#fp=SHA256:<base64>(For example: 10.101.01.101#fp=SHA256:0x0x...)Click Browse, select the required SSH private key, and click Install Key.

Then click Close and Continue to Connector to proceed working with the connector app.

Environment Lifecycle Management
Create Sandbox
Select the Create sandbox button to initialize the remote sandbox container.
Stop Sandbox
Select Stop Sandbox to halt the running sandbox container. The sandbox container enters a stopped state and can be restarted later with the workspace intact.
Destroy Environment
Select Destroy Sandbox to terminate the remote sandbox container instance from the BlueRock host and unmount the remote files.
Then the system prompts for confirmation, select Destroy Sandbox - confirm to complete the termination.
Connecting AI Tools and Workspace Integration
Connecting to remote BlueDev Sandbox container from Claude Code IDE
Select the Connect Claude button in the Connector app.
Select Open Claude Desktop and follow the instructions given on the screen.
In the Claude IDE, click the Code menu option and select Local > SSH > Add SSH connection...
Enter
cobalt-59in the SSH Host field and click Add SSH Connection.
Then Claude Code will SSH into the remote Sandbox container. The remote sandbox container executes all tasks assigned to the coding agent in the Claude IDE chat window, bypassing the local workspace entirely.

Connecting to remote BlueDev Sandbox container from Codex IDE
Select the Connect Codex button in the Connector app.
Follow the on-screen dialog instructions and click the provided link to authenticate.
Authenticate with the OpenAI/ChatGPT account in the default browser.

Enter the one-time code and select Continue.

Upon completion of OpenAI account setup, the BlueRock Connector app gives a new prompt to Open Codex Settings.

In Codex, navigate to Connections > select SSH > click Add.

Select Remote and click Next.

Select
cobalt-59and click Add. Add the connection as a project to the Codex workspace.
In the New Remote Project pane, select cobalt-59 from the Remote dropdown and select Add Project.

Once the project connects successfully, it will be added in the SSH section.

Then use it as a project in the Codex workspace.

Verifying Session Execution and Script Output
In the connected Claude IDE or Codex environment, provide a prompt to create a basic "Hello World" Python script to verify the session.

Review and verify the script output directly within the IDE's terminal or shell.
Browsing Remote Sandbox Files via System File Explorer
In the BlueRock Connector application, select the Browse Files option.

View and interact with the remote files directly within macOS Finder. The
bluedevcontainer mounts natively on the macOS file system under shared network locations.
BlueRock Connector Command-Line Interface Features
The BlueRock Connector provides a Command-Line Interface (CLI) for advanced configurations on macOS. Developers must use the CLI to configure remote shares and manage manual port forwarding, as the graphical menu bar application does not include interfaces for these features.
Remote Shares
Remote shares mount external network storage directly into the sandbox.
Creating a Sandbox with a Share
Define the share parameters using the
--shareflag with thecobalt upcommand.Add an additional
--shareflag for each required mount.Execute the
lscommand inside the sandbox to verify the mount target.
Network File System (NFS) Example for Amazon Web Services (AWS) Elastic File System (EFS):
Server Message Block (SMB) Example for Azure Files:
Share Configuration Parameters
The --share flag accepts a comma-separated list of key-value pairs.
Key
Meaning
type=nfs or type=cifs
Required. The storage type. The system accepts smb as an alias for cifs.
server=
Required. The hostname or Internet Protocol (IP) address of the file server.
export=
Required. The NFS export path (must start with /) or the SMB share name.
target=
Required. The absolute path inside the sandbox.
ro
Mounts the storage as read-only.
user=
The SMB username.
password-env=VAR
The SMB password, read from the specified environment variable.
opt=key=value
An extra mount option. This key is repeatable.
Port Forwarding
The BlueRock Connector relays a TCP server running inside the sandbox to the local machine.
Automating Forwards with Claude Code
The Claude Code agent handles port forwarding automatically for development servers.
Ensure the sandbox is running. The BlueRock Connector menu bar application maintains the bridge connection automatically.
Select Connect Claude in the BlueRock Connector menu bar to initiate the agent.
Instruct the agent to build and start a web server.
The agent writes the code, starts the server inside the sandbox, and publishes the port.
Open the provided local address (e.g.,
http://127.0.0.1:3000) in a web browser.
Manual Port Forwarding
To publish a server manually, use the .bluedev-relay command directly inside the sandbox terminal:
Specifying a Local Port
To pin a specific local port to a sandbox port, execute the cobalt bridge command with the -L flag on the local machine:
The -L flag is repeatable. The system does not count these manual forwards toward the 16-forward limit.
Sandbox Terminal Commands
The following commands manage port forwards from within the sandbox terminal:
/.bluedev-relay expose 3000publishes sandbox port 3000./.bluedev-relay expose 8080 3000requests mapping local port 8080 to sandbox port 3000./.bluedev-relay listdisplays all current forwards./.bluedev-relay unexpose 3000terminates the forward for sandbox port 3000.
OTEL Events
The BlueRock Connector application enables developers to launch a remote sandbox container and execute coding agents within a secure workspace. Executing the coding agent inside the BlueDev Sandbox container on the BlueRock host provides visibility into agent activities and enforces security policies at runtime.
To provide this visibility, the system generates OTEL events from two primary sources and forwards both event streams to the external OTEL collector target configured in the bluerockd.toml file:
BlueRock Sensor Events: The BlueRock Sensor module generates OTEL events for actions occurring within the remote sandbox container, including process creation, file access, tool calls executed by the agent, and MCP server responses.
Agent Native OTEL events: The system captures standard OTLP events generated directly by coding agents, such as Claude, Codex, and Gemini. These events provide visibility into LLM conversations and token usage.
The system continuously combines these two event streams and forwards the unified telemetry to the external OTLP target specified in the host's bluerockd.toml configuration file. This routing ensures that AWS CloudWatch captures, structures, and displays all coding agent and container actions, providing administrators with a centralized dashboard for security and operational analysis.
For example, the following CloudWatch OTEL log shows an OTEL event of sensor_startup lifecycle event emitted by bluerockd when the identity monitoring agent binary initializes on a host.
OTEL event in AWS CloudWatch:

Another example is an OTEL event claude_hook event emitted by bluerockd when a new Claude session (SessionStart) initializes within a user's workspace context.
OTEL event in AWS CloudWatch:

Maintenance and Troubleshooting
Exporting Connector Logs
Administrators and support teams require connector logs to diagnose connection failures, session drops, or authentication errors. The application exports these logs in .jsonl (JSON Lines) format, which allows log explorers and parsing tools to easily analyze structured system events, authentication statuses, and error codes.
For example, an exported log file contains structured entries such as:
To export the application logs:
Right-click the BlueRock Connector icon in the macOS Menu Bar.
Select Export Logs....

Save the generated
.jsonllog file to a preferred local directory.
Session Expiration
The BlueDev Identity Server enforces session time limits to protect the development environment. When a user session certificate expires, the system automatically logs the user out of the SSH session, unmounts the remote sandbox file system, and stops the sandbox container. The system does not terminate the container. The remote workspace remains intact and resumes after developers sign in again and start the container.
The application displays an expiration notification. To reconnect to the host virtual machine, select Sign in again.

And complete the authentication flow in the web browser.

Network and SSH Disconnection
If a network issue abruptly closes the SSH session to the sandbox container, the system initiates a one-minute disconnect grace period.
If the SSH session to the sandbox container closes normally, the system initiates a 10-minute idle grace period.
If the connection does not resume within the respective grace period, the system stops the sandbox container. Select Start Sandbox to restart the container and resume the session.

Resetting Connector Configuration
Resetting the connector configuration clears local connection settings, the user SSH certificate, and authentication states to resolve persistent connectivity issues and prepare the application for a fresh enrolment.
To reset the configuration and recover the connection:
Select Reset Connector in the Sandbox dialog box.

Select the Confirm button in the prompt to clear the current configuration.
Last updated
