CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 3 of 65

corestack_deployments_repositories_list

Repositories.

Scope readNo secrets returnedCoreCluster
On this page

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_company_deployment_connections_list) 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

Prompt
Using the Corefinity MCP server, call corestack_deployments_repositories_list with site_id 4211, connection 12. (Repositories.) Tell me what it returned.

Inputs

connectionintegerRequired

A Git connection's id (corestack_deployments_get lists them). At least 1.

qstring

Part of a repository's name. Up to 100 characters.

site_idintegerRequired

At least 1.

Example call

tools/call
{
  "name": "corestack_deployments_repositories_list",
  "arguments": {
    "site_id": 4211,
    "connection": 12
  }
}

If it is refused

ReasonWhat to do
needs_reauthThe 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_unavailableThe 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_mismatchThe 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_argumentsThe 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_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT