Skip to content

Conversation

billwestrup
Copy link

This commit fixes the 404 errors when downloading the MCP server binaries by:

  1. Updating the getDownloadUrl function in install.ts to use the correct naming conventions:

    • Windows: mcp-server-windows.exe
    • macOS arm64: mcp-server-macos-arm64
    • macOS x64: mcp-server-macos-x64
    • Linux: mcp-server-linux (no architecture in filename)
  2. Making the download URL dynamic in bun.config.ts by reading the version from package.json

  3. Adding test scripts to verify download functionality

  4. Adding detailed documentation in DOWNLOAD_FIXES.md

  5. Improving TypeScript type definitions for development environments

Resolves the 404 error issue when attempting to download the MCP server from the plugin.

This commit fixes the 404 errors when downloading the MCP server binaries by:

1. Updating the getDownloadUrl function in install.ts to use the correct naming conventions:
   - Windows: mcp-server-windows.exe
   - macOS arm64: mcp-server-macos-arm64
   - macOS x64: mcp-server-macos-x64
   - Linux: mcp-server-linux (no architecture in filename)

2. Making the download URL dynamic in bun.config.ts by reading the version from package.json

3. Adding test scripts to verify download functionality

4. Adding detailed documentation in DOWNLOAD_FIXES.md

5. Improving TypeScript type definitions for development environments

Resolves the 404 error issue when attempting to download the MCP server from the plugin.
Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for superb-starlight-b5acb5 canceled.

Name Link
🔨 Latest commit 96a78df
🔍 Latest deploy log https://app.netlify.com/sites/superb-starlight-b5acb5/deploys/67dda89e3bf64f0008593826

@jacksteamdev jacksteamdev merged commit 6c9abab into jacksteamdev:main Mar 23, 2025
4 checks passed
@jacksteamdev
Copy link
Owner

Wow @billwestrup, great PR! It certainly looks like this will fix the 404 issue on Linux. Approved.

@billwestrup
Copy link
Author

billwestrup commented Apr 4, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants