@rhofkens/mcp-quotes-server
Version:
A Model Context Protocol (MCP) server that provides quotes based on user requests
31 lines (30 loc) • 912 B
TypeScript
export interface ParameterSpecification {
readonly type: string;
readonly required: boolean;
readonly description: string;
readonly validation?: string;
}
export interface UsageExample {
readonly prompt: string;
readonly parameters: {
readonly person: string;
readonly topic?: string;
readonly numberOfQuotes: number;
};
}
export interface TemplateVariations {
readonly basic: string;
readonly withTopic: string;
readonly withCount: string;
readonly comprehensive: string;
}
export interface PromptTemplateContent {
readonly template: TemplateVariations;
readonly parameters: {
readonly person: ParameterSpecification;
readonly topic: ParameterSpecification;
readonly numberOfQuotes: ParameterSpecification;
};
readonly examples: readonly UsageExample[];
readonly bestPractices: readonly string[];
}