integration-posthog

Connect a self-hosted Hermes agent to PostHog via hosted MCP.

13|1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/paarths-collab/hstack --skill integration-posthog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-posthog
Source: https://github.com/paarths-collab/hstack/tree/main/skills/integration-posthog
Command: npx skills add https://github.com/paarths-collab/hstack --skill integration-posthog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill connects PostHog to a self-hosted Hermes agent so you can use analytics, feature flags, error tracking, and query tools without manual setup or unsafe credential handling.

Core Features & Use Cases

  • SSH-first integration: Configures PostHog on a remote VPS where Hermes is running, with the user only providing the personal API key.
  • Safe, idempotent deployment: Verifies the key, checks the live PostHog API, registers the MCP endpoint, reloads the gateway, and includes rollback steps if anything fails.
  • Real operational use cases: Add PostHog to an AI coding agent for HogQL queries, feature-flag inspection, error investigation, and CDP or dashboard workflows.
  • Region-aware support: Works with US or EU PostHog Cloud and validates the correct host before wiring the integration.

Quick Start

Ask the agent to connect PostHog to your Hermes server by validating your personal API key, registering the hosted MCP endpoint, and reloading the gateway safely.

Frequently Asked Questions about integration-posthog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect PostHog to a self-hosted Hermes agent over SSH?

To connect PostHog to a self-hosted Hermes agent, you apply an SSH-first integration that validates your personal API key, registers the hosted MCP endpoint, and reloads the gateway safely. This enables analytics and feature flags without manual setup.

Can I run HogQL queries and inspect feature flags through an AI coding agent?

Yes, you can run HogQL queries and inspect feature flags by wiring PostHog into your Hermes agent. This integration enables real operational use cases like HogQL queries, error investigation, and CDP workflows directly through the agent.

Does this PostHog MCP integration support both US and EU Cloud regions?

Yes, the PostHog MCP integration supports both US and EU Cloud regions. It is region-aware and validates the correct host before wiring the integration to ensure your self-hosted Hermes agent connects to the right data center.

What is required to set up PostHog analytics on a remote VPS deployment?

Setting up PostHog analytics on a remote VPS requires a region-scoped personal API key and a live SSH connection to your Hermes server. The deployment process verifies the key against the live API before registering the MCP endpoint.

What happens if the PostHog API key validation fails during MCP registration?

If the PostHog API key validation fails during MCP registration, the deployment process includes rollback-safe secret handling. It performs a safe, idempotent deployment that automatically rolls back changes if anything fails during verification.

How do I safely add error tracking and CDP integration to my Hermes server?

You add error tracking and CDP integration by registering the PostHog hosted MCP endpoint on your Hermes server. The process verifies your API key, checks the live API, and reloads the gateway with rollback-safe steps to ensure safe configuration.