Skip to main content
Glama

app_delete

Remove a web application using the app_name parameter to specify the app. Designed for managing apps within the Goose App Maker MCP server.

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)
    Handler function for the 'app_delete' tool. Deletes the web application directory specified by app_name using shutil.rmtree. Includes error handling and returns success/error status. Registered as an MCP tool via the @mcp.tool() decorator.
    @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)}"}

Other Tools

Related Tools

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