Vineyard · Capability

Vineyard Python Client API — Connection

Vineyard Python Client API — Connection. 1 operations. Lead operation: Connect to Server. Self-contained Naftiko capability covering one Vineyard business surface.

Run with Naftiko VineyardConnection

What You Can Do

POST
Connecttoserver — Connect to Server
/v1/connect

MCP Tools

connect-server

Connect to Server

Capability Spec

python-client-connection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vineyard Python Client API — Connection
  description: 'Vineyard Python Client API — Connection. 1 operations. Lead operation: Connect to Server. Self-contained Naftiko
    capability covering one Vineyard business surface.'
  tags:
  - Vineyard
  - Connection
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VINEYARD_API_KEY: VINEYARD_API_KEY
capability:
  consumes:
  - type: http
    namespace: python-client-connection
    baseUri: ''
    description: Vineyard Python Client API — Connection business capability. Self-contained, no shared references.
    resources:
    - name: connect
      path: /connect
      operations:
      - name: connecttoserver
        method: POST
        description: Connect to Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: python-client-connection-rest
    port: 8080
    description: REST adapter for Vineyard Python Client API — Connection. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/connect
      name: connect
      description: REST surface for connect.
      operations:
      - method: POST
        name: connecttoserver
        description: Connect to Server
        call: python-client-connection.connecttoserver
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: python-client-connection-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vineyard Python Client API — Connection. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: connect-server
      description: Connect to Server
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: python-client-connection.connecttoserver
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.