forked from zereight/gitlab-mcp
-
Notifications
You must be signed in to change notification settings - Fork 1
Use versioned MCPB download links instead of 'latest' #199
Copy link
Copy link
Labels
Description
Problem
MCPB download links on the documentation site use gitlab-mcp-latest.mcpb which:
- Gets intercepted by Vue Router (opens as HTML page instead of downloading)
- Doesn't indicate which version the user is downloading
Solution
- Add
__VERSION__placeholder to template files (.md.in) inject-tool-refs.tsreplaces placeholder with actual version from:RELEASE_VERSIONenv var (set by CI from latest GitHub release tag)- Fallback:
package.jsonversion
- Add
downloadattribute to prevent Vue Router interception - Links now use versioned filenames:
gitlab-mcp-6.43.0.mcpb
Changes
src/cli/inject-tool-refs.ts- Add__VERSION__placeholder support.github/workflows/docs.yml- PassRELEASE_VERSIONenv to inject-tool-refsdocs/index.md.in- Use__VERSION__in download linkdocs/guide/installation/claude-desktop.md.in- Use__VERSION__in download linksdocs/clients/claude-desktop.md→docs/clients/claude-desktop.md.in- Convert to templatedocs/.vitepress/config.mts- Update ignoreDeadLinks pattern for versioned files
Closes #199
Reactions are currently unavailable