Scaleway · Capability

Scaleway Database Management

Unified workflow capability for managing Scaleway managed database services including PostgreSQL, MySQL, and Redis instances, backups, and notifications via transactional email. Used by database administrators and application developers to provision, monitor, and maintain managed database infrastructure on Scaleway's European cloud.

Run with Naftiko BackupCloud ComputingDatabaseMySQLNotificationsPostgreSQLRedisScaleway

What You Can Do

GET
List db instances — List managed database instances
/v1/databases
POST
Create db instance — Create a managed database instance
/v1/databases
GET
Get db instance — Get database instance details
/v1/databases/{id}
DELETE
Delete db instance — Delete a database instance
/v1/databases/{id}
GET
List db backups — List database backups
/v1/database-backups
POST
Create db backup — Create a database backup
/v1/database-backups
GET
List database engines — List available database engine versions
/v1/database-engines
POST
Send notification email — Send a database alert or notification email
/v1/emails

MCP Tools

list-db-instances

List Scaleway managed database instances

read-only
create-db-instance

Create a new managed PostgreSQL, MySQL, or Redis instance

get-db-instance

Get details of a specific database instance

read-only
delete-db-instance

Delete a managed database instance

idempotent
list-db-backups

List database backups

read-only
create-db-backup

Create a database backup

list-database-engines

List available database engine versions

read-only
send-notification-email

Send database alerts or notifications via transactional email

APIs Used

scaleway-db scaleway-tem

Capability Spec

database-management.yaml Raw ↑
naftiko: "1.0.0-alpha1"

info:
  label: "Scaleway Database Management"
  description: >-
    Unified workflow capability for managing Scaleway managed database services including
    PostgreSQL, MySQL, and Redis instances, backups, and notifications via transactional
    email. Used by database administrators and application developers to provision,
    monitor, and maintain managed database infrastructure on Scaleway's European cloud.
  tags:
    - Backup
    - Cloud Computing
    - Database
    - MySQL
    - Notifications
    - PostgreSQL
    - Redis
    - Scaleway
  created: "2026-05-02"
  modified: "2026-05-02"

binds:
  - namespace: env
    keys:
      SCALEWAY_API_KEY: SCALEWAY_API_KEY

capability:
  consumes:
    - import: scaleway-db
      location: ./shared/database.yaml
    - import: scaleway-tem
      location: ./shared/transactional-email.yaml

  exposes:
    - type: rest
      port: 8084
      namespace: scaleway-database-api
      description: "Unified REST API for Scaleway database management and notifications."
      resources:
        - path: /v1/databases
          name: databases
          description: "Database instance management"
          operations:
            - method: GET
              name: list-db-instances
              description: "List managed database instances"
              call: "scaleway-db.list-db-instances"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."
            - method: POST
              name: create-db-instance
              description: "Create a managed database instance"
              call: "scaleway-db.create-db-instance"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/databases/{id}
          name: database
          description: "Manage a specific database instance"
          operations:
            - method: GET
              name: get-db-instance
              description: "Get database instance details"
              call: "scaleway-db.get-db-instance"
              with:
                region: "rest.region"
                instance_id: "rest.id"
              outputParameters:
                - type: object
                  mapping: "$."
            - method: DELETE
              name: delete-db-instance
              description: "Delete a database instance"
              call: "scaleway-db.delete-db-instance"
              with:
                region: "rest.region"
                instance_id: "rest.id"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/database-backups
          name: database-backups
          description: "Database backup management"
          operations:
            - method: GET
              name: list-db-backups
              description: "List database backups"
              call: "scaleway-db.list-db-backups"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."
            - method: POST
              name: create-db-backup
              description: "Create a database backup"
              call: "scaleway-db.create-db-backup"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/database-engines
          name: database-engines
          description: "Available database engines"
          operations:
            - method: GET
              name: list-database-engines
              description: "List available database engine versions"
              call: "scaleway-db.list-database-engines"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/emails
          name: emails
          description: "Email notification management"
          operations:
            - method: POST
              name: send-notification-email
              description: "Send a database alert or notification email"
              call: "scaleway-tem.send-email"
              with:
                region: "rest.region"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      port: 9094
      namespace: scaleway-database-mcp
      transport: http
      description: "MCP server for AI-assisted Scaleway database management."
      tools:
        - name: list-db-instances
          description: "List Scaleway managed database instances"
          hints:
            readOnly: true
            openWorld: true
          call: "scaleway-db.list-db-instances"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."
        - name: create-db-instance
          description: "Create a new managed PostgreSQL, MySQL, or Redis instance"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: "scaleway-db.create-db-instance"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."
        - name: get-db-instance
          description: "Get details of a specific database instance"
          hints:
            readOnly: true
            openWorld: false
          call: "scaleway-db.get-db-instance"
          with:
            region: "tools.region"
            instance_id: "tools.instance_id"
          outputParameters:
            - type: object
              mapping: "$."
        - name: delete-db-instance
          description: "Delete a managed database instance"
          hints:
            readOnly: false
            destructive: true
            idempotent: true
          call: "scaleway-db.delete-db-instance"
          with:
            region: "tools.region"
            instance_id: "tools.instance_id"
          outputParameters:
            - type: object
              mapping: "$."
        - name: list-db-backups
          description: "List database backups"
          hints:
            readOnly: true
            openWorld: true
          call: "scaleway-db.list-db-backups"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."
        - name: create-db-backup
          description: "Create a database backup"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: "scaleway-db.create-db-backup"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."
        - name: list-database-engines
          description: "List available database engine versions"
          hints:
            readOnly: true
            openWorld: true
          call: "scaleway-db.list-database-engines"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."
        - name: send-notification-email
          description: "Send database alerts or notifications via transactional email"
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: "scaleway-tem.send-email"
          with:
            region: "tools.region"
          outputParameters:
            - type: object
              mapping: "$."