docs: recommend a custom connector for Cowork, revert MCP URL hardcode#6
Merged
Merged
Conversation
…dcode Root cause of the Cowork marketplace-sync failure is now confirmed: this plugin's hooks.json uses the mcp_tool hook type (required to call an MCP tool directly from a hook, which is how conversation capture works), and Cowork's server-side marketplace-sync content validator only accepts command/prompt/agent hook types. Deliberate Anthropic-side restriction (anthropics/claude-code#35653, closed NOT_PLANNED for the identical HTTP-hooks case), not something fixable in this repo. Confirmed live via claude.ai-web.log's real error payload, and by testing a hooks-free build of this exact repo (synced fine with hooks removed, failed identically with them present). Since the plugin's only differentiator over a bare MCP connector is hook-driven conversation capture, and that can't work in Cowork today, recommend a custom connector there instead (same tools, no plugin involved) until Anthropic lifts the restriction. Also reverts the MCP URL hardcode from an earlier, now-ruled-out fix attempt (git-subdir source, kept — plain hardcode, undone) — restores the CEDAR_MCP_URL local-dev override the README's "Local development" section depends on.
1 task
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.
Summary
hooks.jsonuses themcp_toolhook type, and Cowork's server-side marketplace-sync validator only acceptscommand/prompt/agenthook types. Confirmed via the real error inclaude.ai-web.log, matching anthropics/claude-code#35653 (closedNOT_PLANNEDfor the identical HTTP-hooks case) — and by testing a hooks-free build of this exact repo, which synced successfully..mcp.jsonURL hardcode from an earlier, now-ruled-out fix attempt (git-subdirsource change is kept — separately valid; the flat URL hardcode wasn't) — restores theCEDAR_MCP_URLlocal-dev override the README's own "Local development" section depends on.Test plan
claude plugin validate ./cedar-pluginpass