# GAS Library Hub > Google Apps Script (GAS) のライブラリとWebアプリを検索・発見できるプラットフォームです。 > AIエージェントやMCPクライアントが GAS ライブラリ情報を取得するためのAPIを提供します。 GAS Library Hub は、開発者が Google Apps Script のオープンソースライブラリを 効率的に発見・評価できるよう支援します。各ライブラリにはAI生成の要約、 使用例、機能説明が含まれています。 ## MCP Server このサイトは Model Context Protocol (MCP) をサポートしています。 Claude Desktop、Cursor、その他のMCPクライアントから直接GASライブラリを検索・取得できます。 ### Endpoint - URL: https://appscripthub.com/api/mcp - Transport: HTTP (JSON-RPC 2.0) - Protocol Version: 2024-11-05 ### Available Tools 1. **search_libraries** - GASライブラリをキーワード、タグ、条件で検索 - Parameters: query, tags, minStars, limit, locale 2. **get_library_details** - 特定のライブラリの詳細情報を取得(AI要約、使用例、ドキュメント含む) - Parameters: libraryId (required) ### Available Resources - `gas-library-hub://catalog` - 全ライブラリカタログ(JSON) ### Configuration Claude Desktop (`claude_desktop_config.json`): ```json { "mcpServers": { "gas-library-hub": { "url": "https://appscripthub.com/api/mcp" } } } ``` Cursor (`.cursor/mcp.json`): ```json { "mcpServers": { "gas-library-hub": { "url": "https://appscripthub.com/api/mcp" } } } ``` ## REST API ### ライブラリ検索API - エンドポイント: https://appscripthub.com/api/libraries - メソッド: GET - パラメータ: - q: 検索キーワード - scriptType: library | web_app - tags: カンマ区切りタグ - minStars: 最小スター数 - page, limit: ページネーション - locale: ja | en ### ライブラリ詳細API - エンドポイント: https://appscripthub.com/api/libraries/{id} - メソッド: GET - レスポンス: ライブラリの詳細情報(AI要約、使用例含む) ## Documentation - [全ライブラリ一覧](/llms-full.txt): 全公開ライブラリのMarkdown形式 ## データ構造 各ライブラリには以下の情報が含まれます: - 基本情報: 名前、スクリプトID、GitHubリポジトリURL - メトリクス: スター数、コピー回数 - AI要約: 目的、ターゲットユーザー、主要機能、使用例(日英対応) - タグ: カテゴリ分類(OAuth, Spreadsheet, Gmail等) ## 使用例 ### MCP経由でのライブラリ検索 ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "search_libraries", "arguments": { "query": "OAuth", "limit": 5, "locale": "ja" } }, "id": 1 } ``` ### REST APIでのライブラリ検索 ```bash curl "https://appscripthub.com/api/libraries?q=OAuth&scriptType=library&limit=5" ``` ### 特定ライブラリの詳細取得 ```bash curl "https://appscripthub.com/api/libraries/{library_id}" ``` ## Contact - Website: https://appscripthub.com - GitHub: https://github.com/wywy-llc/app-script-hub - Contact Form: https://wywy.jp/contact