Neo4j · Capability

Neo4j Aura API — Tenants

Neo4j Aura API — Tenants. 2 operations. Lead operation: List all tenants. Self-contained Naftiko capability covering one Neo4j business surface.

Run with Naftiko Neo4jTenants

What You Can Do

GET
Listtenants — List all tenants
/v1/tenants
GET
Gettenant — Get tenant details
/v1/tenants/{tenantid}

MCP Tools

list-all-tenants

List all tenants

read-only idempotent
get-tenant-details

Get tenant details

read-only idempotent

Capability Spec

aura-tenants.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Neo4j Aura API — Tenants
  description: 'Neo4j Aura API — Tenants. 2 operations. Lead operation: List all tenants. Self-contained Naftiko capability
    covering one Neo4j business surface.'
  tags:
  - Neo4j
  - Tenants
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NEO4J_API_KEY: NEO4J_API_KEY
capability:
  consumes:
  - type: http
    namespace: aura-tenants
    baseUri: https://api.neo4j.io/v1
    description: Neo4j Aura API — Tenants business capability. Self-contained, no shared references.
    resources:
    - name: tenants
      path: /tenants
      operations:
      - name: listtenants
        method: GET
        description: List all tenants
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tenants-tenantId
      path: /tenants/{tenantId}
      operations:
      - name: gettenant
        method: GET
        description: Get tenant details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.NEO4J_API_KEY}}'
  exposes:
  - type: rest
    namespace: aura-tenants-rest
    port: 8080
    description: REST adapter for Neo4j Aura API — Tenants. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/tenants
      name: tenants
      description: REST surface for tenants.
      operations:
      - method: GET
        name: listtenants
        description: List all tenants
        call: aura-tenants.listtenants
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tenants/{tenantid}
      name: tenants-tenantid
      description: REST surface for tenants-tenantId.
      operations:
      - method: GET
        name: gettenant
        description: Get tenant details
        call: aura-tenants.gettenant
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aura-tenants-mcp
    port: 9090
    transport: http
    description: MCP adapter for Neo4j Aura API — Tenants. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-all-tenants
      description: List all tenants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aura-tenants.listtenants
      outputParameters:
      - type: object
        mapping: $.
    - name: get-tenant-details
      description: Get tenant details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aura-tenants.gettenant
      outputParameters:
      - type: object
        mapping: $.