Argo CD · Capability

Consolidate Services — SessionService

Consolidate Services — SessionService. 3 operations. Lead operation: Create a new JWT for authentication and set a cookie if using HTTP. Self-contained Naftiko capability covering one Argocd business surface.

Run with Naftiko ArgocdSessionService

What You Can Do

POST
Sessionservicecreate — Create a new JWT for authentication and set a cookie if using HTTP
/v1/api/v1/session
DELETE
Sessionservicedelete — Delete an existing JWT cookie if using HTTP
/v1/api/v1/session
GET
Sessionservicegetuserinfo — Get the current user's info
/v1/api/v1/session/userinfo

MCP Tools

create-new-jwt-authentication-and

Create a new JWT for authentication and set a cookie if using HTTP

delete-existing-jwt-cookie-if

Delete an existing JWT cookie if using HTTP

idempotent
get-current-user-s-info

Get the current user's info

read-only idempotent

Capability Spec

server-sessionservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Consolidate Services — SessionService
  description: 'Consolidate Services — SessionService. 3 operations. Lead operation: Create a new JWT for authentication and
    set a cookie if using HTTP. Self-contained Naftiko capability covering one Argocd business surface.'
  tags:
  - Argocd
  - SessionService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARGOCD_API_KEY: ARGOCD_API_KEY
capability:
  consumes:
  - type: http
    namespace: server-sessionservice
    baseUri: ''
    description: Consolidate Services — SessionService business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-session
      path: /api/v1/session
      operations:
      - name: sessionservicecreate
        method: POST
        description: Create a new JWT for authentication and set a cookie if using HTTP
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          required: true
      - name: sessionservicedelete
        method: DELETE
        description: Delete an existing JWT cookie if using HTTP
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-session-userinfo
      path: /api/v1/session/userinfo
      operations:
      - name: sessionservicegetuserinfo
        method: GET
        description: Get the current user's info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: server-sessionservice-rest
    port: 8080
    description: REST adapter for Consolidate Services — SessionService. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/session
      name: api-v1-session
      description: REST surface for api-v1-session.
      operations:
      - method: POST
        name: sessionservicecreate
        description: Create a new JWT for authentication and set a cookie if using HTTP
        call: server-sessionservice.sessionservicecreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sessionservicedelete
        description: Delete an existing JWT cookie if using HTTP
        call: server-sessionservice.sessionservicedelete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/session/userinfo
      name: api-v1-session-userinfo
      description: REST surface for api-v1-session-userinfo.
      operations:
      - method: GET
        name: sessionservicegetuserinfo
        description: Get the current user's info
        call: server-sessionservice.sessionservicegetuserinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: server-sessionservice-mcp
    port: 9090
    transport: http
    description: MCP adapter for Consolidate Services — SessionService. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-new-jwt-authentication-and
      description: Create a new JWT for authentication and set a cookie if using HTTP
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: server-sessionservice.sessionservicecreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-existing-jwt-cookie-if
      description: Delete an existing JWT cookie if using HTTP
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: server-sessionservice.sessionservicedelete
      outputParameters:
      - type: object
        mapping: $.
    - name: get-current-user-s-info
      description: Get the current user's info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: server-sessionservice.sessionservicegetuserinfo
      outputParameters:
      - type: object
        mapping: $.