
Write HTML. Render video. Built for agents.
Context-Pods helps you create, wrap, validate, and manage MCP servers from a single TypeScript workspace. It combines templates, a CLI, a Meta-MCP server, and testing tools so you can turn scripts or code into MCP tools and keep them working.
Builders who want to create local MCP servers, wrap scripts as tools, or manage a set of MCP projects.
You can go from an idea or script to a validated MCP server with templates, commands, and tests in one workflow.
Creates MCP servers from TypeScript, Python, Rust, and shell templates with `context-pods generate`.
Turns existing scripts and CLI tools into MCP servers with `context-pods wrap`.
Exposes server creation, listing, validation, and analysis through MCP tools like `create-mcp` and `validate-mcp`.
Scans a codebase to find functions that fit MCP tools and ranks them with `context-pods analyze`.
Provides test harnesses and validation helpers for protocol checks, wrappers, and generated servers.
Includes commands like `init`, `doctor`, `list`, `templates`, `build`, `test`, and an interactive `wizard`.
# Full interactive wizard context-pods wizard # Skip welcome message context-pods wizard --skip-intro
The comprehensive MCP development suite with advanced protocol features
Context-Pods is a production-ready development framework for creating, testing, and managing Model Context Protocol (MCP) servers. Built with TypeScript and powered by TurboRepo, it provides everything from basic templates to advanced MCP protocol features including sampling/LLM integration, multi-modal content support, resource subscriptions, and comprehensive testing frameworks.
# Install and run Context-Pods CLI
npx @context-pods/create
# Or install globally
npm install -g @context-pods/cli
context-pods generate
# For developers: Use the convenient shell shortcut
git clone https://github.com/conorluddy/ContextPods.git
cd ContextPods
npm install && npm run build
./pods wizard # Interactive setup with all features
Create MCP servers in your preferred language:
The Meta-MCP Server exposes Context-Pods functionality through the MCP protocol itself, providing 7 powerful tools:
{
"tools": [
"create-mcp", // Generate MCP servers from templates
"wrap-script", // Convert existing scripts to MCP servers
"list-mcps", // List and manage existing MCP servers
"validate-mcp", // Validate MCP protocol compliance
"analyze-codebase" // AI-powered MCP opportunity detection
],
"capabilities": {
"tools": true,
"resources": { "subscribe": true, "listChanged": true },
"prompts": { "listChanged": true },
"sampling": true,
"roots": { "listChanged": true },
"completion": { "wordCompletion": true, "lineCompletion": true }
}
}
Key Features:
Modern MCP SDK 1.17.4 Implementation:
Development & Quality Assurance:
basic (TypeScript)Minimal TypeScript MCP server with essential features:
context-pods generate basic --name my-server
python-basicSelf-contained Python server with async support:
context-pods generate python-basic --name my_python_server
rust-basicHigh-performance Rust server with Tokio:
context-pods generate rust-basic --name my_rust_server
shell-wrapperExpose shell scripts and CLI tools via MCP:
context-pods generate shell-wrapper --name my_cli_wrapper
typescript-advancedProduction-ready TypeScript server with complete MCP SDK 1.17.4 feature implementation:
Advanced MCP Protocol Features:
Development Features:
context-pods generate typescript-advanced --name my-advanced-server
Context-Pods includes an intelligent codebase analyzer that identifies functions in your existing code that would make excellent MCP tools. This feature helps you discover MCP opportunities and provides implementation guidance.
The analyzer uses a multi-phase approach:
# Basic analysis
context-pods analyze ./src
# With filtering and output options
context-pods analyze ./src --min-score 80 --format summary --max-results 5
# Language-specific analysis
context-pods analyze ./src --languages typescript,python
# Include test files
context-pods analyze ./src --include-tests
{
"tool": "analyze-codebase",
"arguments": {
"path": "./src",
"minScore": 70,
"outputFormat": "detailed",
"maxResults": 10
}
}
The analyzer identifies functions with:
Functions are scored based on:
๐ฏ Top MCP Opportunities Found (Score: 85+)
๐ src/api/weather.ts
โโโ fetchWeatherData (Score: 92/100)
โโโ Category: API Integration
โโโ Template: typescript-advanced
โโโ Complexity: Medium (8 cyclomatic)
โโโ Patterns: HTTP calls, JSON parsing
โโโ Reasoning:
โข Exported async function with clear parameters
โข Makes external API calls (confidence: 0.9)
โข Well-documented with TypeScript types
โข Optimal complexity for MCP tool
๐ src/utils/validator.ts
โโโ validateUserInput (Score: 88/100)
โโโ Category: Validation
โโโ Template: basic
โโโ Complexity: Low (4 cyclomatic)
โโโ Patterns: Zod validation, error handling
โโโ Implementation Guidance:
โข Tool Name: validate-user-input
โข Input Schema: { data: object, rules: string[] }
โข Dependencies: zod, validator
โข Estimated Effort: Low
Context-Pods provides a comprehensive command-line interface with 11 commands, enhanced interactive features, and extensive help documentation.
| Command | Purpose | Key Features |
|---|---|---|
| generate | Create MCP servers from templates | 5 templates, interactive selection, MCP config generation |
| wrap | Convert scripts to MCP servers | Auto-detection, Python/Shell/TS/JS support |
| init | Initialize project configuration | Interactive setup, template preferences |
| list | Manage MCP servers | Active/inactive status, JSON output |
| templates | Explore available templates | Built-in and custom templates, detailed info |
| wizard | Interactive guided setup | Step-by-step server creation, all features |
| doctor | System health diagnostics | Dependency checks, auto-fix issues |
| dev | Development mode | Hot reloading, custom ports, file watching |
| build | Build packages | Clean builds, TurboRepo optimization |
| test | Run test suites | Coverage reports, watch mode, 805+ tests |
| server | Meta-MCP server management | Start/stop/status, development mode |
Use the convenient shell shortcut from the project root:
# Quick access without typing the full command
./pods --help
./pods generate typescript-basic --name my-server
./pods wizard # Interactive setup
Or use the full CLI:
npx @context-pods/cli <command>
context-pods <command> # If installed globally
# Interactive template selection
context-pods generate
# Quick generation with specific template
context-pods generate typescript-basic --name weather-api
# Advanced options
context-pods generate python-basic --name data-processor --output ./servers
# With template variables
context-pods generate rust-advanced --name file-manager --var "port=3001"
# Generate with MCP config file
context-pods generate --generate-mcp-config --config-name my-server
Options:
-n, --name <name> - MCP server name (required)-o, --output <path> - Output directory-d, --description <text> - Server description-f, --force - Overwrite existing files--var <key=value...> - Template variables--generate-mcp-config - Generate .mcp.json config--config-name <name> - Name for MCP config--command <command> - Run command for server--env <key=value...> - Environment variables# Basic script wrapping
context-pods wrap ./my-script.py --name python-tools
# With custom output location
context-pods wrap ./data-processor.js --name data-tools --output ./generated
# Include description
context-pods wrap ./backup.sh --name backup-server --description "Server for backup operations"
Supported Script Types:
.py) - Creates async MCP wrapper.sh, .bash) - Command-line MCP interface.js, .mjs) - Node.js MCP wrapper.ts) - Transpiled MCP wrapperOptions:
-n, --name <name> - MCP server name (required)-t, --template <name> - Template to use (auto-detected)-o, --output <path> - Output directory-d, --description <text> - Server description-f, --force - Overwrite existing files# Show active MCP servers
context-pods list
# Show all servers including inactive
context-pods list --all
# JSON output for scripting
context-pods list --format json
# Show available templates
context-pods templates
# Show all templates including custom ones
context-pods templates --all
# JSON format for integration
context-pods templates --format json
# Interactive project setup
context-pods init
# Quick setup with name
context-pods init my-mcp-project
# With preferred template
context-pods init --template typescript-basic --description "My MCP project"
# Run all health checks
context-pods doctor
# Detailed information
context-pods doctor --verbose
# Automatically fix issues
context-pods doctor --fix
Health Checks:
# Full interactive wizard
context-pods wizard
# Skip welcome message
context-pods wizard --skip-intro
Wizard Features:
# Start development server
context-pods dev
# Custom port
context-pods dev --port 3001
# Disable hot reload
context-pods dev --no-hot-reload
# Build all packages
context-pods build
# Clean build
context-pods build --clean
# Build specific target
context-pods build my-server
# Run all tests
context-pods test
# With coverage
context-pods test --coverage
# Watch mode
context-pods test --watch
# Clear all cache
context-pods cache clear
# Show cache statistics
context-pods cache stats
# Clean expired entries
context-pods cache clean
# Start Meta-MCP Server
context-pods server start
# Development mode
context-pods server dev
# Check status
context-pods server status
# Stop server
context-pods server stop
# Show current configuration
context-pods config show
# Reset to defaults
context-pods config reset
# Basic analysis
context-pods analyze ./src
# High-value opportunities only
context-pods analyze ./src --min-score 80
# Quick summary
context-pods analyze ./src --format summary --max-results 5
# Language-specific
context-pods analyze ./src --languages typescript,python
# Include test files
context-pods analyze ./src --include-tests
# Basic validation
context-pods validate ./my-server
# Full validation including build
context-pods validate ./my-server --check-build
# Schema validation only
context-pods validate ./my-server --check-schema
Every command includes comprehensive help with examples:
# Global help
context-pods --help
# Command-specific help
context-pods generate --help
context-pods wrap --help
context-pods wizard --help
The ./pods shortcut provides enhanced output with colors and progress indicators:
./pods # Shows usage help
./pods doctor # System diagnostics
./pods wizard # Interactive setup
./pods generate --help # Command help
Use JSON output for integration with other tools:
# Get server list as JSON
context-pods list --format json | jq '.servers[] | .name'
# Get template information
context-pods templates --format json | jq '.templates[] | select(.language=="typescript")'
# Health check automation
context-pods doctor --format json | jq '.summary'
Context-Pods uses a TurboRepo monorepo structure with optimized caching and build pipelines:
context-pods/
โโโ packages/
โ โโโ core/ # Core utilities, schemas, and AI-powered codebase analysis
โ โโโ cli/ # Feature-rich CLI with 11 commands and interactive wizards
โ โโโ templates/ # 5 production-ready templates (TypeScript, Python, Rust, Shell)
โ โโโ testing/ # Comprehensive MCP protocol compliance testing framework
โ โโโ server/ # Meta-MCP server with 7 tools for server management
โ โโโ create/ # npx create-context-pods runner
โโโ docs/ # Comprehensive documentation (12+ guides)
โโโ examples/ # Real-world usage examples and integrations
โโโ coverage/ # Test coverage reports and metrics
| Package | Purpose | Key Features | Test Coverage |
|---|---|---|---|
| @context-pods/core | Core engine and analysis | Template processing, AI codebase analysis, schema validation | 160 tests, 90%+ |
| @context-pods/cli | Command-line interface | 11 commands, interactive wizards, TurboRepo integration | 251 tests, 90%+ |
| @context-pods/server | Meta-MCP server | 7 tools, server registry, MCP protocol implementation | 285 tests, 95%+ |
| @context-pods/templates | Template collection | 5 languages, advanced MCP features, production-ready | 91 tests, 85%+ |
| @context-pods/testing | Testing framework | Protocol compliance, wrapper testing, report generation | Framework ready |
| @context-pods/create | Package runner | npx integration, dependency management, CLI bootstrapping | 22 tests, 75%+ |
Add to your Claude Desktop configuration:
{
"mcpServers": {
"context-pods": {
"command": "npx",
"args": ["@context-pods/server"]
}
}
}
Configure in your extension settings:
{
"mcp.servers": {
"context-pods": {
"command": "npx",
"args": ["@context-pods/server"]
}
}
}
Context-Pods includes a comprehensive testing framework with 805+ tests across all packages:
Validate servers against official MCP specifications:
import {
MCPComplianceTestSuite,
validateMCPServer,
MCPMessageTestHarness,
} from '@context-pods/testing';
// Full compliance test suite
const suite = new MCPComplianceTestSuite('./my-server');
const results = await suite.runFullSuite();
// Individual compliance checks
const validation = await validateMCPServer('./my-server', {
checkTools: true,
checkResources: true,
checkProtocol: true,
timeout: 30000,
});
// Test harness for communication testing
const harness = new MCPMessageTestHarness({
serverPath: './my-server',
transport: 'stdio',
timeout: 5000,
});
await harness.initialize();
const toolResult = await harness.callTool('my-tool', { input: 'test' });
Test wrapped scripts across multiple languages:
import { testScriptWrapper } from '@context-pods/testing';
// Test Python script wrapper
const pythonResults = await testScriptWrapper('./script.py', {
language: 'python',
testCases: [{ input: { data: 'test' }, expectedOutput: 'processed' }],
});
// Test shell script wrapper
const shellResults = await testScriptWrapper('./script.sh', {
language: 'shell',
testEnvironment: { NODE_ENV: 'test' },
});
Context-Pods maintains exceptional test coverage with 805+ total tests across all packages:
| Package | Coverage | Tests | Focus Areas |
|---|---|---|---|
@context-pods/server | 95%+ | 285 | MCP protocol implementation, tools, registry, validation |
@context-pods/cli | 90%+ | 251 | All 11 CLI commands, caching, TurboRepo integration |
@context-pods/core | 90%+ | 160 | Template engine, AI analysis, schema validation |
@context-pods/templates | 85%+ | 91 | Template validation, MCP feature coverage, SDK compliance |
@context-pods/create | 75%+ | 22 | NPX runner, dependency management, error handling |
@context-pods/testing | Framework | Ready | MCP compliance testing, wrapper validation |
All quality gates must pass before any commit:
npm run build) - All 6 packages compile successfullySign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Write HTML. Render video. Built for agents.
Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
SkillOpt is a text-space optimizer that trains reusable natural-language skills for frozen LLM agents through trajectory-driven edits, validation-gated updates, and deployable best_skill.md artifacts.

Omnigent is an open-source AI agent framework and meta-harness: orchestrate Claude Code, Codex, Cursor, Pi, and custom agents โ swap harnesses without rewriting, enforce policies and sandboxing, and collaborate in real time from any device.
A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.
๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!