list-installed-mcps
Identify installed MCP configurations and packages to manage environments and streamline profile-based setups effectively using the MCP server's tooling.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/installation-tools.ts:19-43 (handler)Inline handler and registration for the 'list-installed-mcps' tool. Retrieves installed packages from the package manager and returns them as formatted JSON in the tool response.server.tool( "list-installed-mcps", {}, async (_, extra) => { const packages = packageManager.getInstalledPackages(); return { content: [ { type: "text", text: JSON.stringify({ count: packages.length, packages: packages.map(pkg => ({ name: pkg.name, version: pkg.version, installedAt: pkg.installedAt, updatedAt: pkg.updatedAt, usedByConfigs: pkg.usedByConfigs })) }, null, 2) } ] }; } );
- src/server.ts:33-33 (registration)Top-level registration call that invokes the function to register installation tools, including 'list-installed-mcps'.registerInstallationTools(server, configService, packageManager);