mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +00:00
feat(mcp): audit MCP tool calls at the registry seam
This commit is contained in:
@@ -12,6 +12,8 @@ export interface McpSession {
|
||||
/** true when authenticated via static trek_ token — triggers deprecation prompt */
|
||||
isStaticToken: boolean;
|
||||
lastActivity: number;
|
||||
/** IP of the most recent authorized request — what mcp.tool_call audit rows record */
|
||||
lastClientIp: string | null;
|
||||
}
|
||||
|
||||
export const sessions = new Map<string, McpSession>();
|
||||
|
||||
Reference in New Issue
Block a user