UNPKG

@general-analysis/mcp-guard

Version:

An MCP guardrail with built-in AI-powered moderation that aggregates multiple MCP servers into one secure interface

9 lines 483 B
/** * Moderates tool output using the Guard API to detect prompt injection attacks * @param output - The tool output to moderate * @param apiKey - The API key for the Guard API * @param enableGuardApi - Whether the Guard API is enabled * @returns The original output or a blocked response if harmful content is detected */ export declare function moderateToolOutput(output: any, apiKey?: string, enableGuardApi?: boolean): Promise<any>; //# sourceMappingURL=moderation.d.ts.map