Local stdio
Run the lifecycle server for an MCP client that supports stdio:Hosted Streamable HTTP
Connect to:mcpUrl and exact
credentials.headers map instead.
Lifecycle tools
environments_listenvironment_describesessions_listsession_createsession_statussession_waitstate_validatestate_getstate_loadstate_diffsession_resetsession_renewsession_destroyevidence_get
session_create can return while provisioning continues. Use
session_wait or poll session_status before giving connections to a test.
Hosted destroy can acknowledge durable teardown before physical deletion.
Keep the tool boundary small
The lifecycle MCP server does not federate thousands of GitHub, Slack, Jira, and other provider tools into one namespace. When an environment returns anmcpUrl, connect to that provider surface separately with its short-lived
credential. This keeps lifecycle authority distinct from the agent’s task tools.
State loading and reset are destructive. A trusted coding agent may propose
them, but it should not execute them without approval for the exact target or a
preconfigured disposable CI boundary.