MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / restart

Method restart

src/mcp/manager.ts:177–181  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

175 }
176
177 async restart(name: string): Promise<void> {
178 const config = this.config.servers?.[name];
179 if (!config) throw new Error(`No MCP server config named '${name}'`);
180 await this.startOne(name, config);
181 }
182}
183
184let _manager: MCPManager | null = null;

Callers 1

handleSlashCommandFunction · 0.80

Calls 1

startOneMethod · 0.95

Tested by

no test coverage detected