@context-pods/templates
v0.2.0
Published
Template collection for Context-Pods MCP server generation
Maintainers
Readme
@context-pods/templates
Template collection for Context-Pods MCP server generation.
Overview
This package provides the official templates used by Context-Pods for generating MCP servers. Templates are bundled with the package during build time, making them available for both CLI and programmatic use.
Usage
import { getAvailableTemplates, getTemplate, templatesPath } from '@context-pods/templates';
// Get all available templates
const templates = getAvailableTemplates();
// Get a specific template
const basicTemplate = getTemplate('basic');
// Get the templates directory path
const path = templatesPath;Available Templates
- basic - Basic TypeScript MCP server template
- python-basic - Basic Python MCP server template
- typescript-advanced - Advanced TypeScript template with full utilities
Template Structure
Each template includes:
template.json- Template metadata and configuration- Source files with Mustache placeholders for variable substitution
- README.md with template-specific documentation
Development
Templates are maintained directly in this package's templates/ directory.
