Mixpanel · Capability

Mixpanel Service Accounts API — Project Memberships

Mixpanel Service Accounts API — Project Memberships. 3 operations. Lead operation: Mixpanel List service account projects. Self-contained Naftiko capability covering one Mixpanel business surface.

Run with Naftiko MixpanelProject Memberships

What You Can Do

GET
Listserviceaccountprojects — Mixpanel List service account projects
/v1/organizations/{organizationid}/service-accounts/{serviceaccountid}/projects
POST
Addserviceaccounttoproject — Mixpanel Add service account to project
/v1/organizations/{organizationid}/service-accounts/{serviceaccountid}/projects
DELETE
Removeserviceaccountfromproject — Mixpanel Remove service account from project
/v1/organizations/{organizationid}/service-accounts/{serviceaccountid}/projects/{projectid}

MCP Tools

mixpanel-list-service-account-projects

Mixpanel List service account projects

read-only idempotent
mixpanel-add-service-account-project

Mixpanel Add service account to project

mixpanel-remove-service-account-project

Mixpanel Remove service account from project

idempotent

Capability Spec

service-accounts-project-memberships.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mixpanel Service Accounts API — Project Memberships
  description: 'Mixpanel Service Accounts API — Project Memberships. 3 operations. Lead operation: Mixpanel List service account
    projects. Self-contained Naftiko capability covering one Mixpanel business surface.'
  tags:
  - Mixpanel
  - Project Memberships
  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-project-memberships
    baseUri: https://mixpanel.com/api/app
    description: Mixpanel Service Accounts API — Project Memberships business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-service-accounts-serviceAccountId-projects
      path: /organizations/{organizationId}/service-accounts/{serviceAccountId}/projects
      operations:
      - name: listserviceaccountprojects
        method: GET
        description: Mixpanel List service account projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addserviceaccounttoproject
        method: POST
        description: Mixpanel Add service account to project
        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-projects-projectI
      path: /organizations/{organizationId}/service-accounts/{serviceAccountId}/projects/{projectId}
      operations:
      - name: removeserviceaccountfromproject
        method: DELETE
        description: Mixpanel Remove service account from project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: integer
          description: The project ID to remove access from
          required: true
    authentication:
      type: basic
      username: '{{env.MIXPANEL_USER}}'
      password: '{{env.MIXPANEL_PASS}}'
  exposes:
  - type: rest
    namespace: service-accounts-project-memberships-rest
    port: 8080
    description: REST adapter for Mixpanel Service Accounts API — Project Memberships. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/service-accounts/{serviceaccountid}/projects
      name: organizations-organizationid-service-accounts-serviceaccountid-projects
      description: REST surface for organizations-organizationId-service-accounts-serviceAccountId-projects.
      operations:
      - method: GET
        name: listserviceaccountprojects
        description: Mixpanel List service account projects
        call: service-accounts-project-memberships.listserviceaccountprojects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addserviceaccounttoproject
        description: Mixpanel Add service account to project
        call: service-accounts-project-memberships.addserviceaccounttoproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/service-accounts/{serviceaccountid}/projects/{projectid}
      name: organizations-organizationid-service-accounts-serviceaccountid-projects-projecti
      description: REST surface for organizations-organizationId-service-accounts-serviceAccountId-projects-projectI.
      operations:
      - method: DELETE
        name: removeserviceaccountfromproject
        description: Mixpanel Remove service account from project
        call: service-accounts-project-memberships.removeserviceaccountfromproject
        with:
          projectId: rest.projectId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-accounts-project-memberships-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mixpanel Service Accounts API — Project Memberships. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: mixpanel-list-service-account-projects
      description: Mixpanel List service account projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-accounts-project-memberships.listserviceaccountprojects
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-add-service-account-project
      description: Mixpanel Add service account to project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-accounts-project-memberships.addserviceaccounttoproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mixpanel-remove-service-account-project
      description: Mixpanel Remove service account from project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: service-accounts-project-memberships.removeserviceaccountfromproject
      with:
        projectId: tools.projectId
      outputParameters:
      - type: object
        mapping: $.