APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels

APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels. 7 operations. Lead operation: APIs.io Engineering Platform List IPsec tunnels. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformMagic IPsec Tunnels

What You Can Do

GET
Magicipsectunnelslistipsectunnels — APIs.io Engineering Platform List IPsec tunnels
/v1/accounts/{account-id}/magic/ipsec-tunnels
POST
Magicipsectunnelscreateipsectunnels — APIs.io Engineering Platform Create IPsec tunnels
/v1/accounts/{account-id}/magic/ipsec-tunnels
PUT
Magicipsectunnelsupdatemultipleipsectunnels — APIs.io Engineering Platform Update multiple IPsec tunnels
/v1/accounts/{account-id}/magic/ipsec-tunnels
DELETE
Magicipsectunnelsdeleteipsectunnel — APIs.io Engineering Platform Delete IPsec Tunnel
/v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}
GET
Magicipsectunnelslistipsectunneldetails — APIs.io Engineering Platform List IPsec tunnel details
/v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}
PUT
Magicipsectunnelsupdateipsectunnel — APIs.io Engineering Platform Update IPsec Tunnel
/v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}
POST
Magicipsectunnelsgeneratepresharedkeypskforipsectunnels — APIs.io Engineering Platform Generate Pre Shared Key (PSK) for IPsec tunnels
/v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}/psk-generate

MCP Tools

apis-io-engineering-platform-list-ipsec

APIs.io Engineering Platform List IPsec tunnels

read-only idempotent
apis-io-engineering-platform-create-ipsec

APIs.io Engineering Platform Create IPsec tunnels

apis-io-engineering-platform-update-multiple

APIs.io Engineering Platform Update multiple IPsec tunnels

idempotent
apis-io-engineering-platform-delete-ipsec

APIs.io Engineering Platform Delete IPsec Tunnel

idempotent
apis-io-engineering-platform-list-ipsec-2

APIs.io Engineering Platform List IPsec tunnel details

read-only idempotent
apis-io-engineering-platform-update-ipsec

APIs.io Engineering Platform Update IPsec Tunnel

idempotent
apis-io-engineering-platform-generate-pre

APIs.io Engineering Platform Generate Pre Shared Key (PSK) for IPsec tunnels

Capability Spec

cloudflare-magic-ipsec-tunnels.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels
  description: 'APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels. 7 operations. Lead operation: APIs.io Engineering
    Platform List IPsec tunnels. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Magic IPsec Tunnels
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-magic-ipsec-tunnels
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels business capability. Self-contained, no
      shared references.
    resources:
    - name: accounts-account_id-magic-ipsec_tunnels
      path: /accounts/{account_id}/magic/ipsec_tunnels
      operations:
      - name: magicipsectunnelslistipsectunnels
        method: GET
        description: APIs.io Engineering Platform List IPsec tunnels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: magicipsectunnelscreateipsectunnels
        method: POST
        description: APIs.io Engineering Platform Create IPsec tunnels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicipsectunnelsupdatemultipleipsectunnels
        method: PUT
        description: APIs.io Engineering Platform Update multiple IPsec tunnels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-magic-ipsec_tunnels-ipsec_tunnel_id
      path: /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}
      operations:
      - name: magicipsectunnelsdeleteipsectunnel
        method: DELETE
        description: APIs.io Engineering Platform Delete IPsec Tunnel
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ipsec_tunnel_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: magicipsectunnelslistipsectunneldetails
        method: GET
        description: APIs.io Engineering Platform List IPsec tunnel details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ipsec_tunnel_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: magicipsectunnelsupdateipsectunnel
        method: PUT
        description: APIs.io Engineering Platform Update IPsec Tunnel
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ipsec_tunnel_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-magic-ipsec_tunnels-ipsec_tunnel_id-psk_generate
      path: /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate
      operations:
      - name: magicipsectunnelsgeneratepresharedkeypskforipsectunnels
        method: POST
        description: APIs.io Engineering Platform Generate Pre Shared Key (PSK) for IPsec tunnels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ipsec_tunnel_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-magic-ipsec-tunnels-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/magic/ipsec-tunnels
      name: accounts-account-id-magic-ipsec-tunnels
      description: REST surface for accounts-account_id-magic-ipsec_tunnels.
      operations:
      - method: GET
        name: magicipsectunnelslistipsectunnels
        description: APIs.io Engineering Platform List IPsec tunnels
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelslistipsectunnels
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: magicipsectunnelscreateipsectunnels
        description: APIs.io Engineering Platform Create IPsec tunnels
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelscreateipsectunnels
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: magicipsectunnelsupdatemultipleipsectunnels
        description: APIs.io Engineering Platform Update multiple IPsec tunnels
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsupdatemultipleipsectunnels
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}
      name: accounts-account-id-magic-ipsec-tunnels-ipsec-tunnel-id
      description: REST surface for accounts-account_id-magic-ipsec_tunnels-ipsec_tunnel_id.
      operations:
      - method: DELETE
        name: magicipsectunnelsdeleteipsectunnel
        description: APIs.io Engineering Platform Delete IPsec Tunnel
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsdeleteipsectunnel
        with:
          ipsec_tunnel_id: rest.ipsec_tunnel_id
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: magicipsectunnelslistipsectunneldetails
        description: APIs.io Engineering Platform List IPsec tunnel details
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelslistipsectunneldetails
        with:
          ipsec_tunnel_id: rest.ipsec_tunnel_id
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: magicipsectunnelsupdateipsectunnel
        description: APIs.io Engineering Platform Update IPsec Tunnel
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsupdateipsectunnel
        with:
          ipsec_tunnel_id: rest.ipsec_tunnel_id
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/magic/ipsec-tunnels/{ipsec-tunnel-id}/psk-generate
      name: accounts-account-id-magic-ipsec-tunnels-ipsec-tunnel-id-psk-generate
      description: REST surface for accounts-account_id-magic-ipsec_tunnels-ipsec_tunnel_id-psk_generate.
      operations:
      - method: POST
        name: magicipsectunnelsgeneratepresharedkeypskforipsectunnels
        description: APIs.io Engineering Platform Generate Pre Shared Key (PSK) for IPsec tunnels
        call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsgeneratepresharedkeypskforipsectunnels
        with:
          ipsec_tunnel_id: rest.ipsec_tunnel_id
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-magic-ipsec-tunnels-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Magic IPsec Tunnels. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-ipsec
      description: APIs.io Engineering Platform List IPsec tunnels
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelslistipsectunnels
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-ipsec
      description: APIs.io Engineering Platform Create IPsec tunnels
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelscreateipsectunnels
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-multiple
      description: APIs.io Engineering Platform Update multiple IPsec tunnels
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsupdatemultipleipsectunnels
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-ipsec
      description: APIs.io Engineering Platform Delete IPsec Tunnel
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsdeleteipsectunnel
      with:
        ipsec_tunnel_id: tools.ipsec_tunnel_id
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-ipsec-2
      description: APIs.io Engineering Platform List IPsec tunnel details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelslistipsectunneldetails
      with:
        ipsec_tunnel_id: tools.ipsec_tunnel_id
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-ipsec
      description: APIs.io Engineering Platform Update IPsec Tunnel
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsupdateipsectunnel
      with:
        ipsec_tunnel_id: tools.ipsec_tunnel_id
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-generate-pre
      description: APIs.io Engineering Platform Generate Pre Shared Key (PSK) for IPsec tunnels
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-magic-ipsec-tunnels.magicipsectunnelsgeneratepresharedkeypskforipsectunnels
      with:
        ipsec_tunnel_id: tools.ipsec_tunnel_id
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.