corestack_ company_ deployment_ connections_ list
Your company's deployment connections.
When to use it
List your company's deployment connections: the GitHub, GitLab, Bitbucket and self-hosted GitLab accounts its environments deploy from, oldest first, 50 a page. Use it when a deployment fails at checking out the repository, when a webhook says the account must be reconnected, or before removing a connection.
Each connection shows its provider, the account it signs in as (username), when it was connected and its status: connected, or needs_reauthorisation with needs_reauth_since. A connection that needs re-authorising cannot clone or install webhooks until it is reconnected. To reconnect a GitHub, GitLab or Bitbucket connection, give the person reconnect_url to open in a browser where they are signed in to the Control Panel; they must sign in to the provider as username, because another account adds a new connection instead of repairing this one. Self-hosted GitLab has no link (reconnect_url is null): the person creates a new personal access token and uses Replace access token on the connection in the Control Panel. reconnect_note says this in plain words.
A GitHub connection also has organisation_access_url: GitHub's page where an organisation grants the Control Panel access to its repositories, or a member asks for it. GitHub asks about organisations only the first time someone connects, so when an organisation's repositories are missing from corestack_, give the person this link to open in a browser signed in to GitHub as username. It is null for GitLab, Bitbucket and self-hosted GitLab.
environments names the live environments that deploy through the connection; other_environments counts the ones not named to you (hidden ones, and for a token limited to some sites, those outside its limits). can_remove is true when you may remove the connection and nothing deploys through it.
Ask for it
Using the Corefinity MCP server, call corestack_company_deployment_connections_list. (Your company's deployment connections.) Tell me what it returned.Inputs
The next_cursor of the page before; null there means the last page. Up to 20 characters.
Example call
{
"name": "corestack_company_deployment_connections_list",
"arguments": {}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | A cursor that is not one of ours; start again from the first page. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
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. |