Skip to main content
Glama
michaelneale

Goose App Maker MCP

by michaelneale

app_delete

Remove a web application from the Goose App Maker MCP server by specifying its name to manage your application portfolio.

Instructions

Delete an existing web application.

Args:
    app_name: Name of the application to delete

Returns:
    A dictionary containing the result of the operation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_nameYes

Implementation Reference

  • main.py:164-194 (handler)
    The main handler function for the 'app_delete' tool. It is registered via the @mcp.tool() decorator. The function deletes the directory of the specified app using shutil.rmtree if it exists, returning success or error status.
    @mcp.tool()
    def app_delete(app_name: str) -> Dict[str, Any]:
        """
        Delete an existing web application.
        
        Args:
            app_name: Name of the application to delete
        
        Returns:
            A dictionary containing the result of the operation
        """
        try:
            # Find the app directory
            app_path = os.path.join(APP_DIR, app_name)
            if not os.path.exists(app_path):
                return {
                    "success": False, 
                    "error": f"App '{app_name}' not found at {app_path}"
                }
            
            # Delete the app directory
            shutil.rmtree(app_path)
            
            return {
                "success": True,
                "app_name": app_name,
                "message": f"App '{app_name}' deleted successfully"
            }
        except Exception as e:
            logger.error(f"Error deleting app: {e}")
            return {"success": False, "error": f"Failed to delete app: {str(e)}"}
  • main.py:164-164 (registration)
    The @mcp.tool() decorator registers the app_delete function as an MCP tool.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michaelneale/goose-app-maker-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server