UNPKG

mcp-ai-agent-guidelines

Version:

A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices

8 lines 733 B
import { McpToolError } from "./errors.js"; export declare function validationError(message: string, context?: Record<string, unknown>): McpToolError; export declare function missingRequiredError(fieldName: string, context?: Record<string, unknown>): McpToolError; export declare function sessionNotFoundError(sessionId: string): McpToolError; export declare function fileSystemError(operation: "read" | "write", path: string, cause?: Error): McpToolError; export declare function schemaViolationError(zodError: unknown, context?: Record<string, unknown>): McpToolError; export declare function phaseTransitionError(currentPhase: string, targetPhase: string, reason: string): McpToolError; //# sourceMappingURL=error-factory.d.ts.map