Module: PostHog::MCP::ServerExtension Private

Defined in:
lib/posthog/mcp/server_extension.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Prepended onto MCP::Server once. Wraps the dispatch lambda that handle_request returns for instrumented servers so Instrumentation runs around the real handler with the raw request, params, and session. Uninstrumented servers fall straight through to super.