mcp

PostHog MCPは、ユーザーが機能フラグを管理し、エラーを追跡するためのツールです。簡単なインストール手順とAPIキーを使用した設定が特徴で、デスクトップクライアントとの統合が可能です。環境変数の設定により、ローカルでの実行もサポートしています。

GitHubスター

63

ユーザー評価

未評価

フォーク

7

イシュー

7

閲覧数

0

お気に入り

0

README

PostHog MCP

Use the MCP Server

Quick install

You can install the MCP server automatically into popular clients by running the following command:

npx @posthog/wizard@latest mcp add

Manual install

  1. Obtain a personal API key using the MCP Server preset here.

  2. Add the MCP configuration to your desktop client (e.g. Cursor, Windsurf, Claude Desktop) and add your personal API key

{
  "mcpServers": {
    "posthog": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.posthog.com/sse",
        "--header",
        "Authorization:${POSTHOG_AUTH_HEADER}"
      ],
      "env": {
        "POSTHOG_AUTH_HEADER": "Bearer {INSERT_YOUR_PERSONAL_API_KEY_HERE}"
      }
    }
  }
}

Here are some examples of prompts you can use:

  • What feature flags do I have active?
  • Add a new feature flag for our homepage redesign
  • What are my most common errors?

Running locally

Environment variables

  • Create .dev.vars in the root
  • Add Inkeep API key to enable docs-search tool (see Inkeep API key - mcp)
INKEEP_API_KEY="..."
作者情報
PostHog

The single platform to analyze, test, observe, and deploy new features

San Francisco, California

1,350

フォロワー

245

リポジトリ

0

Gist

82

貢献数

トップ貢献者

スレッド