Skip to main content
Glama
devlimelabs

MCP Environment & Installation Manager

by devlimelabs

get-watcher-config

Retrieve watcher configuration settings to monitor environment changes and automate package installations in MCP servers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The complete tool registration including the inline handler function for 'get-watcher-config'. It retrieves the watcher configuration from the config service and returns it as formatted JSON.
    server.tool( "get-watcher-config", {}, async (_, extra) => { const config = configService.getInstallationConfig(); return { content: [ { type: "text", text: JSON.stringify({ watchers: config.watchers }, null, 2) } ] }; } );
  • src/server.ts:34-34 (registration)
    Calls registerWatcherTools which registers the 'get-watcher-config' tool among others on the MCP server.
    registerWatcherTools(server, configService, watcherService);
  • src/server.ts:13-13 (registration)
    Imports the registerWatcherTools function that contains the 'get-watcher-config' tool registration.
    import { registerWatcherTools } from './tools/watcher-tools.js';

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