MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / deleteContext

Method deleteContext

packages/mcp/src/session-manager.ts:46–49  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

44 }
45
46 async deleteContext(id: string): Promise<void> {
47 await getRedisCache().del(redisKey(id));
48 logger.info({ sessionId: id }, 'MCP session deleted');
49 }
50
51 async close(id: string): Promise<void> {
52 await this.deleteContext(id);

Callers 2

closeMethod · 0.95

Calls 3

getRedisCacheFunction · 0.90
redisKeyFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected