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
This commit is contained in:
jordanecker-ant
2026-09-08 11:54:59 -07:00
committed by GitHub
parent b8ed5b5185
commit bc875e80be
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -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:
+1 -1
View File
@@ -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:-}"
}