Mixpanel · Capability

Mixpanel Identity API — Identity

Mixpanel Identity API — Identity. 3 operations. Lead operation: Mixpanel Create identity. Self-contained Naftiko capability covering one Mixpanel business surface.

Run with Naftiko MixpanelIdentity

What You Can Do

POST
Createidentity — Mixpanel Create identity
/v1/identity/create
POST
Createalias — Mixpanel Create alias
/v1/identity/create-alias
POST
Mergeidentities — Mixpanel Merge identities
/v1/identity/merge

MCP Tools

mixpanel-create-identity

Mixpanel Create identity

mixpanel-create-alias

Mixpanel Create alias

mixpanel-merge-identities

Mixpanel Merge identities

Capability Spec

identity-identity.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mixpanel Identity API — Identity
  description: 'Mixpanel Identity API — Identity. 3 operations. Lead operation: Mixpanel Create identity. Self-contained Naftiko
    capability covering one Mixpanel business surface.'
  tags:
  - Mixpanel
  - Identity
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MIXPANEL_API_KEY: MIXPANEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: identity-identity
    baseUri: https://api.mixpanel.com
    description: Mixpanel Identity API — Identity business capability. Self-contained, no shared references.
    resources:
    - name: identity-create
      path: /identity/create
      operations:
      - name: createidentity
        method: POST
        description: Mixpanel Create identity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: identity-create-alias
      path: /identity/create-alias
      operations:
      - name: createalias
        method: POST
        description: Mixpanel Create alias
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: identity-merge
      path: /identity/merge
      operations:
      - name: mergeidentities
        method: POST
        description: Mixpanel Merge identities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.MIXPANEL_USER}}'
      password: '{{env.MIXPANEL_PASS}}'
  exposes:
  - type: rest
    namespace: identity-identity-rest
    port: 8080
    description: REST adapter for Mixpanel Identity API — Identity. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/identity/create
      name: identity-create
      description: REST surface for identity-create.
      operations:
      - method: POST
        name: createidentity
        description: Mixpanel Create identity
        call: identity-identity.createidentity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/identity/create-alias
      name: identity-create-alias
      description: REST surface for identity-create-alias.
      operations:
      - method: POST
        name: createalias
        description: Mixpanel Create alias
        call: identity-identity.createalias
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/identity/merge
      name: identity-merge
      description: REST surface for identity-merge.
      operations:
      - method: POST
        name: mergeidentities
        description: Mixpanel Merge identities
        call: identity-identity.mergeidentities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: identity-identity-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mixpanel Identity API — Identity. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mixpanel-create-identity
      description: Mixpanel Create identity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.createidentity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-create-alias
      description: Mixpanel Create alias
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.createalias
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-merge-identities
      description: Mixpanel Merge identities
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.mergeidentities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.