Skip to main content
Glama
devlimelabs

MCP Environment & Installation Manager

by devlimelabs

get-installation-settings

Retrieve current installation configurations and environment settings to manage MCP server setups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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)
            }
          ]
        };
      }
    );
  • 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)
            }
          ]
        };
      }
    );

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/devlimelabs/mcp-env-manager-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server