get-watcher-config
Retrieve and manage watcher configurations within the MCP Environment & Installation Manager for streamlined environment setup and server monitoring.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/watcher-tools.ts:84-101 (handler)The complete registration and handler implementation for the 'get-watcher-config' tool. It takes no input parameters and returns the watchers section of the installation configuration as a JSON string in a text content response.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)Top-level registration call to registerWatcherTools, which includes the get-watcher-config tool among watcher management tools.registerWatcherTools(server, configService, watcherService);