Go live with MCP
Going live puts the project on the APItoGo platform: the portal gets its address, the gateway starts
protecting the API, and sign-in and plans work. It is the same as apitogo deploy in a terminal.
1. Make the platform project
Put Books on APItoGo.
The agent calls apitogo_project_create. It creates the project and writes its id into
apitogo.config.json.
| Plan | When |
|---|---|
free | The default; enough to try everything without payment |
starter, professional | Needed to sell paid API plans |
A paid plan answers with a checkout link: you open it and pay; the agent never pays. Already have a
project? apitogo_project_use points the folder at it by its id.
2. Secrets
Paid plans need the project's Stripe key and webhook secret. Set them yourself in a terminal; a secret's value never goes through the agent:
Code
Code
apitogo_secrets_list shows which names are set. See the
Stripe guide.
3. Preview, then deploy
apitogo_plansays, for each service, whether a deploy would change it and why. It changes nothing.apitogo_deploydeploys every service that changed: identity, gateway, plans, then the portal. The first deploy takes several minutes; later ones skip what did not change.onlylimits it to some services,forceredeploys them anyway.
A change that cannot be undone, such as switching the identity provider, stops the deploy with an
explanation. The agent asks you, and only then deploys again with confirmIrreversible.
4. See what is live
apitogo_status shows each service's state and its addresses: the portal, the gateway's base
URL and the sign-in issuer.
When something fails
Every tool answers with the CLI's JSON. A failure carries error and usually a hint with the next
step, for example to log in:
| Message | What to do |
|---|---|
| Not logged in | Run apitogo login, or give the server API credentials (setup) |
| A secret is missing | Set it with apitogo secrets set NAME |
| Hosting is not ready yet | Wait a few minutes, then deploy again |
Remove it
apitogo_teardown deletes the platform project (local files stay), or with only just its
gateway, identity or plans. The agent must ask you and type the project's name back.