corestack_ deployments_ repositories_ list
Repositories.
When to use it
The repositories one of the Git connections you may use on the site can deploy from, optionally searched: at most 50, most recently updated first.
On GitHub this includes the repositories of the organisations the account belongs to, once the organisation has granted the Control Panel access. When an organisation's repositories are missing, the connection's organisation_access_url (corestack_) is GitHub's page where the organisation grants that access, or a member asks for it.
On Bitbucket this includes the repositories of every workspace the account belongs to. When one workspace does not answer, it is left out and the others are listed.
Ask for it
Using the Corefinity MCP server, call corestack_deployments_repositories_list with site_id 4211, connection 12. (Repositories.) Tell me what it returned.Inputs
A Git connection's id (corestack_deployments_get lists them). At least 1.
Part of a repository's name. Up to 100 characters.
At least 1.
Example call
{
"name": "corestack_deployments_repositories_list",
"arguments": {
"site_id": 4211,
"connection": 12
}
}If it is refused
| Reason | What to do |
|---|---|
needs_reauth | The provider refused the connection's sign-in and a refresh could not renew it ("The Bitbucket connection needs re-authorising"). Connect the account again in the Control Panel, then list again. |
upstream_unavailable | The provider did not answer ("Bitbucket did not answer. Try again."), or on Bitbucket none of the account's workspaces answered. Try again in a moment. |
tenant_mismatch | The connection is not one you may use on this site — another company's, or one belonging to an agency that manages the site (its accounts are the agency's people's). corestack_deployments_get lists the connections you may use. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |