get-installation-settings
Retrieve current installation configurations and environment settings to manage MCP server setups.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/installation-tools.ts:234-251 (handler)Implementation of the get-installation-settings tool handler. Retrieves and returns the current installation configuration (packageManager settings) as JSON text content.server.tool( "get-installation-settings", {}, async (_, extra) => { const config = configService.getInstallationConfig(); return { content: [ { type: "text", text: JSON.stringify({ packageManager: config.packageManager }, null, 2) } ] }; } );
- src/tools/installation-tools.ts:234-251 (registration)Registration of the get-installation-settings tool on the MCP server within the registerInstallationTools function. Uses empty input schema.server.tool( "get-installation-settings", {}, async (_, extra) => { const config = configService.getInstallationConfig(); return { content: [ { type: "text", text: JSON.stringify({ packageManager: config.packageManager }, null, 2) } ] }; } );