diff --git a/.changeset/few-ravens-visit.md b/.changeset/few-ravens-visit.md
new file mode 100644
index 00000000..c80bfc76
--- /dev/null
+++ b/.changeset/few-ravens-visit.md
@@ -0,0 +1,5 @@
+---
+"claude-dev": minor
+---
+
+enabling mcp marketplace download counts
diff --git a/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceCard.tsx b/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceCard.tsx
index d486a4fc..0efac62a 100644
--- a/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceCard.tsx
+++ b/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceCard.tsx
@@ -181,7 +181,7 @@ const McpMarketplaceCard = ({ item, installedServers }: McpMarketplaceCardProps)
{item.githubStars?.toLocaleString() ?? 0}
- {/*
{item.downloadCount?.toLocaleString() ?? 0}
-
*/}
+
{item.requiresApiKey && (
)}
diff --git a/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceView.tsx b/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceView.tsx
index e712b7c0..b1afaf17 100644
--- a/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceView.tsx
+++ b/webview-ui/src/components/mcp/configuration/tabs/marketplace/McpMarketplaceView.tsx
@@ -21,7 +21,7 @@ const McpMarketplaceView = () => {
const [isRefreshing, setIsRefreshing] = useState(false)
const [searchQuery, setSearchQuery] = useState("")
const [selectedCategory, setSelectedCategory] = useState(null)
- const [sortBy, setSortBy] = useState<"newest" | "stars" | "name">("newest")
+ const [sortBy, setSortBy] = useState<"newest" | "stars" | "name" | "downloadCount">("downloadCount")
const categories = useMemo(() => {
const uniqueCategories = new Set(items.map((item) => item.category))
@@ -41,8 +41,8 @@ const McpMarketplaceView = () => {
})
.sort((a, b) => {
switch (sortBy) {
- // case "downloadCount":
- // return b.downloadCount - a.downloadCount
+ case "downloadCount":
+ return b.downloadCount - a.downloadCount
case "stars":
return b.githubStars - a.githubStars
case "name":
@@ -232,7 +232,7 @@ const McpMarketplaceView = () => {
}}
value={sortBy}
onChange={(e) => setSortBy((e.target as HTMLInputElement).value as typeof sortBy)}>
- {/* Most Installs */}
+ Most Installs
Newest
GitHub Stars
Name