Orange Pi RV2 MCP Control

This page follows the repo's documented MCP contract. It treats orangepi-gateway-ops as the repo-specific operational MCP server, Playwright MCP as the browser automation companion for nginx and MoltBot pages, and GitHub MCP as the hosted repo / issue / PR / Actions lane for Codex.

Hardwired Bootstrap Contract

Probe first gateway_health_snapshot -> https://orangepirv2.tail59ab20.ts.net
Report exact status line MCP status: orangepi-gateway-ops is active and responding (health probe passed).
Direct deploy path after the probe deploy -> scripts\deploy-and-regress.bat deploy-only -> scripts\deploy-safe.bat

orangepi-gateway-ops

The repo's custom MCP server for gateway health, SPI, backups, regression, deploy orchestration, ESP32 ops, and HCS12 tooling.

Role
Repo Primary
Use this first for operational work in new sessions.
Bootstrap Target
tailscale host
health probe target: https://orangepirv2.tail59ab20.ts.net
Probe Status
Unknown
Browser mirror of the MCP health target bundle.

            

Playwright MCP

Keep Playwright focused on browser automation for the nginx-served UI and MoltBot/OpenClaw pages. It complements orangepi-gateway-ops; it does not replace repo-specific operational tooling.

Role
UI Lane
Use for browser verification and debugging.
Primary Target
/moltbot/overview
Public TLS path served through nginx.
Target Status
Unknown
Browser checks for overview, dashboard, and regression page.

            

GitHub MCP

GitHub's official MCP server adds repository, issue, pull request, Actions, gist, and related GitHub workflows to Codex. For this repo, treat it as the hosted GitHub lane that complements the local gateway and browser MCP servers.

Role
GitHub Lane
Use for repo, issue, PR, Actions, and gist operations.
Connection
Remote HTTP
endpoint: https://api.githubcopilot.com/mcp/
Auth
PAT Required
Set GITHUB_PAT_TOKEN before starting a new Codex session.

            

Live Gateway Snapshot

This mirrors the endpoint set documented for gateway.health_snapshot: /health, /api/system/status, /api/spi/status, /api/network/pi/status, and /api/network/esp32/status.

Documented Tool Families

Codex Config Composer

The output below matches the current repo path and the Codex config blocks expected for the local gateway/browser MCP servers plus the hosted GitHub MCP endpoint.

Browser limitation: paste this into C:\Users\JohnBaker\.codex\config.toml on the operator machine, ensure GITHUB_PAT_TOKEN exists if you included GitHub MCP, then start a new Codex chat so the servers attach.

Operator Commands

Start orangepi-gateway-ops manually
Start Playwright MCP manually
Add GitHub MCP to Codex via CLI
PowerShell GitHub PAT example
Browser probe scripts already documented in the repo node <PLAYWRIGHT_RUNNER> scripts/browser-tools/moltbot-panel-smoke.js node <PLAYWRIGHT_RUNNER> scripts/browser-tools/moltbot-chat-roundtrip.js node <PLAYWRIGHT_RUNNER> scripts/browser-tools/moltbot-toggle-persistence.js
Direct verification targets curl -ks https://localhost/health curl -ksS -o /dev/null -w '%{http_code}\n' https://localhost/moltbot/overview?token=orangepi python scripts/run_all_tests_via_test_runner_api.py https://orangepirv2.tail59ab20.ts.net