Scalar · Capability

Core — login-portals

Core — login-portals. 5 operations. Lead operation: Get a login portal. Self-contained Naftiko capability covering one business surface.

Core — login-portals is a Naftiko capability published by Scalar, one of 22 capabilities the APIs.io network indexes for this provider. It bundles 5 operations across the GET, POST, and DELETE methods rooted at /v1/login-portals.

The capability includes 2 read-only operations and 3 state-changing operations. Lead operation: Get a login portal. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Scalar and login-portals.

Run with Naftiko Scalarlogin-portals

What You Can Do

GET
Getloginportalsslug — Get a login portal
/v1/login-portals/{slug}
GET
Getloginportals — Get a list of all login portals for the team
/v1/login-portals
POST
Postloginportals — Create a new login portal for the team
/v1/login-portals
DELETE
Deleteloginportals — Delete a specific login portal
/v1/login-portals
POST
Postloginportalsupdate — Update login portals metadata
/v1/login-portals/update

MCP Tools

scalar-getloginportalsslug

Get a login portal

read-only idempotent
scalar-getloginportals

Get a list of all login portals for the team

read-only idempotent
scalar-postloginportals

Create a new login portal for the team

scalar-deleteloginportals

Delete a specific login portal

idempotent
scalar-postloginportalsupdate

Update login portals metadata

Capability Spec

core-login-portals.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core — login-portals
  description: 'Core — login-portals. 5 operations. Lead operation: Get a login portal. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Scalar
  - login-portals
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    SCALAR_API_KEY: SCALAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-login-portals
    baseUri: https://example.com
    description: Core — login-portals business capability. Self-contained, no shared references.
    resources:
    - name: login-portals-slug
      path: /login-portals/{slug}
      operations:
      - name: getloginportalsslug
        method: GET
        description: Get a login portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: slug
          in: path
          type: string
          description: path parameter slug.
          required: true
    - name: login-portals
      path: /login-portals
      operations:
      - name: getloginportals
        method: GET
        description: Get a list of all login portals for the team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
      - name: postloginportals
        method: POST
        description: Create a new login portal for the team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteloginportals
        method: DELETE
        description: Delete a specific login portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: login-portals-update
      path: /login-portals/update
      operations:
      - name: postloginportalsupdate
        method: POST
        description: Update login portals metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: core-login-portals-rest
    port: 8080
    description: REST adapter for Core — login-portals. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/login-portals/{slug}
      name: login-portals-slug
      description: REST surface for login-portals-slug.
      operations:
      - method: GET
        name: getloginportalsslug
        description: Get a login portal
        call: core-login-portals.getloginportalsslug
        with:
          slug: rest.slug
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/login-portals
      name: login-portals
      description: REST surface for login-portals.
      operations:
      - method: GET
        name: getloginportals
        description: Get a list of all login portals for the team
        call: core-login-portals.getloginportals
        with: {}
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postloginportals
        description: Create a new login portal for the team
        call: core-login-portals.postloginportals
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteloginportals
        description: Delete a specific login portal
        call: core-login-portals.deleteloginportals
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/login-portals/update
      name: login-portals-update
      description: REST surface for login-portals-update.
      operations:
      - method: POST
        name: postloginportalsupdate
        description: Update login portals metadata
        call: core-login-portals.postloginportalsupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-login-portals-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core — login-portals. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: scalar-getloginportalsslug
      description: Get a login portal
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-login-portals.getloginportalsslug
      with:
        slug: tools.slug
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-getloginportals
      description: Get a list of all login portals for the team
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-login-portals.getloginportals
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postloginportals
      description: Create a new login portal for the team
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-login-portals.postloginportals
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-deleteloginportals
      description: Delete a specific login portal
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: core-login-portals.deleteloginportals
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postloginportalsupdate
      description: Update login portals metadata
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-login-portals.postloginportalsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.