Pair with a genMC studio tab
genmc_pairConnect to the user's open genMC studio tab. The user sees a code like "K7Q-4MX" after choosing "Connect agent" in the studio header. Pairing returns a resumeKey: if your MCP connection drops or restarts (an unknown session, a failed server), call genmc_pair with that resumeKey instead of asking the user for a new code. Resuming from another MCP session (a second client, a script) attaches it in addition: all your sessions reach the same tab. After pairing, the tab's WebMCP tools (skins, builds, whichever studio is open) appear in your tool list; if your client does not refresh it, use genmc_status and genmc_call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Pairing code shown in the studio, e.g. K7Q-4MX. | |
| resumeKey | No | Key from an earlier genmc_pair result; reconnects to the same tab without a new code. |