list_platforms
Identify all platforms supported for skill sharing, helping AI agents select compatible environments.
Instructions
List all supported platforms (ClaudeCode, Cursor, CodexCLI, GeminiCLI, OpenClaw, CustomAgent, etc.). / 지원 플랫폼 목록.
Returns: 플랫폼 목록 문자열
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- mcp_server/skill_store_mcp.py:1105-1123 (handler)The 'list_platforms' tool handler function. Decorated with @mcp.tool() and @_log_tool. Calls _get('/v1/platforms') and formats the response listing supported platforms.
@mcp.tool() @_log_tool def list_platforms() -> str: """ List all supported platforms (ClaudeCode, Cursor, CodexCLI, GeminiCLI, OpenClaw, CustomAgent, etc.). / 지원 플랫폼 목록. Returns: 플랫폼 목록 문자열 """ result = _get("/v1/platforms") if result.get("status") == "error": return f"오류: {result.get('message')}" platforms = result.get("platforms", []) if not platforms: return "등록된 플랫폼이 없습니다." lines = ["지원 플랫폼:"] for p in platforms: lines.append(f"• {p.get('name')} — {p.get('description', '')}") return "\n".join(lines) - mcp_server/skill_store_mcp.py:1105-1105 (registration)Tool registration via @mcp.tool() decorator on the list_platforms function.
@mcp.tool() - mcp_server/skill_store_mcp.py:85-95 (helper)The _get helper function used by list_platforms to make HTTP GET requests to the skill store API.
def _get(path: str, params: dict = None) -> dict: url = SKILL_STORE_URL + path if params: url += "?" + urllib.parse.urlencode({k: v for k, v in params.items() if v is not None}) try: with urllib.request.urlopen(url, timeout=10) as resp: return json.loads(resp.read().decode()) except urllib.error.HTTPError as e: return {"status": "error", "message": f"HTTP {e.code}: {e.reason}"} except Exception as e: return {"status": "error", "message": str(e)}