From f0d078a34d9df3755bed3a478d2976bd62216388 Mon Sep 17 00:00:00 2001 From: Isabelle Ilyia Date: Mon, 13 Jul 2026 17:41:04 -0700 Subject: [PATCH] fix: hardcode the prod MCP URL instead of \${CEDAR_MCP_URL:-...} templating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Testing shows the marketplace sync in Cowork still fails identically after the git-subdir source fix (#3), ruling that out. Next candidate: this file's env-var expansion syntax. Two matching upstream bugs: - anthropics/claude-code#9427: \${VAR} expansion fails specifically for .mcp.json files that live in a plugin root (not a project root) — exactly this file's location. - anthropics/claude-code#40372: \${VAR} expansion fails specifically in the Desktop app, which Cowork runs inside/via. If Cowork's server-side marketplace-content validation can't expand \${CEDAR_MCP_URL:-https://api.mail.cedarcopilot.com/mcp}, it may see a malformed URL and reject the whole plugin's content — surfacing as the same generic "Marketplace sync failed. Check the repository URL and try again." message documented in #61271 for a completely different underlying cause. Trades away the CEDAR_MCP_URL local-dev override on this published repo in favor of Cowork compatibility; local/dev testing needs a separate override until this is confirmed and a lower-risk mechanism is worth revisiting. --- cedar-plugin/.mcp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cedar-plugin/.mcp.json b/cedar-plugin/.mcp.json index 19dcb65..4c69056 100644 --- a/cedar-plugin/.mcp.json +++ b/cedar-plugin/.mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "cedar-mcp": { "type": "http", - "url": "${CEDAR_MCP_URL:-https://api.mail.cedarcopilot.com/mcp}" + "url": "https://api.mail.cedarcopilot.com/mcp" } } }