Mixpanel · Capability

Mixpanel Service Accounts API — Service Accounts

Mixpanel Service Accounts API — Service Accounts. 4 operations. Lead operation: Mixpanel List service accounts. Self-contained Naftiko capability covering one Mixpanel business surface.

Run with Naftiko MixpanelService Accounts

What You Can Do

GET
Listserviceaccounts — Mixpanel List service accounts
/v1/organizations/{organizationid}/service-accounts
POST
Createserviceaccount — Mixpanel Create a service account
/v1/organizations/{organizationid}/service-accounts
GET
Getserviceaccount — Mixpanel Get service account
/v1/organizations/{organizationid}/service-accounts/{serviceaccountid}
DELETE
Deleteserviceaccount — Mixpanel Delete service account
/v1/organizations/{organizationid}/service-accounts/{serviceaccountid}

MCP Tools

mixpanel-list-service-accounts

Mixpanel List service accounts

read-only idempotent
mixpanel-create-service-account

Mixpanel Create a service account

mixpanel-get-service-account

Mixpanel Get service account

read-only idempotent
mixpanel-delete-service-account

Mixpanel Delete service account

idempotent

Capability Spec

service-accounts-service-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mixpanel Service Accounts API — Service Accounts
  description: 'Mixpanel Service Accounts API — Service Accounts. 4 operations. Lead operation: Mixpanel List service accounts.
    Self-contained Naftiko capability covering one Mixpanel business surface.'
  tags:
  - Mixpanel
  - Service Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MIXPANEL_API_KEY: MIXPANEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-accounts-service-accounts
    baseUri: https://mixpanel.com/api/app
    description: Mixpanel Service Accounts API — Service Accounts business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-service-accounts
      path: /organizations/{organizationId}/service-accounts
      operations:
      - name: listserviceaccounts
        method: GET
        description: Mixpanel List service accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createserviceaccount
        method: POST
        description: Mixpanel Create a service account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organizationId-service-accounts-serviceAccountId
      path: /organizations/{organizationId}/service-accounts/{serviceAccountId}
      operations:
      - name: getserviceaccount
        method: GET
        description: Mixpanel Get service account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteserviceaccount
        method: DELETE
        description: Mixpanel Delete service account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.MIXPANEL_USER}}'
      password: '{{env.MIXPANEL_PASS}}'
  exposes:
  - type: rest
    namespace: service-accounts-service-accounts-rest
    port: 8080
    description: REST adapter for Mixpanel Service Accounts API — Service Accounts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/service-accounts
      name: organizations-organizationid-service-accounts
      description: REST surface for organizations-organizationId-service-accounts.
      operations:
      - method: GET
        name: listserviceaccounts
        description: Mixpanel List service accounts
        call: service-accounts-service-accounts.listserviceaccounts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccount
        description: Mixpanel Create a service account
        call: service-accounts-service-accounts.createserviceaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/service-accounts/{serviceaccountid}
      name: organizations-organizationid-service-accounts-serviceaccountid
      description: REST surface for organizations-organizationId-service-accounts-serviceAccountId.
      operations:
      - method: GET
        name: getserviceaccount
        description: Mixpanel Get service account
        call: service-accounts-service-accounts.getserviceaccount
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteserviceaccount
        description: Mixpanel Delete service account
        call: service-accounts-service-accounts.deleteserviceaccount
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-accounts-service-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mixpanel Service Accounts API — Service Accounts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: mixpanel-list-service-accounts
      description: Mixpanel List service accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-accounts-service-accounts.listserviceaccounts
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-create-service-account
      description: Mixpanel Create a service account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-accounts-service-accounts.createserviceaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-get-service-account
      description: Mixpanel Get service account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-accounts-service-accounts.getserviceaccount
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-delete-service-account
      description: Mixpanel Delete service account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: service-accounts-service-accounts.deleteserviceaccount
      outputParameters:
      - type: object
        mapping: $.