Skip to content

: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.

732 B
Raw Blame
"""Facade re-export for the MCP registry Celery surface.

Core's central beat wiring (``posthog/tasks/scheduled.py``) registers the sync sweep from
here rather than reaching into the product's internals, and the management command runs the
same pipeline through this boundary. Lives apart from ``api.py`` so the task modules' heavy
imports (celery, posthoganalytics) stay off that module, which presentation imports on every
request.
"""

from products.mcp_registry.backend.tasks.tasks import (
    MCP_REGISTRY_SYNC_CRONTAB,
    is_pipeline_enabled,
    run_mcp_registry_sync,
    run_sync_pipeline,
)

__all__ = [
    "MCP_REGISTRY_SYNC_CRONTAB",
    "is_pipeline_enabled",
    "run_mcp_registry_sync",
    "run_sync_pipeline",
]