Scaleway · Capability
Managed Database for PostgreSQL and MySQL API — Read Replicas
Managed Database for PostgreSQL and MySQL API — Read Replicas. 6 operations. Lead operation: Create a Read Replica. Self-contained Naftiko capability covering one Scaleway business surface.
What You Can Do
POST
Createreadreplica
— Create a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas
GET
Getreadreplica
— Get a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}
DELETE
Deletereadreplica
— Delete a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}
POST
Createreadreplicaendpoint
— Create an endpoint for a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/endpoints
POST
Promotereadreplica
— Promote a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/promote
POST
Resetreadreplica
— Resync a Read Replica
/v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/reset
MCP Tools
create-read-replica
Create a Read Replica
get-read-replica
Get a Read Replica
read-only
idempotent
delete-read-replica
Delete a Read Replica
idempotent
create-endpoint-read-replica
Create an endpoint for a Read Replica
promote-read-replica
Promote a Read Replica
resync-read-replica
Resync a Read Replica
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Managed Database for PostgreSQL and MySQL API — Read Replicas
description: 'Managed Database for PostgreSQL and MySQL API — Read Replicas. 6 operations. Lead operation: Create a Read
Replica. Self-contained Naftiko capability covering one Scaleway business surface.'
tags:
- Scaleway
- Read Replicas
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SCALEWAY_API_KEY: SCALEWAY_API_KEY
capability:
consumes:
- type: http
namespace: database-read-replicas
baseUri: https://api.scaleway.com
description: Managed Database for PostgreSQL and MySQL API — Read Replicas business capability. Self-contained, no shared
references.
resources:
- name: rdb-v1-regions-region-read-replicas
path: /rdb/v1/regions/{region}/read-replicas
operations:
- name: createreadreplica
method: POST
description: Create a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rdb-v1-regions-region-read-replicas-read_replica_id
path: /rdb/v1/regions/{region}/read-replicas/{read_replica_id}
operations:
- name: getreadreplica
method: GET
description: Get a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: read_replica_id
in: path
type: string
description: UUID of the Read Replica. (UUID format)
required: true
- name: deletereadreplica
method: DELETE
description: Delete a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: read_replica_id
in: path
type: string
description: UUID of the Read Replica. (UUID format)
required: true
- name: rdb-v1-regions-region-read-replicas-read_replica_id-endpoints
path: /rdb/v1/regions/{region}/read-replicas/{read_replica_id}/endpoints
operations:
- name: createreadreplicaendpoint
method: POST
description: Create an endpoint for a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: read_replica_id
in: path
type: string
description: UUID of the Read Replica. (UUID format)
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rdb-v1-regions-region-read-replicas-read_replica_id-promote
path: /rdb/v1/regions/{region}/read-replicas/{read_replica_id}/promote
operations:
- name: promotereadreplica
method: POST
description: Promote a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: read_replica_id
in: path
type: string
description: UUID of the Read Replica. (UUID format)
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rdb-v1-regions-region-read-replicas-read_replica_id-reset
path: /rdb/v1/regions/{region}/read-replicas/{read_replica_id}/reset
operations:
- name: resetreadreplica
method: POST
description: Resync a Read Replica
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region
in: path
type: string
description: The region you want to target
required: true
- name: read_replica_id
in: path
type: string
description: UUID of the Read Replica. (UUID format)
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: apikey
key: X-Auth-Token
value: '{{env.SCALEWAY_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: database-read-replicas-rest
port: 8080
description: REST adapter for Managed Database for PostgreSQL and MySQL API — Read Replicas. One Spectral-compliant resource
per consumed operation, prefixed with /v1.
resources:
- path: /v1/rdb/v1/regions/{region}/read-replicas
name: rdb-v1-regions-region-read-replicas
description: REST surface for rdb-v1-regions-region-read-replicas.
operations:
- method: POST
name: createreadreplica
description: Create a Read Replica
call: database-read-replicas.createreadreplica
with:
region: rest.region
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}
name: rdb-v1-regions-region-read-replicas-read-replica-id
description: REST surface for rdb-v1-regions-region-read-replicas-read_replica_id.
operations:
- method: GET
name: getreadreplica
description: Get a Read Replica
call: database-read-replicas.getreadreplica
with:
region: rest.region
read_replica_id: rest.read_replica_id
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletereadreplica
description: Delete a Read Replica
call: database-read-replicas.deletereadreplica
with:
region: rest.region
read_replica_id: rest.read_replica_id
outputParameters:
- type: object
mapping: $.
- path: /v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/endpoints
name: rdb-v1-regions-region-read-replicas-read-replica-id-endpoints
description: REST surface for rdb-v1-regions-region-read-replicas-read_replica_id-endpoints.
operations:
- method: POST
name: createreadreplicaendpoint
description: Create an endpoint for a Read Replica
call: database-read-replicas.createreadreplicaendpoint
with:
region: rest.region
read_replica_id: rest.read_replica_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/promote
name: rdb-v1-regions-region-read-replicas-read-replica-id-promote
description: REST surface for rdb-v1-regions-region-read-replicas-read_replica_id-promote.
operations:
- method: POST
name: promotereadreplica
description: Promote a Read Replica
call: database-read-replicas.promotereadreplica
with:
region: rest.region
read_replica_id: rest.read_replica_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/rdb/v1/regions/{region}/read-replicas/{read-replica-id}/reset
name: rdb-v1-regions-region-read-replicas-read-replica-id-reset
description: REST surface for rdb-v1-regions-region-read-replicas-read_replica_id-reset.
operations:
- method: POST
name: resetreadreplica
description: Resync a Read Replica
call: database-read-replicas.resetreadreplica
with:
region: rest.region
read_replica_id: rest.read_replica_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: database-read-replicas-mcp
port: 9090
transport: http
description: MCP adapter for Managed Database for PostgreSQL and MySQL API — Read Replicas. One tool per consumed operation,
routed inline through this capability's consumes block.
tools:
- name: create-read-replica
description: Create a Read Replica
hints:
readOnly: false
destructive: false
idempotent: false
call: database-read-replicas.createreadreplica
with:
region: tools.region
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-read-replica
description: Get a Read Replica
hints:
readOnly: true
destructive: false
idempotent: true
call: database-read-replicas.getreadreplica
with:
region: tools.region
read_replica_id: tools.read_replica_id
outputParameters:
- type: object
mapping: $.
- name: delete-read-replica
description: Delete a Read Replica
hints:
readOnly: false
destructive: true
idempotent: true
call: database-read-replicas.deletereadreplica
with:
region: tools.region
read_replica_id: tools.read_replica_id
outputParameters:
- type: object
mapping: $.
- name: create-endpoint-read-replica
description: Create an endpoint for a Read Replica
hints:
readOnly: false
destructive: false
idempotent: false
call: database-read-replicas.createreadreplicaendpoint
with:
region: tools.region
read_replica_id: tools.read_replica_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: promote-read-replica
description: Promote a Read Replica
hints:
readOnly: false
destructive: false
idempotent: false
call: database-read-replicas.promotereadreplica
with:
region: tools.region
read_replica_id: tools.read_replica_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: resync-read-replica
description: Resync a Read Replica
hints:
readOnly: false
destructive: false
idempotent: false
call: database-read-replicas.resetreadreplica
with:
region: tools.region
read_replica_id: tools.read_replica_id
body: tools.body
outputParameters:
- type: object
mapping: $.