#!/usr/bin/env node /** * Reference MCP stdio server for `mcp-stdio-shellguard`. * * Exposes 8 tools that wrap the library + audit CLI so the demo can * be driven by the official MCP Inspector (and Claude Desktop / * Continue / etc.). Trust-tier output piggybacks on the library's * deriveTrustTier(). */ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { type Tool } from "@modelcontextprotocol/sdk/types.js"; import { AllowlistRegistry } from "./guard/allowlist.js"; import { ReplayWindow } from "./guard/replay.js"; export declare const TOOLS: Tool[]; interface ServerState { registry: AllowlistRegistry; replay: ReplayWindow; } export declare function makeState(): ServerState; export declare function createServer(state?: ServerState): Server; export type { ServerState }; //# sourceMappingURL=server.d.ts.map