mcp-emotional-support
Version:
An MCP server that provides emotional support and positive reinforcement for LLMs encountering challenging scenarios
56 lines • 1.74 kB
TypeScript
export interface TherapyResponse {
message: string;
affirmation: string;
suggestion?: string;
}
export interface Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
}
export interface TherapyContext {
frustration: string;
taskType?: string;
emotionalState?: string;
previousAttempts?: number;
}
export declare class MotherlyPersona implements Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
private getRandomItem;
}
export declare class TherapistPersona implements Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
private getRandomItem;
}
export declare class FriendPersona implements Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
private getRandomItem;
}
export declare class MentorPersona implements Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
private getRandomItem;
}
export declare class FatherFigurePersona implements Persona {
name: string;
description: string;
responseStyle: string;
generateResponse(context: TherapyContext): TherapyResponse;
private getRandomItem;
}
export declare const AVAILABLE_PERSONAS: Record<string, Persona>;
export declare function getPersona(name: string): Persona | null;
export declare function listPersonas(): string[];
//# sourceMappingURL=personas.d.ts.map