Skip to content

Commit 593cb4b

Browse files
committed
add browsermcp y trending data
1 parent 4f7048b commit 593cb4b

File tree

5 files changed

+253
-224
lines changed

5 files changed

+253
-224
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"mcpServers": {
3+
"browsermcp": {
4+
"description": "With Browser MCP, you can use MCP to automate your browser so that AI applications can navigate the web, fill out forms, and more.",
5+
"command": "npx",
6+
"args": ["@browsermcp/mcp@latest"]
7+
}
8+
}
9+
}

docs/components.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2788,6 +2788,14 @@
27882788
"content": "{\n \"mcpServers\": {\n \"browser-server\": {\n \"description\": \"An MCP server that enables AI agents to control web browsers using browser-use.\",\n \"command\": \"browser-use-mcp-server\",\n \"args\": [\n \"run\",\n \"server\",\n \"--port\",\n \"8000\",\n \"--stdio\",\n \"--proxy-port\",\n \"9000\"\n ],\n \"env\": {\n \"OPENAI_API_KEY\": \"your-api-key\"\n }\n }\n }\n}",
27892789
"description": "An MCP server that enables AI agents to control web browsers using browser-use."
27902790
},
2791+
{
2792+
"name": "browsermcp",
2793+
"path": "browser_automation/browsermcp.json",
2794+
"category": "browser_automation",
2795+
"type": "mcp",
2796+
"content": "{\n \"mcpServers\": {\n \"browsermcp\": {\n \"description\": \"With Browser MCP, you can use MCP to automate your browser so that AI applications can navigate the web, fill out forms, and more.\",\n \"command\": \"npx\",\n \"args\": [\"@browsermcp/mcp@latest\"]\n }\n }\n}",
2797+
"description": "With Browser MCP, you can use MCP to automate your browser so that AI applications can navigate the web, fill out forms, and more."
2798+
},
27912799
{
27922800
"name": "mcp-server-browserbase",
27932801
"path": "browser_automation/mcp-server-browserbase.json",

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ <h3>Claude Conversation Monitor</h3>
428428
<div class="footer-right">
429429
<p class="footer-copyright">&copy; 2025 Claude Code Templates. Open source project.</p>
430430
<div class="footer-links">
431+
<a href="trending.html" class="footer-link">
432+
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
433+
<path d="M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z"/>
434+
</svg>
435+
Trending
436+
</a>
431437
<a href="https://docs.aitmpl.com/" target="_blank" class="footer-link">
432438
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
433439
<path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z"/>

docs/js/trending.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,23 @@ class TrendingPage {
9595
allItems = allItems.concat(categoryItems);
9696
}
9797
});
98-
// Sort by weekly downloads and take top 10
99-
allItems.sort((a, b) => (b.downloadsWeek || 0) - (a.downloadsWeek || 0));
100-
allItems = allItems.slice(0, 10);
10198
}
10299
} else {
103100
// Get items from selected category
104101
allItems = this.data.trending[this.currentType] || [];
105102
}
106103

107-
// Apply date range filter (for now just return all items)
108-
// In the future, this could filter by actual dates
104+
// Sort by the current date range downloads (highest to lowest)
105+
allItems.sort((a, b) => {
106+
const aDownloads = this.getDownloadsForRange(a);
107+
const bDownloads = this.getDownloadsForRange(b);
108+
return bDownloads - aDownloads;
109+
});
110+
111+
// For "all" categories, limit to top 10
112+
if (this.currentType === '') {
113+
allItems = allItems.slice(0, 10);
114+
}
109115

110116
return allItems;
111117
}

0 commit comments

Comments
 (0)