vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Read
  • Packages
  • Versions & Dist-tags
  • Staging
  • Trusted Publishers
  • Projects
  • GitHub
  • Members & Invitations
  • Account & User
  • Connected Apps
  • github.installation.link
  • Parameters
  • github.installation.unlink
  • Parameters
  • github.installation.refresh
  • Parameters
  1. Registry
  2. /
  3. Agent Resources
  4. /
  5. MCP
  6. /
  7. Tools
  8. /
  9. GitHub

GitHub

Link, refresh and unlink the GitHub App installations an account uses.

An account's GitHub installations live at /account/<account>/github/installation, and each one at …/github/installation/<id>. They grant the repositories that projects and trusted publishers use.

Example call
{
  "name": "github.installation.refresh",
  "arguments": {
    "target": "/account/acme/github/installation/9fQ2mL7xW1cR4tY8pZ3nBv"
  }
}

github.installation.link

Link a GitHub App installation to the account, after installing the App on GitHub.

  • Target: a GitHubInstallationCollection. Offered alongside its install link.
  • Privilege: connection:write
  • Hints: none

Every input comes from the query string of GitHub's redirect after the App is installed, which the agent never sees. Instead, send the person to the collection's install link.

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the account's installation collection.
input.installationIdintegerYesGitHub's installation_id. At least 1.
input.codestringYesThe OAuth code GitHub issues when it authorizes the user during installation. 1–255 characters.
input.statestringYesThe state from the install link. 1–1024 characters.

github.installation.unlink

Unlink the installation from the account. The App stays installed on GitHub.

  • Target: a GitHubInstallation
  • Privilege: connection:write
  • Hints: Destructive Idempotent

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the installation.

github.installation.refresh

Read the installation's repositories from GitHub again.

  • Target: a GitHubInstallation. While GitHub refuses to act as the installation, the action is listed with available: false and a reason.
  • Privilege: connection:write
  • Hints: none

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the installation.

Previous: ProjectsLink GitHub repositories as projects, and change or delete them.Next: Members & InvitationsInvite people to an account, change their roles, transfer ownership and remove members.

On this page

  • github.installation.link
  • Parameters
  • github.installation.unlink
  • Parameters
  • github.installation.refresh
  • Parameters
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now