Google Cloud Artifact Registry API

The Artifact Registry API provides programmatic access to create and manage repositories, upload and download artifacts, manage packages and versions, and configure IAM policies for artifact storage across multiple formats including Docker images, language packages, and OS packages.

Run with Naftiko GoogleCloudArtifactRegistryAPI

What You Can Do

GET
Listlocations — Google Cloud Artifact Registry List Locations
/v1/projects/{projectId}/locations
GET
Listrepositories — Google Cloud Artifact Registry List Repositories
/v1/projects/{projectId}/locations/{location}/repositories
POST
Createrepository — Google Cloud Artifact Registry Create Repository
/v1/projects/{projectId}/locations/{location}/repositories
GET
Getrepository — Google Cloud Artifact Registry Get Repository
/v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
PATCH
Updaterepository — Google Cloud Artifact Registry Update Repository
/v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
DELETE
Deleterepository — Google Cloud Artifact Registry Delete Repository
/v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
GET
Listpackages — Google Cloud Artifact Registry List Packages
/v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/packages
GET
Listdockerimages — Google Cloud Artifact Registry List Docker Images
/v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/dockerImages

MCP Tools

listlocations

Google Cloud Artifact Registry List Locations

read-only idempotent
listrepositories

Google Cloud Artifact Registry List Repositories

read-only idempotent
createrepository

Google Cloud Artifact Registry Create Repository

getrepository

Google Cloud Artifact Registry Get Repository

read-only idempotent
updaterepository

Google Cloud Artifact Registry Update Repository

deleterepository

Google Cloud Artifact Registry Delete Repository

idempotent
listpackages

Google Cloud Artifact Registry List Packages

read-only idempotent
listdockerimages

Google Cloud Artifact Registry List Docker Images

read-only idempotent

Capability Spec

google-cloud-artifact-registry-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Artifact Registry API
  description: The Artifact Registry API provides programmatic access to create and manage repositories, upload and download
    artifacts, manage packages and versions, and configure IAM policies for artifact storage across multiple formats including
    Docker images, language packages, and OS packages.
  tags:
  - Google
  - Cloud
  - Artifact
  - Registry
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: google-cloud-artifact-registry
    baseUri: https://artifactregistry.googleapis.com
    description: Google Cloud Artifact Registry API HTTP API.
    resources:
    - name: v1-projects-projectid-locations
      path: /v1/projects/{projectId}/locations
      operations:
      - name: listlocations
        method: GET
        description: Google Cloud Artifact Registry List Locations
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-projects-projectid-locations-location-reposit
      path: /v1/projects/{projectId}/locations/{location}/repositories
      operations:
      - name: listrepositories
        method: GET
        description: Google Cloud Artifact Registry List Repositories
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createrepository
        method: POST
        description: Google Cloud Artifact Registry Create Repository
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-projects-projectid-locations-location-reposit
      path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
      operations:
      - name: getrepository
        method: GET
        description: Google Cloud Artifact Registry Get Repository
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: repositoryId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updaterepository
        method: PATCH
        description: Google Cloud Artifact Registry Update Repository
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: repositoryId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleterepository
        method: DELETE
        description: Google Cloud Artifact Registry Delete Repository
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: repositoryId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-projects-projectid-locations-location-reposit
      path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/packages
      operations:
      - name: listpackages
        method: GET
        description: Google Cloud Artifact Registry List Packages
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: repositoryId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-projects-projectid-locations-location-reposit
      path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/dockerImages
      operations:
      - name: listdockerimages
        method: GET
        description: Google Cloud Artifact Registry List Docker Images
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: repositoryId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: google-cloud-artifact-registry-rest
    description: REST adapter for Google Cloud Artifact Registry API.
    resources:
    - path: /v1/projects/{projectId}/locations
      name: listlocations
      operations:
      - method: GET
        name: listlocations
        description: Google Cloud Artifact Registry List Locations
        call: google-cloud-artifact-registry.listlocations
        with:
          projectId: rest.projectId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories
      name: listrepositories
      operations:
      - method: GET
        name: listrepositories
        description: Google Cloud Artifact Registry List Repositories
        call: google-cloud-artifact-registry.listrepositories
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories
      name: createrepository
      operations:
      - method: POST
        name: createrepository
        description: Google Cloud Artifact Registry Create Repository
        call: google-cloud-artifact-registry.createrepository
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
      name: getrepository
      operations:
      - method: GET
        name: getrepository
        description: Google Cloud Artifact Registry Get Repository
        call: google-cloud-artifact-registry.getrepository
        with:
          projectId: rest.projectId
          location: rest.location
          repositoryId: rest.repositoryId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
      name: updaterepository
      operations:
      - method: PATCH
        name: updaterepository
        description: Google Cloud Artifact Registry Update Repository
        call: google-cloud-artifact-registry.updaterepository
        with:
          projectId: rest.projectId
          location: rest.location
          repositoryId: rest.repositoryId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}
      name: deleterepository
      operations:
      - method: DELETE
        name: deleterepository
        description: Google Cloud Artifact Registry Delete Repository
        call: google-cloud-artifact-registry.deleterepository
        with:
          projectId: rest.projectId
          location: rest.location
          repositoryId: rest.repositoryId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/packages
      name: listpackages
      operations:
      - method: GET
        name: listpackages
        description: Google Cloud Artifact Registry List Packages
        call: google-cloud-artifact-registry.listpackages
        with:
          projectId: rest.projectId
          location: rest.location
          repositoryId: rest.repositoryId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectId}/locations/{location}/repositories/{repositoryId}/dockerImages
      name: listdockerimages
      operations:
      - method: GET
        name: listdockerimages
        description: Google Cloud Artifact Registry List Docker Images
        call: google-cloud-artifact-registry.listdockerimages
        with:
          projectId: rest.projectId
          location: rest.location
          repositoryId: rest.repositoryId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: google-cloud-artifact-registry-mcp
    transport: http
    description: MCP adapter for Google Cloud Artifact Registry API for AI agent use.
    tools:
    - name: listlocations
      description: Google Cloud Artifact Registry List Locations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-cloud-artifact-registry.listlocations
      with:
        projectId: tools.projectId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listrepositories
      description: Google Cloud Artifact Registry List Repositories
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-cloud-artifact-registry.listrepositories
      with:
        projectId: tools.projectId
        location: tools.location
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: createrepository
      description: Google Cloud Artifact Registry Create Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-cloud-artifact-registry.createrepository
      with:
        projectId: tools.projectId
        location: tools.location
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: getrepository
      description: Google Cloud Artifact Registry Get Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-cloud-artifact-registry.getrepository
      with:
        projectId: tools.projectId
        location: tools.location
        repositoryId: tools.repositoryId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: repositoryId
        type: string
        description: repositoryId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: updaterepository
      description: Google Cloud Artifact Registry Update Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-cloud-artifact-registry.updaterepository
      with:
        projectId: tools.projectId
        location: tools.location
        repositoryId: tools.repositoryId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: repositoryId
        type: string
        description: repositoryId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: deleterepository
      description: Google Cloud Artifact Registry Delete Repository
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: google-cloud-artifact-registry.deleterepository
      with:
        projectId: tools.projectId
        location: tools.location
        repositoryId: tools.repositoryId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: repositoryId
        type: string
        description: repositoryId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listpackages
      description: Google Cloud Artifact Registry List Packages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-cloud-artifact-registry.listpackages
      with:
        projectId: tools.projectId
        location: tools.location
        repositoryId: tools.repositoryId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: repositoryId
        type: string
        description: repositoryId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listdockerimages
      description: Google Cloud Artifact Registry List Docker Images
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-cloud-artifact-registry.listdockerimages
      with:
        projectId: tools.projectId
        location: tools.location
        repositoryId: tools.repositoryId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: repositoryId
        type: string
        description: repositoryId
        required: true
      outputParameters:
      - type: object
        mapping: $.