UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

15 lines (14 loc) 487 B
import { NonceCache } from "@kya-os/contracts/handshake"; /** * Redis-based nonce cache implementation * Suitable for multi-instance deployments */ export declare class RedisNonceCache implements NonceCache { private redis; private keyPrefix; constructor(redis: any, keyPrefix?: string); private getKey; has(nonce: string, agentDid?: string): Promise<boolean>; add(nonce: string, ttl: number, agentDid?: string): Promise<void>; cleanup(): Promise<void>; }