feat(ci): hit the prod MCP; drop the local posthog MCP server entirely - #3057
Merged
Conversation
The local MCP was a protocol proxy to the same us.posthog.com APIs the prod server fronts, but pinned to posthog master — so CI broke whenever master did (this week: a hard Redis dependency, before that the cold monorepo install). Delete the posthog clone/build/cache and the :8787 lifecycle; export MCP_URL=https://mcp.posthog.com/mcp so the wizard pairs local context-mill skills with the hosted MCP every real user hits. Requires wizard main with PostHog/wizard#975 (MCP_URL wins under --local-mcp). Generated-By: PostHog Code Task-Id: 2d43c175-646e-4d73-a974-760280c8c95b
sarahxsanders
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the posthog-master MCP server from wizard-ci and points the wizard at prod mcp.posthog.com instead.
The local server was a protocol proxy to the same us.posthog.com APIs (same phx key), but built from posthog master per run — so CI inherited master's breakages: this week's hard Redis dependency (services/mcp hono exits without redis:6379, from PostHog/posthog#72223), last cycle's 113-project cold install compiling node-rdkafka. Deleting the dependency removes both incident classes structurally: no posthog clone, no filtered pnpm install, no Redis, no :8787 readiness gate. context-mill stays local — it is the content under test. CI now exercises exactly the MCP every real user hits.
Depends on PostHog/wizard#975 (MCP_URL override wins under --local-mcp) being on the wizard ref under test — merge that first. Supersedes #3056 (the Redis stopgap): land that only if this needs to wait.
Created with PostHog Code