Skip to content
VS Code

Engageable Analytics for VS Code

tech.engageable/analytics

Unified analytics MCP server for GA4, Mixpanel, and PostHog.

client:VS Code transport:stdio runtime:pypi

Install Engageable Analytics in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "posthog-api-key",
      "description": "POSTHOG_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "posthog-project-id",
      "description": "POSTHOG_PROJECT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ga4-credentials-json",
      "description": "GA4_CREDENTIALS_JSON",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ga4-property-id",
      "description": "GA4_PROPERTY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mixpanel-service-account-username",
      "description": "MIXPANEL_SERVICE_ACCOUNT_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mixpanel-service-account-secret",
      "description": "MIXPANEL_SERVICE_ACCOUNT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mixpanel-project-id",
      "description": "MIXPANEL_PROJECT_ID",
      "password": true
    }
  ],
  "servers": {
    "analytics": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "engageable"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "POSTHOG_API_KEY": "${input:posthog-api-key}",
        "POSTHOG_PROJECT_ID": "${input:posthog-project-id}",
        "GA4_CREDENTIALS_JSON": "${input:ga4-credentials-json}",
        "GA4_PROPERTY_ID": "${input:ga4-property-id}",
        "MIXPANEL_SERVICE_ACCOUNT_USERNAME": "${input:mixpanel-service-account-username}",
        "MIXPANEL_SERVICE_ACCOUNT_SECRET": "${input:mixpanel-service-account-secret}",
        "MIXPANEL_PROJECT_ID": "${input:mixpanel-project-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Engageable Analytics in other clients