From bc875e80bee06bf11bd28cfc2fdf9ee563d3d2d7 Mon Sep 17 00:00:00 2001 From: jordanecker-ant Date: Tue, 8 Sep 2026 19:54:59 +0100 Subject: [PATCH] context7: tag the remote MCP URL with client=claude-code-plugin (+ validate path fix) (#5823) * context7: tag the remote MCP URL with client=claude-code-plugin * validate: also trigger on vendored plugins' .mcp.json and hooks changes --- .github/workflows/validate-plugins.yml | 8 ++++++++ external_plugins/context7/.mcp.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml index 80ed146f..83abae98 100644 --- a/.github/workflows/validate-plugins.yml +++ b/.github/workflows/validate-plugins.yml @@ -48,6 +48,14 @@ on: - 'plugins/*/assets/**' - 'external_plugins/*/README.md' - 'external_plugins/*/assets/**' + # And for a vendored plugin's MCP server config / hooks: a PR that only edits + # plugins//.mcp.json (e.g. repointing a partner's remote MCP URL, as + # #4985 and its follow-up did for context7) or a hooks file matches nothing + # above, so `validate` never reports and the PR sits "Expected" forever. + - 'plugins/*/.mcp.json' + - 'plugins/*/hooks/**' + - 'external_plugins/*/.mcp.json' + - 'external_plugins/*/hooks/**' push: branches: [main] paths: diff --git a/external_plugins/context7/.mcp.json b/external_plugins/context7/.mcp.json index 7fda704c..7619d26e 100644 --- a/external_plugins/context7/.mcp.json +++ b/external_plugins/context7/.mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "context7": { "type": "http", - "url": "https://mcp.context7.com/mcp", + "url": "https://mcp.context7.com/mcp?client=claude-code-plugin", "headers": { "Authorization": "${CONTEXT7_API_KEY:-}" }