US Space Command · Capability

Space-Track.org REST API — Authentication

Space-Track.org REST API — Authentication. 1 operations. Lead operation: Authenticate with Space-Track.org. Self-contained Naftiko capability covering one Us Space Comman business surface.

Run with Naftiko Us Space CommanAuthentication

What You Can Do

POST
Login — Authenticate with Space-Track.org
/v1/ajaxauth/login

MCP Tools

authenticate-space-track-org

Authenticate with Space-Track.org

Capability Spec

us-space-command-space-track-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Space-Track.org REST API — Authentication
  description: 'Space-Track.org REST API — Authentication. 1 operations. Lead operation: Authenticate with Space-Track.org.
    Self-contained Naftiko capability covering one Us Space Comman business surface.'
  tags:
  - Us Space Comman
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    US_SPACE_COMMAN_API_KEY: US_SPACE_COMMAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: us-space-command-space-track-authentication
    baseUri: https://www.space-track.org
    description: Space-Track.org REST API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: ajaxauth-login
      path: /ajaxauth/login
      operations:
      - name: login
        method: POST
        description: Authenticate with Space-Track.org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: chocolatechip
      value: '{{env.US_SPACE_COMMAN_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: us-space-command-space-track-authentication-rest
    port: 8080
    description: REST adapter for Space-Track.org REST API — Authentication. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/ajaxauth/login
      name: ajaxauth-login
      description: REST surface for ajaxauth-login.
      operations:
      - method: POST
        name: login
        description: Authenticate with Space-Track.org
        call: us-space-command-space-track-authentication.login
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: us-space-command-space-track-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Space-Track.org REST API — Authentication. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: authenticate-space-track-org
      description: Authenticate with Space-Track.org
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: us-space-command-space-track-authentication.login
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.