Verify the In-Site installation, and run the go-live checklist (write)
verify_insite_installationValidates an in-site installation before shipping: exercises the live wiring against the account, audits your code against the go-live checklist, and flags what only you can confirm.
Instructions
WRITE. Checks an In-Site installation before it ships. It exercises steps 2 and 3 against the account for real. Its one write makes sure the customer it verifies against exists: the customer_ref given is upserted with its reference and Segment only -- created if missing, left unchanged if it exists -- and without one a new customer is created under a generated mcp-verify- reference. It then confirms an object comes back carrying the insite-* workflow query, and reads the Usage API for that customer, diagnosing an empty answer instead of calling it 'no rights'. It checks the developer's own files statically against the rules of the go-live checklist: no secret inlined, no customer reference from the request, no branch on ReferenceOffer, the cache replaced rather than merged, IsEnabled enforced, pagination read whole. And it reports what no API can verify -- the workflow redirect URL, the webhook validation, and the snippet's presence in the page -- as pending rather than pretending. Ends with the twelve-item go-live checklist. Run it before shipping, not after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_ref | No | An offer to check the subscribe workflow against. It is what makes the `insite-subscribe` query appear on the customer at all. | |
| customer_ref | No | A customer to exercise the wiring against — ideally one that has subscribed, since only a subscribed customer has rights to read. It is upserted with its reference and Segment only, so an existing customer is left unchanged. Without it, a new customer is created under a generated `mcp-verify-` reference. | |
| project_root | No | Root of the developer's project, where `.proabono/installation.json` is written. Defaults to the directory this server was launched in, which is the project for every MCP client that starts the server inside it. Pass it when that is not the case. |