19 lines
662 B
JavaScript
19 lines
662 B
JavaScript
/**
|
|
* crg-mcp — thin loader for the code-review-graph MCP bridge.
|
|
*
|
|
* All of the wiring lives in manifest.json under `contributes.mcpServers`:
|
|
* PI-Desktop spawns `crg.cmd` (stdio MCP), performs the handshake, and
|
|
* publishes every upstream tool as `plugin_crg_mcp_crg_<tool>`. Nothing has
|
|
* to be registered from here — the host owns the client, the retries, and the
|
|
* tool lifecycle. This module only keeps the plugin loadable and offers a
|
|
* place for future local helpers.
|
|
*/
|
|
|
|
async function onLoad() {
|
|
// The MCP client is owned by the host; no tool registration needed.
|
|
}
|
|
|
|
async function onUnload() {}
|
|
|
|
module.exports = { onLoad, onUnload };
|