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
  • project.create
  • Parameters
  • project.update
  • Parameters
  • project.delete
  • Parameters
  1. Registry
  2. /
  3. Agent Resources
  4. /
  5. MCP
  6. /
  7. Tools
  8. /
  9. Projects

Projects

Link GitHub repositories as projects, and change or delete them.

An account's projects live at /account/<account>/project, and each one at /account/<account>/project/<id>. A project follows a lockfile in a GitHub repository that the account's GitHub connection grants.

Example call
{
  "name": "project.create",
  "arguments": {
    "target": "/account/acme/project",
    "input": { "repositoryId": 123456789, "name": "web" }
  }
}

project.create

Link a GitHub repository as a project.

  • Target: a ProjectCollection. When the plan's project limit is reached, the action is listed with available: false and a reason.
  • Privilege: project:create
  • Hints: none

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the account's project collection.
input.repositoryIdintegerYesGitHub's repository id. At least 1.
input.namestringYesUnique within the account. Lowercase letters, digits, ., - and _, starting and ending with a letter or digit. 1–100 characters. new is reserved.
input.branchstringNoThe branch to follow. Defaults to the repository's default branch. 1–255 characters.
input.lockfilePathstringNoPath of the lockfile, relative to the repository root: a vlt-lock.json, package-lock.json, pnpm-lock.yaml or yarn.lock. Defaults to vlt-lock.json at the root.

project.update

Change the name, the branch or the lockfile path.

  • Target: a Project
  • Privilege: project:update
  • Hints: none

Parameters

At least one input field is required. Fields left out are unchanged.

ParameterTypeRequiredDescription
targetstringYesThe $id of the project.
input.namestringNoUnique within the account. Same rules as project.create.
input.branchstringNoMust exist on GitHub. 1–255 characters.
input.lockfilePathstringNoPath of the lockfile, relative to the repository root: a vlt-lock.json, package-lock.json, pnpm-lock.yaml or yarn.lock.

project.delete

Delete the project. The repository on GitHub is untouched.

  • Target: a Project
  • Privilege: project:delete
  • Hints: Destructive Idempotent

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the project.

Previous: Trusted PublishersTrust a GitHub Actions workflow to publish a package, or stop trusting it.Next: GitHubLink, refresh and unlink the GitHub App installations an account uses.

On this page

  • project.create
  • Parameters
  • project.update
  • Parameters
  • project.delete
  • 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