You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Connected servers take precedence over marketplace servers in deduplication
522
-
3. If marketplace is unavailable, only connected servers will be returned
523
-
4. The endpoint distinguishes between search requests (with query params) and MCP protocol requests (without query params)
508
+
2. Connected servers take precedence over duplicate entries
509
+
3. The endpoint distinguishes between search requests (with query params) and MCP protocol requests (without query params)
524
510
525
511
### Health and Status
526
512
@@ -739,80 +725,6 @@ Response:
739
725
}
740
726
```
741
727
742
-
### Marketplace Integration
743
-
744
-
#### List Available Servers
745
-
746
-
```bash
747
-
GET /api/marketplace
748
-
```
749
-
750
-
Query Parameters:
751
-
752
-
-`search`: Filter by name, description, or tags
753
-
-`category`: Filter by category
754
-
-`tags`: Filter by comma-separated tags
755
-
-`sort`: Sort by "newest", "stars", or "name"
756
-
757
-
Response:
758
-
759
-
```json
760
-
{
761
-
"servers": [
762
-
{
763
-
"id": "example-server",
764
-
"name": "Example Server",
765
-
"description": "Description here",
766
-
"author": "example-author",
767
-
"url": "https://github.com/user/repo",
768
-
"category": "search",
769
-
"tags": ["search", "ai"],
770
-
"stars": 100,
771
-
"featured": true,
772
-
"verified": true,
773
-
"lastCommit": 1751257963,
774
-
"updatedAt": 1751265038
775
-
}
776
-
],
777
-
"timestamp": "2024-02-20T05:55:00.000Z"
778
-
}
779
-
```
780
-
781
-
#### Get Server Details
782
-
783
-
```bash
784
-
POST /api/marketplace/details
785
-
Content-Type: application/json
786
-
787
-
{
788
-
"mcpId": "example-server"
789
-
}
790
-
```
791
-
792
-
Response:
793
-
794
-
```json
795
-
{
796
-
"server": {
797
-
"id": "example-server",
798
-
"name": "Example Server",
799
-
"description": "Description here",
800
-
"author": "example-author",
801
-
"url": "https://github.com/user/repo",
802
-
"category": "search",
803
-
"tags": ["search", "ai"],
804
-
"installations": [],
805
-
"stars": 100,
806
-
"featured": true,
807
-
"verified": true,
808
-
"lastCommit": 1751257963,
809
-
"updatedAt": 1751265038
810
-
},
811
-
"readmeContent": "# Server Documentation...",
812
-
"timestamp": "2024-02-20T05:55:00.000Z"
813
-
}
814
-
```
815
-
816
728
### MCP Server Operations
817
729
818
730
#### Execute Tool
@@ -1348,27 +1260,13 @@ All client requests follow a standardized flow:
1348
1260
1349
1261
- Node.js >= 18.0.0
1350
1262
1351
-
## MCP Registry
1352
-
1353
-
MCP Hub now uses the [MCP Registry](https://github.com/ravitemer/mcp-registry) system for marketplace functionality. This provides:
1354
-
1355
-
-**Decentralized Server Discovery**: Registry hosted on GitHub Pages for better reliability
1356
-
-**Direct GitHub Integration**: README documentation fetched directly from repositories
1357
-
-**Enhanced Metadata**: Comprehensive server information including stars, categories, and installation instructions
1358
-
-**Better Caching**: Improved cache system with 1-hour TTL for frequent updates
1359
-
-**Fallback Support**: Automatic fallback to curl when fetch fails (useful for proxy/VPN environments)
1360
-
1361
-
The registry is updated regularly with new servers and improvements to existing entries.
1362
-
1363
1263
## Todo
1364
1264
1365
-
-[x] Implement custom marketplace rather than depending on mcp-marketplace
1366
1265
-[ ] TUI like mcphub.nvim
1367
1266
-[ ] Web UI for managing servers
1368
1267
1369
1268
### 🙏 Credits
1370
1269
1371
1270
Thanks to:
1372
1271
1373
-
-[ravitemer/mcp-registry](https://github.com/ravitemer/mcp-registry) - For providing the MCP server marketplace endpoints that power MCP Hub's marketplace integration
1374
1272
-[ravitemer/mcp-hub](https://github.com/ravitemer/mcp-hub) - A centralized manager for Model Context Protocol (MCP) servers with dynamic server management and monitoring
0 commit comments