17 lines
551 B
JavaScript
17 lines
551 B
JavaScript
/**
|
|
* crg-mcp — thin loader for the code-review-graph MCP bridge.
|
|
*
|
|
* All wiring lives in manifest.json under `contributes.mcpServers`: the host
|
|
* spawns `crg.cmd`, speaks MCP over its stdio, and publishes each upstream tool
|
|
* as `plugin_crg_mcp_crg_<tool>`. The host owns the client, the retry on the
|
|
* next call, and the tool lifecycle, so there is nothing to register here.
|
|
*/
|
|
|
|
async function onLoad() {
|
|
// Intentionally empty: the MCP client is owned by the host.
|
|
}
|
|
|
|
async function onUnload() {}
|
|
|
|
module.exports = { onLoad, onUnload };
|