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.

chore(ci): remove Python setup from the mcp build (#130904)

posthog[bot]a2640ea448d8
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index 58c8bf9bdf30..4dd9245b22b0 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -205,18 +205,6 @@ jobs:
private-key: ${{ secrets.GH_APP_POSTHOG_SETUP_ACTIONS_PRIVATE_KEY }}
skip-token-revoke: true
- - name: Set up Python
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- with:
- python-version: 3.14.7
- token: ${{ steps.setup-gh-token.outputs.token || github.token }}
-
- - name: Install uv
- uses: ./.github/actions/setup-uv
-
- - name: Install Python dependencies
- run: UV_PROJECT_ENVIRONMENT=$pythonLocation uv sync --frozen --dev
-
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
with:
@@ -243,7 +231,7 @@ jobs:
- name: Check MCP schema is up to date
run: |
- ./bin/hogli build:schema-mcp
+ (cd services/mcp && pnpm exec tsx scripts/generate-tool-schema.ts && pnpm exec oxfmt schema/tool-inputs.json)
if ! git diff --exit-code services/mcp/schema/tool-inputs.json; then
echo ""
echo "::error::MCP tool-inputs.json is out of date. Run 'hogli build:schema-mcp' and commit the result."