Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/wingman/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 []
Loading