Skip to content

Fix MCP server download issues#18

Merged
jacksteamdev merged 1 commit intojacksteamdev:mainfrom
billwestrup:fix-mcp-server-download
Mar 23, 2025
Merged

Fix MCP server download issues#18
jacksteamdev merged 1 commit intojacksteamdev:mainfrom
billwestrup:fix-mcp-server-download

Conversation

@billwestrup
Copy link
Copy Markdown

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.
@netlify
Copy link
Copy Markdown

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
Copy Markdown
Owner

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

@billwestrup
Copy link
Copy Markdown
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