> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mistle.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PostHog

> Connect PostHog to Mistle

## Overview

Connect to PostHog through PostHog's hosted MCP server and PostHog OAuth.

The PostHog MCP server lets agents inspect analytics, query PostHog data, manage feature flags, and investigate errors through the official provider-hosted endpoint.

## Connect In Mistle

Open **Integrations** in the dashboard, choose **PostHog**, then select **PostHog OAuth**.

The browser redirects to PostHog, the user approves access, and the returned OAuth credentials are stored for the connection.

PostHog routes the hosted MCP connection to the correct US or EU data region based on the account that authorizes access.

## Access Scope

This integration requests the PostHog MCP server's read and write OAuth scopes so agents can use the full official MCP workflow.

Review agent tool calls before approving changes that modify PostHog resources such as feature flags, dashboards, issues, surveys, or destinations.

## Official Reference

* [PostHog Model Context Protocol](https://posthog.com/docs/model-context-protocol)
* [PostHog MCP for Codex](https://posthog.com/docs/model-context-protocol/codex)

This integration uses the hosted MCP server at `https://mcp.posthog.com/mcp`.
