MCPcopy
hub / github.com/wshobson/agents / list_plugins

Function list_plugins

tools/adapters/base.py:369–373  ·  view source on GitHub ↗

All plugin directory names under plugins/.

()

Source from the content-addressed store, hash-verified

367
368
369def list_plugins() -> list[str]:
370 """All plugin directory names under plugins/."""
371 if not PLUGINS_DIR.is_dir():
372 return []
373 return sorted(p.name for p in PLUGINS_DIR.iterdir() if p.is_dir())
374
375
376# ── HarnessAdapter base class ─────────────────────────────────────────────────

Calls

no outgoing calls