diff options
| author | jordanecker-ant <jordanecker@anthropic.com> | 2026-09-08 19:54:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-08 11:54:59 -0700 |
| commit | bc875e80bee06bf11bd28cfc2fdf9ee563d3d2d7 (patch) | |
| tree | 6f418a6c8b8fe7f29906327b9456fc969b78ac83 | |
| parent | b8ed5b51855f5dcf74991f312eb0cb81696b118e (diff) | |
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
| -rw-r--r-- | .github/workflows/validate-plugins.yml | 8 | ||||
| -rw-r--r-- | external_plugins/context7/.mcp.json | 2 |
2 files changed, 9 insertions, 1 deletions
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/<name>/.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:-}" } |
