Commit fd91667
committed
feat(all): add deployments tab with team info and refactor catalog tables
Split the MCP Server Catalog into 4 separate table components with a new Deployments tab that displays team ownership information.
Backend changes:
- Add 'github' as valid source type to validation schemas
- Update mcpCatalogService to LEFT JOIN with teams table for all servers
- Return team_name, team_slug, and team_id for servers with owner_team_id
- Update API response schemas to include optional team fields
Frontend changes:
- Create McpServerTableWrapper with shared UI (tabs, search, filters)
- Split into 4 table components: All, Official Registry, Manual, Deployments
- Add new Deployments tab showing servers with team ownership
- Display team name as clickable link to team admin page
- Update types to support github source and team information
- Replace single McpServerTableColumns with modular component structure
The Deployments tab shows github-sourced servers with team column linking to team management pages. Team information is now available for any server with an owner_team_id,
regardless of source type.1 parent b1115bf commit fd91667
File tree
15 files changed
+3273
-648
lines changed- services
- backend
- src
- routes/mcp/servers
- services
- frontend/src
- i18n/locales/en
- types
- views/admin/mcp-server-catalog
- components
15 files changed
+3273
-648
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
| 199 | + | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
| 1192 | + | |
1193 | 1193 | | |
1194 | | - | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
1195 | 1198 | | |
1196 | 1199 | | |
1197 | 1200 | | |
| |||
1477 | 1480 | | |
1478 | 1481 | | |
1479 | 1482 | | |
1480 | | - | |
| 1483 | + | |
1481 | 1484 | | |
1482 | 1485 | | |
1483 | 1486 | | |
| |||
1540 | 1543 | | |
1541 | 1544 | | |
1542 | 1545 | | |
1543 | | - | |
| 1546 | + | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
| |||
1781 | 1784 | | |
1782 | 1785 | | |
1783 | 1786 | | |
1784 | | - | |
| 1787 | + | |
1785 | 1788 | | |
1786 | 1789 | | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1787 | 1794 | | |
1788 | 1795 | | |
1789 | 1796 | | |
| |||
1981 | 1988 | | |
1982 | 1989 | | |
1983 | 1990 | | |
1984 | | - | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1985 | 1998 | | |
1986 | 1999 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
328 | 336 | | |
329 | 337 | | |
330 | 338 | | |
331 | 339 | | |
332 | 340 | | |
333 | | - | |
| 341 | + | |
334 | 342 | | |
335 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
336 | 352 | | |
337 | 353 | | |
338 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
871 | 872 | | |
872 | 873 | | |
873 | 874 | | |
| 875 | + | |
874 | 876 | | |
875 | 877 | | |
876 | 878 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments