Enable AGY for one project
antigravity_enable_projectSet up Antigravity for a project by initializing .antigravity-mcp and adding the root to trustedWorkspaces and read_file allow rules atomically, activated only on explicit request.
Instructions
Initialize .antigravity-mcp in one exact project root and atomically add only that root to Antigravity trustedWorkspaces and read_file allow rules. Call only after the user explicitly requests AGY. Does not call a model.
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_root": "<project_root>"
},
"name": "antigravity_enable_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes | Absolute root directory of the current Codex project. |