Update mcp service and index exports
- Add cleanup function to mcp server creation - Export new Redis transport functions from index 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5740a7da15
commit
93bc76fb04
1 changed files with 6 additions and 2 deletions
|
|
@ -674,6 +674,7 @@ export const createMcpServer = (): McpServerWrapper => {
|
|||
});
|
||||
|
||||
const cleanup = async () => {
|
||||
console.log("Cleaning up MCP server");
|
||||
if (subsUpdateInterval) clearInterval(subsUpdateInterval);
|
||||
if (logsUpdateInterval) clearInterval(logsUpdateInterval);
|
||||
if (stdErrUpdateInterval) clearInterval(stdErrUpdateInterval);
|
||||
|
|
|
|||
Loading…
Reference in a new issue