Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lilac
Copy link
Contributor

@lilac lilac commented May 4, 2025

  • Inspired by docker's pull alias
  • Transformed short alias to esm.sh URL.

lilac added 5 commits May 4, 2025 16:52
- Updated the `install` command to accept package aliases, file paths, and various URL protocols for MCP server manifests.
- Modified the `README.md` to include detailed installation instructions and examples for new manifest sources.
- Improved the `downloadManifest` function to handle different URL schemes, including `file://` and `data:` protocols.
- Added comprehensive tests for the `install` command and manifest downloading functionality to ensure robust handling of all source types.
- Saved the original fetch implementation to restore it after tests.
- Enhanced test setup to only mock fetch when necessary, allowing real fetch tests to function correctly.
- Added a new test for handling data URLs with real fetch, ensuring proper validation of server responses.
- Cleaned up existing tests for better clarity and maintainability.
- Changed the homepage URL in package.json to the correct format.
- Added a new section in README.md detailing the MCP manifest concept, including its features and benefits for MCP server management.
@lilac lilac merged commit 880440e into main May 4, 2025
@lilac lilac deleted the feat/alias branch May 4, 2025 10:27
@github-actions
Copy link

github-actions bot commented May 4, 2025

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants