Deploy the website
deploy_siteRe-render the project site and publish it by committing changes to the configured website repository, optionally pushing to the remote.
Instructions
Re-render the project's site and publish it by committing (and optionally pushing) it through the git integration — the MCP equivalent of the old website deploy. The site lives at /site/ by default, or at the project's websiteLocation when set (a shipped site outside the pad, in its own repo — see set_project_config). When websiteLocation / gitTargets.websiteRepo is configured the commit runs in that website repo; otherwise it runs where the pad site lives. Requires git integration enabled (set_git_config); no-ops with a reason otherwise. When push is omitted, the effective push behavior is resolved from gitMode the same way as commit_feature (project override, else account-wide default, else "commit-only"); "ask" never pushes silently. Runs on this machine using its git credentials.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "deploy_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | Override the resolved gitMode for this deploy (always wins over gitMode). | |
| message | No | Custom deploy commit message. | |
| project | Yes |