MCPcopy
hub / github.com/claude-code-best/claude-code / getContextToken

Function getContextToken

packages/weixin/src/monitor.ts:24–26  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

22const contextTokens = new Map<string, string>()
23
24export function getContextToken(userId: string): string | undefined {
25 return contextTokens.get(userId)
26}
27
28function cursorPath(): string {
29 return join(getStateDir(), 'cursor.txt')

Callers 2

createWeixinMcpServerFunction · 0.85
runWeixinMcpServerFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected