Goose App Maker MCP
グースアプリメーカー
この MCP (Model Context Protocol) サーバーを使用すると、ユーザーは、API 呼び出し、データ アクセスなどに Goose を利用する Web アプリケーションを Goose 経由で作成、管理、提供できます。
インストール
Goose にインストールするにはここをクリックしてください🪿🪿🪿🪿🪿🪿🪿🪿🪿🪿
特徴
基本的な指示から新しいWebアプリケーションを作成する
アプリを
~/.config/goose/app-maker-appsディレクトリに保存します(各アプリは独自のサブディレクトリに保存されます)。ウェブアプリケーションをオンデマンドでローカルに提供する
ウェブ アプリケーションをデフォルトのブラウザで開く (可能であればクロムレスで開く)
利用可能なすべてのWebアプリケーションを一覧表示します
Gooseを汎用バックエンドとして使用できるアプリを作成する
Related MCP server: mcp-toolkit
例
Goose 経由でデータをロードする(拡張機能を再利用)
Goose はあなたのアプリを追跡します:
オンデマンドでアプリを作成
豊富な表形式やリスト形式のデータも表示
ソースからの使用法
例えばガチョウの場合:
# Run directly from source
uv --directory $PWD run python main.py重要: この MCP は現時点では Goose デスクトップ アプリで実行する必要があります (goose-server/goosed にアクセスするため)
構築と公開
オプション: UVを使用してクリーンな環境で構築する
uv venv .venv
source .venv/bin/activate
uv pip install build
python -m build出版
pyproject.tomlのバージョンを更新します:
[project]
version = "x.y.z" # Update thisパッケージをビルドします。
# Clean previous builds
rm -rf dist/*
python -m buildPyPI に公開:
# Install twine if needed
uv pip install twine
# Upload to PyPI
python -m twine upload dist/*仕組み
この MCP はアプリを提供するだけでなく、goosed と独自のセッションを介してアプリが goose と通信できるようにします。
概要
このシステムは、非ブロッキングの非同期リクエスト・レスポンスパターンを実装しており、これによりウェブアプリケーションはメインスレッドをブロックすることなくGooseにリクエストを送信し、レスポンスを受信できます。これは、以下の要素を組み合わせることで実現されています。
サーバー側のブロッキングエンドポイント
クライアント側の非同期JavaScript
スレッド同期を備えたレスポンス保存メカニズム
ウェブアプリの構造
ウェブアプリは、リクエストに応じてリソース/テンプレートに基づいて作成(またはダウンロード)されます。各ウェブアプリは~/.config/goose/app-maker-apps配下の専用ディレクトリに、以下の構造で保存されます。
app-name/
├── goose-app-manifest.json # App metadata
├── index.html # Main HTML file
├── style.css # CSS styles
├── script.js # JavaScript code
└── goose_api.js # allows the apps to access goose(d) for deeper backend functionality
└── ... # Other app files
goose-app-manifest.jsonファイルには、次のようなアプリに関するメタデータが含まれています。
name: アプリの表示名
type: アプリの種類 (例: 「static」、「react」など)
説明: アプリの簡単な説明
created: アプリが作成された時のタイムスタンプ
ファイル: アプリ内のファイルのリスト
1. クライアント側のリクエストフロー
クライアントが Goose から応答を得たい場合:
┌─────────┐ ┌─────────────────┐ ┌───────────────┐ ┌──────────────┐
│ User │────▶│ gooseRequestX() │────▶│ Goose API │────▶│ waitForResp- │
│ Request │ │ (text/list/ │ │ (/reply) │ │ onse endpoint │
└─────────┘ │ table) │ └───────────────┘ └──────────────┘
└─────────────────┘ │
▲ │
│ │
└────────────────────────────────────────────┘
Responseユーザーがリクエストを開始する(例:「リストの応答を取得」をクリックする)
クライアントはリクエスト関数(
gooseRequestText、gooseRequestList、またはgooseRequestTable)のいずれかを呼び出します。この関数は一意の
responseIdを生成し、このIDでapp_responseを呼び出すように指示するリクエストをGooseに送信します。次に関数は
waitForResponse(responseId)を呼び出し、/wait_for_response/{responseId}エンドポイントをポーリングします。このエンドポイントは、応答が利用可能になるかタイムアウトが発生するまでブロックします。
応答が利用可能になると、クライアントに返され、表示されます。
2. サーバー側処理
サーバー側:
┌─────────────┐ ┌─────────────┐ ┌───────────────┐
│ HTTP Server │────▶│ app_response│────▶│ response_locks│
│ (blocking │ │ (stores │ │ (notifies │
│ endpoint) │◀────│ response) │◀────│ waiters) │
└─────────────┘ └─────────────┘ └───────────────┘/wait_for_response/{responseId}エンドポイントは条件変数を使用して、応答が利用可能になるまでブロックします。Gooseがリクエストを処理するとき、レスポンスデータと
responseIdを使ってapp_response関数を呼び出す。app_response関数は、応答をapp_responses辞書に保存し、条件変数を使用して待機中のスレッドに通知します。ブロックされたHTTPリクエストはブロック解除され、クライアントにレスポンスを返します。
3. スレッド同期
システムは Python のthreading.Conditionを使用します。スレッド同期の条件:
クライアントがまだ利用できない応答を要求すると、その
responseIdに対して条件変数が作成されます。HTTPハンドラスレッドはタイムアウト(30秒)でこの条件を待機します。
応答が利用可能になると、状態が通知されます
応答が利用可能になる前にタイムアウトが経過すると、エラーが返されます。
主要コンポーネント
クライアント側関数
gooseRequestText(query): テキスト応答を要求するgooseRequestList(query): リスト応答を要求するgooseRequestTable(query, columns): 指定された列のテーブル応答を要求しますwaitForResponse(responseId): 指定されたIDの応答を待ちます
サーバー側関数
app_response(response_id, string_data, list_data, table_data): レスポンスを保存し、待機者に通知します/wait_for_response/{responseId}エンドポイントを持つ HTTP ハンドラー: 応答が利用可能になるまでブロックします
Available Tools
9 toolsapp_createB
Create a new web application directory and copy starter files.
The starter files are for you to replace with actual content, you don't have to use them as is.
the goose_api.js file is a utility you will want to keep in case you need to do api calls as part of your app via goose.
Args:
app_name: Name of the application (will be used as directory name)
description: Brief description of the application (default: "")
Returns:
A dictionary containing the result of the operation
After this, consider how you want to change the app to meet the functionality, look at the examples in resources dir if you like.
Or, you can replace the content with existing html/css/js files you have (just make sure to leave the goose_api.js file in the app dir)
Use the app_error tool once it is opened and user has interacted (or has started) to check for errors you can correct the first time, this is important to know it works.Inputs: app_name (required), description. Returns: result
app_deleteC
Delete an existing web application.
Args:
app_name: Name of the application to delete
Returns:
A dictionary containing the result of the operation
Inputs: app_name (required). Returns: result
app_errorA
Report an error from the app or retrieve the list of errors.
This is useful while developing or debugging the app as it allows errors (or any messages) to be reported and monitored
Args:
error_message: Optional error message to report. If None, returns the list of errors.
clear: Optional, If True, clears the list of errors
Returns:
A string containing the list of errors if error_message is None,
otherwise a confirmation message.
Inputs: error_message, clear. Returns: result
app_listB
List all available web applications.
Returns:
A dictionary containing the list of available apps and their details
Inputs: no named parameters. Returns: result
app_openA
Open an app in the default web browser. If the app is not currently being served,
it will be served first.
Can only open one app at a time.
Args:
app_name: Name of the application to open
Returns:
A dictionary containing the result of the operation
Inputs: app_name (required). Returns: result
app_refreshA
Refresh the currently open app in Chrome.
Only works on macOS with Google Chrome.
Returns:
A dictionary containing the result of the operation
Inputs: no named parameters. Returns: result
app_responseA
Use this to return a response to the app that has been requested.
Provide only one of string_data, list_data, or table_data.
Args:
string_data: Optional string response
list_data: Optional list of strings response
table_data: Optional table response with columns and rows
Format: {"columns": ["col1", "col2", ...], "rows": [["row1col1", "row1col2", ...], ...]}
Returns:
True if the response was stored successfully, False otherwise
Inputs: string_data, list_data, table_data. Returns: result
app_serveA
Serve an existing web application on a local HTTP server.
The server will automatically find an available port.
Can only serve one app at a time
Args:
app_name: Name of the application to serve
Returns:
A dictionary containing the result of the operation
Inputs: app_name (required). Returns: result
app_stop_serverB
Stop the currently running HTTP server.
Returns:
A dictionary containing the result of the operation
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have distinct purposes, but there is some potential confusion between app_open and app_serve, as both involve launching an app, and app_error's dual functionality for reporting and retrieving errors could be ambiguous. However, the descriptions clarify their specific roles, making them generally distinguishable.
All tool names follow a consistent 'app_' prefix with a descriptive action in snake_case, such as app_create, app_delete, and app_list. This pattern is maintained throughout all nine tools, making them predictable and easy to understand.
With 9 tools, the count is well-scoped for managing web applications, covering creation, deletion, listing, serving, opening, error handling, refreshing, responding, and stopping the server. Each tool serves a clear purpose without redundancy, fitting the domain appropriately.
The toolset provides comprehensive coverage for basic app lifecycle management, including CRUD operations and runtime interactions. A minor gap exists in the lack of an update tool for modifying existing apps, but agents can work around this by recreating apps or using other tools like app_response for content changes.
Maintenance
Related MCP Connectors
Every app you build or share, and the tools to build more, over one MCP server.
Manage game servers, configurations, players, and groups through the GameServerApp MCP server.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables web searches using a SearxNG instance, allowing MCP-compatible applications like Goose to perform internet searches.1GPL 3.0
- AlicenseAqualityDmaintenanceA general-purpose MCP server providing web search, persistent memory storage, and secure code execution capabilities. It enables AI agents to search the web, store and retrieve data, and run Python/JavaScript code in sandboxed environments.8MIT
- FlicenseCqualityCmaintenanceMCP server that enables deployment and management of MCP servers through a simple configuration-based interface.1-
- AlicenseNot gradedqualityDmaintenanceA full-featured MCP server for local development with filesystem, shell, editor, session persistence, and security features.2MIT