connect_github_repo
Clones a GitHub repository to cPanel and optionally sets deployment paths, enabling automated Git-based site deployment.
Instructions
Connect and clone a GitHub repository to cPanel and optionally configure deployment paths
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": {
"github_repo_url": "<github_repo_url>",
"repository_name": "<repository_name>",
"repository_root": "<repository_root>"
},
"name": "connect_github_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch to clone and track | main |
| deploy_path | No | Website destination path to deploy files to (e.g. 'public_html') | |
| github_repo_url | Yes | GitHub repository clone URL (HTTPS or SSH, e.g. 'https://github.com/owner/repo.git') | |
| repository_name | Yes | Identifier name for the repository in cPanel | |
| repository_root | Yes | Target path on cPanel (e.g. '/home/user/repositories/mysite') |