Postmark · Capability

Postmark Server API — Server Configuration API

Postmark Server API — Server Configuration API. 2 operations. Lead operation: Postmark Get Server Configuration. Self-contained Naftiko capability covering one Postmark business surface.

Run with Naftiko PostmarkServer Configuration API

What You Can Do

GET
Getcurrentserverconfiguration — Postmark Get Server Configuration
/v1/server
PUT
Editcurrentserverconfiguration — Postmark Edit Server Configuration
/v1/server

MCP Tools

postmark-get-server-configuration

Postmark Get Server Configuration

read-only idempotent
postmark-edit-server-configuration

Postmark Edit Server Configuration

idempotent

Capability Spec

server-server-configuration-api.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Postmark Server API — Server Configuration API
  description: 'Postmark Server API — Server Configuration API. 2 operations. Lead operation: Postmark Get Server Configuration.
    Self-contained Naftiko capability covering one Postmark business surface.'
  tags:
  - Postmark
  - Server Configuration API
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTMARK_API_KEY: POSTMARK_API_KEY
capability:
  consumes:
  - type: http
    namespace: server-server-configuration-api
    baseUri: https://api.postmarkapp.com
    description: Postmark Server API — Server Configuration API business capability. Self-contained, no shared references.
    resources:
    - name: server
      path: /server
      operations:
      - name: getcurrentserverconfiguration
        method: GET
        description: Postmark Get Server Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Postmark-Server-Token
          in: header
          type: string
          description: The token associated with the Server on which this request will operate.
          required: true
      - name: editcurrentserverconfiguration
        method: PUT
        description: Postmark Edit Server Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Postmark-Server-Token
          in: header
          type: string
          description: The token associated with the Server on which this request will operate.
          required: true
        - name: body
          in: body
          type: string
          description: The settings that should be modified for the current server.
  exposes:
  - type: rest
    namespace: server-server-configuration-api-rest
    port: 8080
    description: REST adapter for Postmark Server API — Server Configuration API. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/server
      name: server
      description: REST surface for server.
      operations:
      - method: GET
        name: getcurrentserverconfiguration
        description: Postmark Get Server Configuration
        call: server-server-configuration-api.getcurrentserverconfiguration
        with:
          X-Postmark-Server-Token: rest.X-Postmark-Server-Token
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: editcurrentserverconfiguration
        description: Postmark Edit Server Configuration
        call: server-server-configuration-api.editcurrentserverconfiguration
        with:
          X-Postmark-Server-Token: rest.X-Postmark-Server-Token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: server-server-configuration-api-mcp
    port: 9090
    transport: http
    description: MCP adapter for Postmark Server API — Server Configuration API. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: postmark-get-server-configuration
      description: Postmark Get Server Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: server-server-configuration-api.getcurrentserverconfiguration
      with:
        X-Postmark-Server-Token: tools.X-Postmark-Server-Token
      outputParameters:
      - type: object
        mapping: $.
    - name: postmark-edit-server-configuration
      description: Postmark Edit Server Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: server-server-configuration-api.editcurrentserverconfiguration
      with:
        X-Postmark-Server-Token: tools.X-Postmark-Server-Token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.