Browser extension for human-authoritative AI control
The MiraiLens Connector is the browser-side control layer of the MiraiLens ecosystem. It connects the MiraiLens MCP server to an active Chrome browser while maintaining authoritative browser-control state and allowing the human to interrupt or take control at any time.
The MiraiLens MCP Server runs locally on your machine via Node/npm and coordinates tool execution requests from the AI Agent. The **MiraiLens Connector** Chrome extension connects directly to this server using a local WebSocket connection.
In browser automation, the AI client runs remote scripts. MiraiLens Connector protects against AI attempts to spoof authority:
scripting
Enables authorized browser interactions on the active page — interacting with elements and executing supported browser actions.
tabs
Identifies and manages the tab associated with an active session, and safely handles events like tab closure mid-session.
activeTab
Accesses the tab the user is actively controlling or has authorized for a session, required for core control functionality.
storage
Persists configuration and control-state information so control stays safe across extension and browser lifecycle events.
alarms
Runs periodic heartbeat checks between the extension and MCP server to detect stale connections.
host_permissions
Grants access to web pages, required for the MCP-connected agent to perform authorized interactions.
* Note: MiraiLens requests active permissions only to facilitate core browser interactions requested by the local user. It does not gather metrics or profile your browsing activities.
The MiraiLens Connector acts as a state gatekeeper. Browser-control transitions are deterministic and extension-authoritative.
An active AI session is immediately aborted and transitioned to HUMAN_TAKEOVER when user interaction is detected. The AI cannot override this state.
Control transitions are extension-authoritative. The MCP server mirrors browser control state but cannot override a state owned by the human.
We present these architectural constraints as developer transparency rather than marketing omissions: