Prisma · Capability

Prisma Postgres Management API — Projects

Prisma Postgres Management API — Projects. 4 operations. Lead operation: Prisma Get a project. Self-contained Naftiko capability covering one Prisma business surface.

Run with Naftiko PrismaProjects

What You Can Do

GET
Getproject — Prisma Get a project
/v1/projects/{projectid}
DELETE
Deleteproject — Prisma Delete a project
/v1/projects/{projectid}
GET
Listprojects — Prisma List projects in a workspace
/v1/workspaces/{workspaceid}/projects
POST
Createproject — Prisma Create a project with a database
/v1/workspaces/{workspaceid}/projects

MCP Tools

prisma-get-project

Prisma Get a project

read-only idempotent
prisma-delete-project

Prisma Delete a project

idempotent
prisma-list-projects-workspace

Prisma List projects in a workspace

read-only idempotent
prisma-create-project-database

Prisma Create a project with a database

Capability Spec

postgres-management-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prisma Postgres Management API — Projects
  description: 'Prisma Postgres Management API — Projects. 4 operations. Lead operation: Prisma Get a project. Self-contained
    Naftiko capability covering one Prisma business surface.'
  tags:
  - Prisma
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PRISMA_API_KEY: PRISMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: postgres-management-projects
    baseUri: https://api.prisma.io/v1
    description: Prisma Postgres Management API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId
      path: /projects/{projectId}
      operations:
      - name: getproject
        method: GET
        description: Prisma Get a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteproject
        method: DELETE
        description: Prisma Delete a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspaceId-projects
      path: /workspaces/{workspaceId}/projects
      operations:
      - name: listprojects
        method: GET
        description: Prisma List projects in a workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createproject
        method: POST
        description: Prisma Create a project with a database
        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.PRISMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: postgres-management-projects-rest
    port: 8080
    description: REST adapter for Prisma Postgres Management API — Projects. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}
      name: projects-projectid
      description: REST surface for projects-projectId.
      operations:
      - method: GET
        name: getproject
        description: Prisma Get a project
        call: postgres-management-projects.getproject
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproject
        description: Prisma Delete a project
        call: postgres-management-projects.deleteproject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspaceid}/projects
      name: workspaces-workspaceid-projects
      description: REST surface for workspaces-workspaceId-projects.
      operations:
      - method: GET
        name: listprojects
        description: Prisma List projects in a workspace
        call: postgres-management-projects.listprojects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: Prisma Create a project with a database
        call: postgres-management-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postgres-management-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prisma Postgres Management API — Projects. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: prisma-get-project
      description: Prisma Get a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postgres-management-projects.getproject
      outputParameters:
      - type: object
        mapping: $.
    - name: prisma-delete-project
      description: Prisma Delete a project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: postgres-management-projects.deleteproject
      outputParameters:
      - type: object
        mapping: $.
    - name: prisma-list-projects-workspace
      description: Prisma List projects in a workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postgres-management-projects.listprojects
      outputParameters:
      - type: object
        mapping: $.
    - name: prisma-create-project-database
      description: Prisma Create a project with a database
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postgres-management-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.