Soracom · Capability

Soracom Napter Port Mapping Capability

Self-contained Naftiko capability for creating, listing, and deleting Soracom Napter on-demand secure remote access port mappings.

Soracom Napter Port Mapping Capability is a Naftiko capability published by Soracom, one of 16 capabilities the APIs.io network indexes for this provider. It bundles 4 operations.

The capability includes 2 read-only operations and 2 state-changing operations. Lead operation: List Napter port mappings. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Soracom, Napter, and Remote Access.

Run with Naftiko SoracomNapterRemote Access

MCP Tools

soracom-list-port-mappings

List Napter port mappings.

read-only idempotent
soracom-create-port-mapping

Open an on-demand Napter port mapping.

soracom-get-port-mapping

Get a Napter port mapping by key.

read-only idempotent
soracom-delete-port-mapping

Delete a Napter port mapping.

idempotent

Capability Spec

napter-portmappings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Soracom Napter Port Mapping Capability
  description: Self-contained Naftiko capability for creating, listing, and deleting Soracom Napter on-demand secure remote access port mappings.
  tags:
  - Soracom
  - Napter
  - Remote Access
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    SORACOM_API_KEY: SORACOM_API_KEY
    SORACOM_API_TOKEN: SORACOM_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: napter
    baseUri: https://api.soracom.io/v1
    description: Soracom Napter Port Mapping API.
    resources:
    - name: port-mappings
      path: /port_mappings
      operations:
      - name: listPortMappings
        method: GET
        description: List port mappings.
        outputRawFormat: json
        outputParameters:
        - {name: result, type: array, value: $.}
        inputParameters:
        - {name: limit, in: query, type: integer, required: false}
      - name: createPortMapping
        method: POST
        description: Create an on-demand port mapping to a SIM.
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
        inputParameters:
        - {name: body, in: body, type: object, required: true}
    - name: port-mappings-by-key
      path: /port_mappings/{key}
      operations:
      - name: getPortMapping
        method: GET
        description: Get a port mapping by key.
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
        inputParameters:
        - {name: key, in: path, type: string, required: true}
      - name: deletePortMapping
        method: DELETE
        description: Delete (close) a port mapping.
        outputRawFormat: json
        outputParameters:
        - {name: result, type: object, value: $.}
        inputParameters:
        - {name: key, in: path, type: string, required: true}
    authentication:
      type: apikey
      key: X-Soracom-API-Key
      value: '{{env.SORACOM_API_KEY}}'
      placement: header
  exposes:
  - type: mcp
    namespace: napter-mcp
    port: 9090
    transport: http
    description: MCP adapter for Napter port mappings.
    tools:
    - name: soracom-list-port-mappings
      description: List Napter port mappings.
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: napter.listPortMappings
      with:
        limit: tools.limit
      outputParameters:
      - {type: array, mapping: $.}
    - name: soracom-create-port-mapping
      description: Open an on-demand Napter port mapping.
      hints: {readOnly: false, destructive: false, idempotent: false}
      call: napter.createPortMapping
      with:
        body: tools.body
      outputParameters:
      - {type: object, mapping: $.}
    - name: soracom-get-port-mapping
      description: Get a Napter port mapping by key.
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: napter.getPortMapping
      with:
        key: tools.key
      outputParameters:
      - {type: object, mapping: $.}
    - name: soracom-delete-port-mapping
      description: Delete a Napter port mapping.
      hints: {readOnly: false, destructive: true, idempotent: true}
      call: napter.deletePortMapping
      with:
        key: tools.key
      outputParameters:
      - {type: object, mapping: $.}