From 28737d0f66423d87dacab5d280c34a0322ceec0c Mon Sep 17 00:00:00 2001 From: aryanma Date: Fri, 9 Jan 2026 13:54:38 -0800 Subject: [PATCH] fix: filter servers by featured status --- src/wingman/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wingman/config.py b/src/wingman/config.py index 1d4fb6a..29bc4af 100644 --- a/src/wingman/config.py +++ b/src/wingman/config.py @@ -211,13 +211,14 @@ def load_instructions(working_dir: Path | None = None) -> str: async def fetch_marketplace_servers() -> list[dict]: - """Fetch MCP servers from the marketplace.""" + """Fetch featured MCP servers from the marketplace.""" try: async with httpx.AsyncClient(timeout=10.0, follow_redirects=True) as client: resp = await client.get(f"{DEDALUS_SITE_URL}/api/marketplace") if resp.status_code == 200: data = resp.json() - return data.get("repositories", []) + repos = data.get("repositories", []) + return [r for r in repos if r.get("tags", {}).get("use_cases", {}).get("featured", False)] except Exception: pass return []