get-installation-settings
Retrieve current installation configurations and environment settings to manage MCP server setups.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-installation-settings"
}
}Input 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) } ] }; } );