UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

17 lines (16 loc) 955 B
/** * Pluggable nonce cache architecture for XMCP-I * * Provides replay prevention through various cache backends: * - Memory (development, single instance) * - Redis (production, multi-instance) * - DynamoDB (AWS Lambda) * - Cloudflare KV (Cloudflare Workers) */ export type { SessionContext, HandshakeRequest, NonceCacheEntry, NonceCache, NonceCacheConfig, } from "@kya-os/contracts/handshake"; export { SessionContextSchema, HandshakeRequestSchema, NonceCacheEntrySchema, NonceCacheConfigSchema, } from "@kya-os/contracts/handshake"; export { MemoryNonceCache } from "./memory-nonce-cache"; export { RedisNonceCache } from "./redis-nonce-cache"; export { DynamoNonceCache } from "./dynamodb-nonce-cache"; export { CloudflareKVNonceCache, type KVNamespace, type CloudflareKVNonceCacheConfig } from "./cloudflare-kv"; export { createNonceCache, createNonceCacheWithConfig, detectCacheType, type NonceCacheOptions, } from "./nonce-cache-factory";