:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { defineGroup, defineLegacy } from '@/core/command'
import access from './access'
import call from './call'
import groups from './groups'
import info from './info'
import schema from './schema'
import search from './search'
import tools from './tools'
export default defineGroup({
description: 'Browse and call the PostHog API through the tools the PostHog MCP server offers',
commands: {
groups,
tools,
search,
info,
schema,
call,
access,
skill: defineLegacy({ description: 'List and install PostHog agent skills', use: 'posthog-cli api skill' }),
'agents-md': defineLegacy({
description: 'Install the PostHog steering snippet in AGENTS.md',
use: 'posthog-cli api agents-md',
}),
},
})