Goose App Maker MCP
Creador de aplicaciones Goose
Este servidor MCP (Protocolo de contexto de modelo) permite a los usuarios crear, administrar y servir aplicaciones web a través de Goose, que utilizan Goose para llamadas de API, acceso a datos y más.
Instalar
haga clic aquí para instalar en goose 🪿 🪿🪿🪿🪿🪿🪿🪿🪿🪿🪿
Características
Crear nuevas aplicaciones web a partir de instrucciones básicas
Almacene las aplicaciones en el directorio
~/.config/goose/app-maker-apps(cada aplicación en su propio subdirectorio)Servir aplicaciones web localmente bajo demanda
Abra las aplicaciones web en el navegador predeterminado (y sin cromo si es posible)
Enumera todas las aplicaciones web disponibles
Crear aplicaciones que puedan usar Goose como un backend genérico.
Related MCP server: mcp-toolkit
Ejemplos
Cargar datos a través de Goose (reutilizando sus extensiones)
Goose realiza un seguimiento de tus aplicaciones:
Crea aplicaciones a pedido
Mostrar también datos tabulares o de lista enriquecidos
Uso de la fuente
p.ej. en ganso:
# Run directly from source
uv --directory $PWD run python main.pyIMPORTANTE: este MCP debe ejecutarse en la aplicación de escritorio Goose en este momento (ya que accede a goose-server/goosed)
Construcción y publicación
Opcional: Construir en un entorno limpio utilizando rayos UV.
uv venv .venv
source .venv/bin/activate
uv pip install build
python -m buildPublicación
Actualizar la versión en
pyproject.toml:
[project]
version = "x.y.z" # Update thisConstruya el paquete:
# Clean previous builds
rm -rf dist/*
python -m buildPublicar en PyPI:
# Install twine if needed
uv pip install twine
# Upload to PyPI
python -m twine upload dist/*Cómo funciona
Este MCP ofrece aplicaciones, pero también les permite hablar con Goose a través de Goosed y su propia sesión:
Descripción general
El sistema implementa un patrón de solicitud-respuesta asíncrono y sin bloqueo que permite a las aplicaciones web enviar solicitudes a Goose y recibir respuestas sin bloquear el hilo principal. Esto se logra mediante una combinación de:
Un punto final de bloqueo en el lado del servidor
JavaScript asincrónico en el lado del cliente
Un mecanismo de almacenamiento de respuestas con sincronización de subprocesos
Estructura de la aplicación web
Las aplicaciones web se crean (o descargan) a petición, basándose en recursos o plantillas. Cada aplicación web se almacena en su propio directorio, en ~/.config/goose/app-maker-apps con la siguiente estructura:
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
El archivo goose-app-manifest.json contiene metadatos sobre la aplicación, incluidos:
nombre: Nombre para mostrar de la aplicación
tipo: Tipo de aplicación (por ejemplo, "estática", "reacción", etc.)
Descripción: Breve descripción de la aplicación.
creado: Marca de tiempo cuando se creó la aplicación
archivos: Lista de archivos en la aplicación
1. Flujo de solicitud del lado del cliente
Cuando un cliente quiere obtener una respuesta de Goose:
┌─────────┐ ┌─────────────────┐ ┌───────────────┐ ┌──────────────┐
│ User │────▶│ gooseRequestX() │────▶│ Goose API │────▶│ waitForResp- │
│ Request │ │ (text/list/ │ │ (/reply) │ │ onse endpoint │
└─────────┘ │ table) │ └───────────────┘ └──────────────┘
└─────────────────┘ │
▲ │
│ │
└────────────────────────────────────────────┘
ResponseEl usuario inicia una solicitud (por ejemplo, al hacer clic en "Obtener respuesta de la lista")
El cliente llama a una de las funciones de solicitud (
gooseRequestText,gooseRequestListogooseRequestTable).La función genera un
responseIdúnico y envía una solicitud a Goose con instrucciones para llamarapp_responsecon este IDLuego, la función llama
waitForResponse(responseId)que sondea el punto final/wait_for_response/{responseId}Este punto final se bloquea hasta que la respuesta esté disponible o se produzca un tiempo de espera.
Cuando la respuesta está disponible, se devuelve al cliente y se muestra.
2. Procesamiento del lado del servidor
En el lado del servidor:
┌─────────────┐ ┌─────────────┐ ┌───────────────┐
│ HTTP Server │────▶│ app_response│────▶│ response_locks│
│ (blocking │ │ (stores │ │ (notifies │
│ endpoint) │◀────│ response) │◀────│ waiters) │
└─────────────┘ └─────────────┘ └───────────────┘El punto final
/wait_for_response/{responseId}usa variables de condición para bloquear hasta que haya una respuesta disponibleCuando Goose procesa la solicitud, llama a la función
app_responsecon los datos de respuesta y elresponseIdLa función
app_responsealmacena la respuesta en el diccionarioapp_responsesy notifica a todos los hilos en espera mediante la variable de condición.Luego, la solicitud HTTP bloqueada se desbloquea y devuelve la respuesta al cliente.
3. Sincronización de subprocesos
El sistema utiliza threading.Condition de Python.Condición para la sincronización de subprocesos:
Cuando un cliente solicita una respuesta que aún no está disponible, se crea una variable de condición para ese
responseIdEl hilo del controlador HTTP espera esta condición con un tiempo de espera (30 segundos)
Cuando la respuesta esté disponible, se notifica la condición.
Si el tiempo de espera expira antes de que la respuesta esté disponible, se devuelve un error.
Componentes clave
Funciones del lado del cliente
gooseRequestText(query): solicita una respuesta de textogooseRequestList(query): solicita una respuesta de listagooseRequestTable(query, columns): solicita una respuesta de tabla con las columnas especificadaswaitForResponse(responseId): espera una respuesta con el ID dado
Funciones del lado del servidor
app_response(response_id, string_data, list_data, table_data): almacena una respuesta y notifica a los que esperanControlador HTTP con punto final
/wait_for_response/{responseId}: se bloquea hasta que la respuesta esté disponible
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 gradedqualityBmaintenanceA full-featured MCP server for local development with filesystem, shell, editor, session persistence, and security features.2MIT