get_config
Retrieve the current merged server configuration to view active context and operational mode settings.
Instructions
Get the current merged server configuration, including active context and mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/config-tools.ts:34-42 (handler)The handler for the 'get_config' tool, which retrieves the server configuration using the provided 'getConfig' function.
{ name: "get_config", description: "Get the current merged server configuration, including active context and mode.", schema: {}, handler: async () => { return makeTextResponse(getConfig()); }, }, - src/server/server.ts:427-435 (registration)Registration of 'get_config' tool inside the GodetteMcpServer class by invoking createConfigTools.
// Config tools for (const tool of createConfigTools( () => this.config, (mode) => { this.switchMode(mode); }, )) { this.toolRegistry.register(tool); }