Xpersona
W

WebMCP Bridge

CLAWHUB · Unverified

Connect a website to the local-mcp browser bridge through a fixed UXC link. Use when the user needs to operate native WebMCP sites or adapter-backed sites th...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1769rm50f8wvzw550m22hg10x83gkem:webmcp-bridge
  1. Install using `clawhub skill install s1769rm50f8wvzw550m22hg10x83gkem:webmcp-bridge` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/jolestar/webmcp-bridge before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jolestar-webmcp-bridge/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

42,504 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: webmcp-bridge
description: Connect a website to the local-mcp browser bridge through a fixed UXC link. Use when the user needs to operate native WebMCP sites or adapter-backed sites through local-mcp, manage per-site browser profiles, or switch bridge presentation modes explicitly.
---

# WebMCP Bridge

Use this skill to operate `@webmcp-bridge/local-mcp` through one fixed `uxc` shortcut command per site.

If the target site does not expose native WebMCP and does not already have a fallback adapter, switch to `$webmcp-adapter-creator`.

## Prerequisites

- `uxc` is installed and available in `PATH`.
- `npx` is installed and available in `PATH`.
- Network access is available for the target website.
- On a fresh machine, or under an isolated `HOME`, install Playwright browsers first with `npx playwright install`.
- For local repo development, you may replace the default `npx -y @webmcp-bridge/local-mcp` launcher with `WEBMCP_LOCAL_MCP_COMMAND='node packages/local-mcp/dist/cli.js'`.

## Core Workflow

1. Identify the bridge source mode before creating any link:
   - Native or polyfill target: use `--url <url>`.
   - Built-in adapter preset: use `--site <site>`.
   - Third-party adapter module: use `--adapter-module <specifier>` and optionally `--url <url>`.
2. Pick one stable site name and one site-scoped profile path:
   - default profile root: `~/.uxc/webmcp-profile/<site>`
   - never share one profile across different sites
3. Create or refresh the fixed link for that site:
   - `command -v <site>-webmcp-cli`
   - if the link is missing or the source config changed, run `skills/webmcp-bridge/scripts/ensure-links.sh`
4. Inspect the bridge and tool schema before calling tools:
   - `<site>-webmcp-cli -h`
   - `<site>-webmcp-cli <operation> -h`
   - `<site>-webmcp-cli <operation> field=value`
   - `<site>-webmcp-cli <operation> '{"field":"value"}'`
5. Treat presentation mode as explicit runtime state, not command-name intent:
   - check current state with `<site>-webmcp-cli bridge.session.status`
   - or `<site>-webmcp-cli bridge.session.mode.get`
   - `--headless` or `--no-headless` only sets the preferred default for bridge-managed sessions
   - the actual runtime mode is `presentationMode`
6. Switch modes explicitly when needed:
   - for normal automation, stay in `headless`
   - for login, MFA, or human collaboration, run `<site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'`
   - then open or focus the visible session with `<site>-webmcp-cli bridge.open`
   - if the user manually closes that window, the headed owner session ends; run `bridge.open` again to start a new headed session on the same profile
   - close the visible owner session with `<site>-webmcp-cli bridge.close`
7. Parse JSON output only:
   - success path: `.ok == true`, consume `.data`
   - failure path: `.ok == false`, inspect `.error.code` and `.error.message`

## When Only Bridge Tools Are Visible

If `<site>-webmcp-cli -h` only shows `bridge.*` tools, do n

_meta.json

{
  "ownerId": "kn76v1w3vse2yfx3k4dkkbn9bd81xemv",
  "slug": "webmcp-bridge",
  "version": "0.1.2",
  "publishedAt": 1774421337220
}

references/link-patterns.md

# Link Patterns

Use a fixed naming scheme so humans and agents can predict the command names.

## Link Names

For site name `<site>`:

- Link: `<site>-webmcp-cli`

Examples:

- `board-webmcp-cli`
- `x-webmcp-cli`

## Profile Layout

Use one profile directory per site:

```bash
~/.uxc/webmcp-profile/<site>
```

Examples:

```bash
~/.uxc/webmcp-profile/board
~/.uxc/webmcp-profile/x
```

For auth-sensitive sites such as `x` and `google`, the shared profile is also the anchor for
`bridge.session.bootstrap` and later attach-mode reuse. Do not omit `--user-data-dir` for those sites.

## Link Creation Pattern

```bash
command -v <site>-webmcp-cli
skills/webmcp-bridge/scripts/ensure-links.sh --name <site> --url <url>
<site>-webmcp-cli -h
<site>-webmcp-cli <operation> -h
```

## Invocation Pattern

Prefer `key=value` for simple inputs:

```bash
<site>-webmcp-cli <operation> field=value
```

For nested payloads, use one positional JSON object:

```bash
<site>-webmcp-cli <operation> '{"field":"value"}'
```

When mode matters, inspect and switch it explicitly:

```bash
<site>-webmcp-cli bridge.session.mode.get
<site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'
<site>-webmcp-cli bridge.open
```

references/source-modes.md

# Source Modes

Pick exactly one primary source mode for each site link.

## URL mode

Use URL mode when the page itself exposes native WebMCP or when you want polyfill-only behavior without an adapter preset.

Examples:

```bash
skills/webmcp-bridge/scripts/ensure-links.sh --name board --url https://board.holon.run
skills/webmcp-bridge/scripts/ensure-links.sh --name board --url http://127.0.0.1:4173
```

Generated local-mcp arguments:

```bash
--url <url>
```

## Built-in adapter mode

Use a built-in site preset when `@webmcp-bridge/local-mcp` already ships the fallback adapter.

Example:

```bash
skills/webmcp-bridge/scripts/ensure-links.sh --name x --site x
```

Generated local-mcp arguments:

```bash
--site <site>
```

## External adapter mode

Use an external adapter module when the fallback implementation is shipped outside the local-mcp package.

Example:

```bash
skills/webmcp-bridge/scripts/ensure-links.sh \
  --name fixture-demo \
  --adapter-module ./examples/adapter-template/dist/index.js
```

Optional URL override example:

```bash
skills/webmcp-bridge/scripts/ensure-links.sh \
  --name custom-site \
  --adapter-module @your-scope/webmcp-adapter \
  --url https://example.com
```

Generated local-mcp arguments:

```bash
--adapter-module <specifier> [--url <url>]
```

## Selection Rules

- If the user gives an exact URL and does not ask for a fallback adapter, start with URL mode.
- If the user asks for a built-in site preset such as `x`, use `--site`.
- If the user provides an npm package, file path, or `file://` URL for an adapter, use `--adapter-module`.
- Do not combine `--site` and `--adapter-module`.

references/troubleshooting.md

# Troubleshooting

## Link exists but points to old config

Recreate the link with `--force` through the helper script:

```bash
skills/webmcp-bridge/scripts/ensure-links.sh --name <site> ...
```

The script always refreshes the fixed site link.

## Headless flow cannot authenticate

Switch the managed session to `headed`, then open the visible window:

```bash
<site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'
<site>-webmcp-cli bridge.open
```

After login, switch back explicitly if needed:

```bash
<site>-webmcp-cli bridge.session.mode.set '{"mode":"headless"}'
```

If `bridge.session.mode.set` returns `UNSUPPORTED_SESSION_CONTROL`, the current session is either external attach or bootstrap-only. Use a headed external browser, or finish attach first.

## Only bridge tools are visible

If `<site>-webmcp-cli -h` only lists `bridge.*`, the stdio bridge is running but the site runtime is not ready yet.

Start with:

```bash
<site>-webmcp-cli bridge.session.status
```

Then choose the next step from the status:

- If auth/bootstrap is incomplete, start or resume bootstrap:

```bash
<site>-webmcp-cli bridge.session.bootstrap
```

Complete login, then rerun:

```bash
<site>-webmcp-cli -h
```

- If the managed profile should already be logged in, attach the session:

```bash
<site>-webmcp-cli bridge.session.attach
```

Then rerun:

```bash
<site>-webmcp-cli -h
```

- If the task requires a visible browser while recovering:

```bash
<site>-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'
<site>-webmcp-cli bridge.open
```

Only continue to business tools after help output shows the site operations again.

## The command default says headless but the session is still headed

The launcher only sets the preferred default for bridge-managed sessions. It does not force the current live session to restart.

Check actual runtime state:

```bash
<site>-webmcp-cli bridge.session.status
```

If the current session is managed, switch it explicitly:

```bash
<site>-webmcp-cli bridge.session.mode.set '{"mode":"headless"}'
```

## UI window flashes open and closes immediately

If the window still flashes open and disappears, verify that:

- `uxc` is updated to a recent release
- the `<site>-webmcp-cli` link was recreated after updating `uxc`
- the environment can launch Playwright browsers for the current `HOME`
- `bridge.session.status` reports `presentationMode = headed`
- the current daemon idle TTL policy is not immediately reaping the process after the command returns

Then rerun:

```bash
<site>-webmcp-cli bridge.open
```

If your environment needs a more aggressive keepalive policy for interactive sessions, recreate the link with an explicit daemon TTL override:

```bash
WEBMCP_DAEMON_IDLE_TTL=0 skills/webmcp-bridge/scripts/ensure-links.sh --name <site> ...
```

## The user closed the headed browser window manually

Run the same open command again:

```bash
<site>-webmcp-cli bridge.open
```

Closing the last headed browser window ends that owne

Sponsored

Ads related to WebMCP Bridge and adjacent AI workflows.