self_update
Update the MCP server to the latest main safely by checking for a clean Git state and unpushed commits, then fast-forward pull, build, verify, and restart with confirmation.
Instructions
Privileged autonomous update: requires MCP_ALLOW_SELF_UPDATE=1. Refuses on dirty tree, non-main branch, unpushed commits, divergence, or fetch failure. Otherwise fast-forward-only pull of origin/main, build, full verification, supervised restart, and a post-restart handshake receipt. Returns before the restart lands; poll runtime_info.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "self_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||