Skip to content

feat: add marketplace commands for discovering and installing MCP server#1

Merged
flug merged 2 commits into
trunkfrom
feat/marketplace
Oct 20, 2025
Merged

feat: add marketplace commands for discovering and installing MCP server#1
flug merged 2 commits into
trunkfrom
feat/marketplace

Conversation

@flug

@flug flug commented Oct 20, 2025

Copy link
Copy Markdown
Owner

No description provided.

@flug flug force-pushed the feat/marketplace branch 2 times, most recently from 58e70ec to 1f99d53 Compare October 20, 2025 12:24
…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>
@flug flug force-pushed the feat/marketplace branch from 1f99d53 to 02dbdd8 Compare October 20, 2025 12:29
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>
@flug flug merged commit 8601ad0 into trunk Oct 20, 2025
4 checks passed
@flug flug deleted the feat/marketplace branch October 20, 2025 13:01
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.

1 participant