get_config_info
Retrieve the configuration file path and current settings for the Claude git repository monitoring plugin.
Instructions
Return the path to the config file and the full current configuration.
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_config_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/config-tools.ts:120-133 (handler)The handler implementation for the 'get_config_info' MCP tool, which returns the path to the config file and the full current configuration.
// --- get_config_info --- server.tool( "get_config_info", "Return the path to the config file and the full current configuration.", {}, async () => { const config = loadConfig(); return { content: [ { type: "text", text: `Config file: ${configPath()}\n\n${JSON.stringify(config, null, 2)}` }, ], }; } ); - src/tools/config-tools.ts:120-133 (registration)Registration of the 'get_config_info' tool within the registerConfigTools function.
// --- get_config_info --- server.tool( "get_config_info", "Return the path to the config file and the full current configuration.", {}, async () => { const config = loadConfig(); return { content: [ { type: "text", text: `Config file: ${configPath()}\n\n${JSON.stringify(config, null, 2)}` }, ], }; } );