From 0866d8ee05be6a8ec5a7ec97ad4ae07b87b1f48c Mon Sep 17 00:00:00 2001 From: Matt Brooker Date: Wed, 15 Apr 2026 08:09:15 -0400 Subject: [PATCH] fix: remove shell-style string interpolation from MCP config Cursor (and automations like Lovable) don't support `${VAR:-default}` syntax in MCP configs. This caused the MCP URL to be passed as a literal string instead of resolving to the actual endpoint. Self-hosted users can still override via POSTHOG_MCP_URL in their local MCP config per the README instructions. Co-Authored-By: Claude Opus 4.6 (1M context) --- .cursor-plugin/plugin.json | 2 +- .mcp.json | 2 +- mcp.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 14f669b..45eeec5 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "posthog", "displayName": "PostHog", - "version": "1.0.4", + "version": "1.1.2", "description": "Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from Cursor", "author": { "name": "PostHog", diff --git a/.mcp.json b/.mcp.json index 5cdc28e..c520e60 100644 --- a/.mcp.json +++ b/.mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "posthog": { "type": "http", - "url": "${POSTHOG_MCP_URL:-https://mcp.posthog.com/mcp}" + "url": "https://mcp.posthog.com/mcp" } } } diff --git a/mcp.json b/mcp.json index 5cdc28e..c520e60 100644 --- a/mcp.json +++ b/mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "posthog": { "type": "http", - "url": "${POSTHOG_MCP_URL:-https://mcp.posthog.com/mcp}" + "url": "https://mcp.posthog.com/mcp" } } }