Connect Chatgpt
connect_chatgptConnects this Mac to ChatGPT: creates (or repairs) the LMCP connector inside the user's ChatGPT account so ChatGPT can use this Mac's tools. Runs on this Mac only. If they aren't signed in, a ChatGPT window opens for them to sign in themselves — you never handle their password, and no credential is ever passed as an argument. Requires Developer mode, which this turns on when it can. Pass recreate:true to delete the existing connector and build a fresh one (token rotation). Returns run_id plus one entry per stage; a stage with status needs_user is waiting for the person, not broken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Ignored; kept for older clients. | |
| recreate | No | Delete the existing LMCP connector and create it again (use when its token has to rotate). Default false: an existing, connected connector is left alone. | |
| wait_seconds | No | How long to wait for the run before answering with what happened so far (default 300, max 900). The run continues either way; look it up later by run_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when the run ended with the connector in place (outcome 'success'). | |
| run_id | Yes | Identifier of this run, the same one the telemetry groups its stages by. | |
| stages | No | One entry per stage, in the order they happened. | |
| message | No | What the user should read or do next, taken from the last stage that has something to say. | |
| outcome | Yes | success | needs_login | blocked | error | unverified. 'unverified' means the flow ran and nothing was observed to fail — not that it failed. | |
| finished | Yes | False when the wait ran out before the run ended; the stages listed are the ones that had happened by then, and the run kept going. |