Add a VCS provider
add_vcs_providerConnect a Git repository to Hostman for application deployment by adding a VCS provider. Supports GitHub, GitLab, Bitbucket, and custom Git repositories, including private ones.
Instructions
Adds a new VCS provider to connect Git repositories to Hostman
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": {
"url": "<url>",
"provider_type": "<provider_type>"
},
"name": "add_vcs_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Repository URL in HTTPS format. Example: https://github.com/username/repo.git. AUTOMATICALLY read it from .git/config when not provided explicitly | |
| login | No | LOGIN FOR REPOSITORY ACCESS. 🔒 REQUIRED for private repositories! If an authorization error occurs while adding the provider: • Ask the user for login and password/token • On authorization error - REQUEST new credentials again | |
| password | No | PASSWORD OR TOKEN FOR REPOSITORY ACCESS. 🔒 REQUIRED for private repositories! Options: • Personal Access Token (recommended) • Account password If an authorization error occurs while adding the provider: • Ask the user for token/password • On authorization error - REQUEST new credentials again | |
| provider_type | Yes | VCS provider type |