Vessel · Capability

Vessel Platform API — Connections

Vessel Platform API — Connections. 3 operations. Lead operation: Delete a Connection. Self-contained Naftiko capability covering one Vessel business surface.

Run with Naftiko VesselConnections

What You Can Do

POST
Deleteconnection — Delete a Connection
/v1/connections/delete
POST
Getconnection — Get a Connection
/v1/connections/get
POST
Listconnections — List All Connections
/v1/connections/list

MCP Tools

delete-connection

Delete a Connection

get-connection

Get a Connection

read-only
list-all-connections

List All Connections

read-only

Capability Spec

platform-connections.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vessel Platform API — Connections
  description: 'Vessel Platform API — Connections. 3 operations. Lead operation: Delete a Connection. Self-contained Naftiko
    capability covering one Vessel business surface.'
  tags:
  - Vessel
  - Connections
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VESSEL_API_KEY: VESSEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-connections
    baseUri: https://api.vessel.dev
    description: Vessel Platform API — Connections business capability. Self-contained, no shared references.
    resources:
    - name: connections-delete
      path: /connections/delete
      operations:
      - name: deleteconnection
        method: POST
        description: Delete a Connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: connections-get
      path: /connections/get
      operations:
      - name: getconnection
        method: POST
        description: Get a Connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: connections-list
      path: /connections/list
      operations:
      - name: listconnections
        method: POST
        description: List All Connections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-vessel-api-token
      value: '{{env.VESSEL_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-connections-rest
    port: 8080
    description: REST adapter for Vessel Platform API — Connections. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/connections/delete
      name: connections-delete
      description: REST surface for connections-delete.
      operations:
      - method: POST
        name: deleteconnection
        description: Delete a Connection
        call: platform-connections.deleteconnection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connections/get
      name: connections-get
      description: REST surface for connections-get.
      operations:
      - method: POST
        name: getconnection
        description: Get a Connection
        call: platform-connections.getconnection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connections/list
      name: connections-list
      description: REST surface for connections-list.
      operations:
      - method: POST
        name: listconnections
        description: List All Connections
        call: platform-connections.listconnections
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-connections-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vessel Platform API — Connections. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: delete-connection
      description: Delete a Connection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-connections.deleteconnection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-connection
      description: Get a Connection
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: platform-connections.getconnection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-connections
      description: List All Connections
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: platform-connections.listconnections
      outputParameters:
      - type: object
        mapping: $.