Principle:A9T9 RPA Bridge Installation
| Knowledge Sources | |
|---|---|
| Domains | MCP, Setup |
| Last Updated | 2026-10-22 00:00 GMT |
Overview
Mechanism for registering a local MCP bridge process with external AI client configurations (Claude Code, Cursor) so the client can launch and communicate with the bridge.
Description
Bridge Installation is the setup process that makes an MCP bridge discoverable by external AI clients. The bridge process is launched by the MCP client (Claude Code, Cursor) as a subprocess via `npx uivision-mcp-bridge`. For the client to know how to launch it, the bridge must register itself in the client's configuration file.
The `runSetup` function detects which MCP clients are installed (by probing for known config file paths), and `registerWith` writes the server entry (`{ command: 'npx', args: ['-y', 'uivision-mcp-bridge', '--port', port] }`) into each client's config file under the `mcpServers` key. A backup of the existing config is saved before writing to avoid data loss.
Usage
Use this principle when designing an MCP bridge that needs to self-register with external AI clients during a one-time setup step.
Theoretical Basis
Registration is a config-file merge: