Connect a local project
connect_projectAuthorize a local project directory for secure editing, automatically limiting commit and push operations to Git-managed folders only.
Instructions
Authorize one directory beneath a locally approved discovery root. Non-Git projects can be edited, but commit and push are automatically disabled.
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": {
"projectPath": "<projectPath>"
},
"name": "connect_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| writable | No | ||
| projectId | No | ||
| allowCommit | No | Applied only when the selected directory is a Git root. | |
| projectPath | Yes |