Unkey · Capability

Unkey API — deploy

Unkey API — deploy. 2 operations. Lead operation: Create Deployment. Self-contained Naftiko capability covering one Unkey business surface.

Run with Naftiko Unkeydeploy

What You Can Do

POST
Deploycreatedeployment — Create Deployment
/v1/v2/deploy-createdeployment
POST
Deploygetdeployment — Get Deployment
/v1/v2/deploy-getdeployment

MCP Tools

create-deployment

Create Deployment

get-deployment

Get Deployment

read-only

Capability Spec

unkey-deploy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unkey API — deploy
  description: 'Unkey API — deploy. 2 operations. Lead operation: Create Deployment. Self-contained Naftiko capability covering
    one Unkey business surface.'
  tags:
  - Unkey
  - deploy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNKEY_API_KEY: UNKEY_API_KEY
capability:
  consumes:
  - type: http
    namespace: unkey-deploy
    baseUri: https://api.unkey.com
    description: Unkey API — deploy business capability. Self-contained, no shared references.
    resources:
    - name: v2-deploy.createDeployment
      path: /v2/deploy.createDeployment
      operations:
      - name: deploycreatedeployment
        method: POST
        description: Create Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-deploy.getDeployment
      path: /v2/deploy.getDeployment
      operations:
      - name: deploygetdeployment
        method: POST
        description: Get Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.UNKEY_API_KEY}}'
  exposes:
  - type: rest
    namespace: unkey-deploy-rest
    port: 8080
    description: REST adapter for Unkey API — deploy. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/v2/deploy-createdeployment
      name: v2-deploy-createdeployment
      description: REST surface for v2-deploy.createDeployment.
      operations:
      - method: POST
        name: deploycreatedeployment
        description: Create Deployment
        call: unkey-deploy.deploycreatedeployment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/deploy-getdeployment
      name: v2-deploy-getdeployment
      description: REST surface for v2-deploy.getDeployment.
      operations:
      - method: POST
        name: deploygetdeployment
        description: Get Deployment
        call: unkey-deploy.deploygetdeployment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unkey-deploy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unkey API — deploy. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-deployment
      description: Create Deployment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: unkey-deploy.deploycreatedeployment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-deployment
      description: Get Deployment
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: unkey-deploy.deploygetdeployment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.