Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A9T9 RPA Bridge Installation

From Leeroopedia
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:

confignew=merge(configold,{mcpServers.uivision=serverEntry})

Related Pages

Implemented By

Uses Heuristic

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment