get-installed-apps
Retrieve a list of installed applications on your computer using this tool, enabling quick access to software inventory and system details.
Instructions
Get my computer's installed apps
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:18-28 (handler)The handler function for the 'get-installed-apps' tool. It fetches the list of installed apps using getInstalledApps() and formats the result as JSON text in the MCP response format.async () => { const apps = await getInstalledApps(); return { content: [ { type: "text", text: JSON.stringify(apps, null, 2), }, ], }; }
- src/index.ts:15-29 (registration)Registers the 'get-installed-apps' tool on the MCP server with its name, description, and handler function.server.tool( "get-installed-apps", "Get my computer's installed apps", async () => { const apps = await getInstalledApps(); return { content: [ { type: "text", text: JSON.stringify(apps, null, 2), }, ], }; } );
- src/index.ts:3-3 (helper)Imports the getInstalledApps utility function, which provides the core logic for retrieving installed applications and is called within the tool handler.import { getInstalledApps } from "get-installed-apps";