Skip to content

Commit 6d5c923

Browse files
authored
feat: retrieve the latest version of mcp servers (#349)
1 parent b90ed59 commit 6d5c923

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/app/catalog/actions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export async function getServers(): Promise<V0ServerJson[]> {
3131
const api = await getAuthenticatedClient();
3232
const servers = await api.getRegistryV01Servers({
3333
client: api.client,
34+
query: {
35+
version: "latest",
36+
},
3437
});
3538

3639
if (servers.error) {

0 commit comments

Comments
 (0)