feat: add marketplace commands for discovering and installing MCP server#1
Merged
Conversation
58e70ec to
1f99d53
Compare
…vers This commit adds a comprehensive marketplace feature that allows users to browse, search, and install MCP servers from the official Model Context Protocol repository. New Features: - marketplace list: Lists all available MCP servers (448 servers including 7 reference and 441 official) - marketplace search: Search servers by name or description with case-insensitive matching - marketplace install: Interactive installation of MCP servers with YAML preview and confirmation Implementation Details: - Created pkg/marketplace package with data models (MCPServerEntry, MarketplaceCache) - Smart caching system: clones GitHub repo locally, parses README, extracts installation info - Automatic package manager detection (npx for Node.js, uvx for Python) - Parses package.json and pyproject.toml to extract installation commands - Interactive prompts with confirmation before modifying Claude Desktop config Documentation Updates: - Updated Quick Start to feature marketplace installation workflow - Added comprehensive "Marketplace Commands" section with examples - New workflow documentation for "Installing from Marketplace" - All commands documented with usage examples Technical Changes: - Fixed go.mod to use Go 1.23 (stable version compatible with tooling) - CI workflows remain on Go 1.21, 1.22, 1.23 for broad compatibility - Added 3 new marketplace subcommands to main.go CLI routing - Enhanced README with marketplace workflows and command documentation - All existing tests continue to pass The marketplace feature provides a seamless way to discover and install MCP servers without manually managing JSON configurations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1f99d53 to
02dbdd8
Compare
Enhanced the marketplace list command to provide a better user experience: New Features: - Interactive TUI now displays ALL 448 MCP servers (not just the 7 with auto-install) - Clear visual indicators: ✓ for auto-install, ⚠ for manual install required - Project path is requested AFTER server selection (better UX flow) - Smart installation handling: - Auto-install for 7 reference servers with package info - Manual install URLs provided for 441 official integrations - Detailed installation summary showing auto vs manual counts User Experience Improvements: - No project-path argument required upfront - Browse all 448+ servers from https://github.com/modelcontextprotocol/servers - Filter by typing to quickly find servers - Multi-select with spacebar for batch installation - Survey/v2 input prompt for project path after selection Technical Changes: - Removed PackageName filter in MarketplaceList to show all servers - Added installStatus icon (✓/⚠) to server display labels - Enhanced installation loop to handle both auto and manual installs - Added legend display to explain status icons - Updated README with corrected workflow documentation - Updated main.go to remove project-path requirement from CLI args The marketplace list command now provides full visibility into the entire MCP ecosystem while still automating installation where possible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.