mcpresso
Version:
TypeScript package for Model Context Protocol (MCP) utilities and tools
16 lines (15 loc) • 548 B
JavaScript
// Note: Templates are now external and managed via template-manager.ts
// This file is kept for type definitions but no longer contains built-in templates
const templates = [];
export function getTemplates() {
return templates;
}
export function getTemplate(id) {
return templates.find(t => t.id === id);
}
export function getTemplatesByCategory(category) {
return templates.filter(t => t.category === category);
}
export function getTemplatesByComplexity(complexity) {
return templates.filter(t => t.complexity === complexity);
}