OpenStack · Capability

OpenStack Identity (Keystone) API v3 — Projects

OpenStack Identity (Keystone) API v3 — Projects. 5 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Openstack business surface.

Run with Naftiko OpenstackProjects

What You Can Do

GET
Listprojects — List projects
/v1/projects
POST
Createproject — Create project
/v1/projects
GET
Getproject — Get project
/v1/projects/{project-id}
PATCH
Updateproject — Update project
/v1/projects/{project-id}
DELETE
Deleteproject — Delete project
/v1/projects/{project-id}

MCP Tools

list-projects

List projects

read-only idempotent
create-project

Create project

get-project

Get project

read-only idempotent
update-project

Update project

idempotent
delete-project

Delete project

idempotent

Capability Spec

keystone-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenStack Identity (Keystone) API v3 — Projects
  description: 'OpenStack Identity (Keystone) API v3 — Projects. 5 operations. Lead operation: List projects. Self-contained
    Naftiko capability covering one Openstack business surface.'
  tags:
  - Openstack
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENSTACK_API_KEY: OPENSTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: keystone-projects
    baseUri: https://{keystone-host}:5000/v3
    description: OpenStack Identity (Keystone) API v3 — Projects business capability. Self-contained, no shared references.
    resources:
    - name: projects
      path: /projects
      operations:
      - name: listprojects
        method: GET
        description: List projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createproject
        method: POST
        description: Create project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-project_id
      path: /projects/{project_id}
      operations:
      - name: getproject
        method: GET
        description: Get project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateproject
        method: PATCH
        description: Update project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproject
        method: DELETE
        description: Delete project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-Auth-Token
      value: '{{env.OPENSTACK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: keystone-projects-rest
    port: 8080
    description: REST adapter for OpenStack Identity (Keystone) API v3 — Projects. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects
      name: projects
      description: REST surface for projects.
      operations:
      - method: GET
        name: listprojects
        description: List projects
        call: keystone-projects.listprojects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: Create project
        call: keystone-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}
      name: projects-project-id
      description: REST surface for projects-project_id.
      operations:
      - method: GET
        name: getproject
        description: Get project
        call: keystone-projects.getproject
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateproject
        description: Update project
        call: keystone-projects.updateproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproject
        description: Delete project
        call: keystone-projects.deleteproject
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: keystone-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenStack Identity (Keystone) API v3 — Projects. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-projects
      description: List projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: keystone-projects.listprojects
      outputParameters:
      - type: object
        mapping: $.
    - name: create-project
      description: Create project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: keystone-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-project
      description: Get project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: keystone-projects.getproject
      outputParameters:
      - type: object
        mapping: $.
    - name: update-project
      description: Update project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: keystone-projects.updateproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-project
      description: Delete project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: keystone-projects.deleteproject
      outputParameters:
      - type: object
        mapping: $.