Offers community support and discussion through a dedicated Discord server.
Mentioned in performance impact studies showing productivity gains when using the MCP server.
Used for architecture visualization in the MCP documentation.
Enables execution and testing of Python code with multiple sandbox strategies, performance analysis, and optimization.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Jester MCPwrite a function to validate email addresses and test it thoroughly"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π Claude Desktop Code Execution (MCP)
Transform Claude from a code generator into a thinking, testing, optimizing programming partner
π The Paradigm Shift
Before: Claude suggests code β You copy, test, debug, optimize
After: Claude generates β tests β optimizes β delivers working code β¨
This isn't just an improvementβit's a fundamental transformation of AI-assisted programming.
Related MCP server: Coder Toolbox MCP Server
β‘ Quick Start (60 seconds)
Option 1: One-Click Install
curl -sSL https://raw.githubusercontent.com/mstanton/claude-jester-mcp/main/scripts/quick_install.sh | bashOption 2: Manual Setup
# Clone repository
git clone https://github.com/mstanton/claude-jester-mcp.git
cd claude-jester-mcp
# Install dependencies
pip install -r requirements.txt
# Run setup
python scripts/setup.py
# Restart Claude DesktopVerification
Ask Claude: "Write a function to calculate factorial and test it with edge cases"
You should see Claude internally test and optimize the code before presenting it!
π― What Makes This Revolutionary
Real-Time Code Validation
Automatic testing of all AI-generated code
Edge case discovery and handling
Performance optimization with benchmarks
Security validation with multi-layer sandbox
Quantum Debuggingβ’
Parallel testing of multiple code variants
Automatic optimization selection
Performance comparison with real metrics
Best solution recommendation
Adaptive Learning
Pattern recognition from your coding style
Personalized suggestions based on your preferences
Continuous improvement through usage
Smart error prevention
π Core Features
Feature | Description | Benefit |
Multi-Strategy Execution | Adapts security approach based on code analysis | Safe, optimized execution |
Performance Analytics | Real-time metrics with microsecond precision | Data-driven optimization |
Quantum Debugging | Parallel testing of code variants | Automatic best-solution finding |
Learning System | Adapts to your coding patterns | Personalized AI assistance |
Security Layers | Multiple isolation strategies | Production-ready safety |
Web Dashboard | Real-time monitoring and insights | Track your AI coding evolution |
π Performance Impact
Research-backed productivity gains:
55.8% faster task completion (GitHub study)
26% increase in completed tasks (Harvard/MIT study)
40% higher code quality scores
99% fewer runtime errors in presented code
ποΈ Architecture
graph TB
CD[Claude Desktop] --> MCP[MCP Server]
MCP --> EE[Execution Engine]
EE --> RP[RestrictedPython]
EE --> AE[ASTeval]
EE --> SP[Subprocess]
EE --> BS[Basic Sandbox]
MCP --> LS[Learning System]
MCP --> PM[Performance Monitor]
MCP --> QD[Quantum Debugger]
PM --> Dashboard[Web Dashboard]
LS --> Patterns[Pattern Database]πͺ Demo Examples
Algorithm Optimization
Prompt: "Find the fastest way to sort 1 million integers"Claude's Response:
β Tested 4 sorting algorithms in parallel
Winner: Timsort hybrid approach
Performance: 127ms (3.2x faster than quicksort)
Memory: 15% more efficient than merge sort
Stability: Maintains equal element order
Ready to use in production β¨
Automatic Bug Prevention
Prompt: "Create a JSON parser for production use"Claude's Process:
Generates initial parser
Tests with malformed JSON, edge cases
Discovers 8 potential failure points
Iteratively fixes each issue
Delivers bulletproof parser with comprehensive error handling
π Documentation
Installation Guide - Detailed setup instructions
Usage Examples - Common use cases and patterns
API Reference - Complete API documentation
Security Guide - Security features and best practices
Performance Guide - Optimization strategies
Troubleshooting - Common issues and solutions
π οΈ Configuration
Basic Configuration
{
"mcpServers": {
"code-execution": {
"command": "python",
"args": ["/path/to/claude-desktop-mcp-execution/src/mcp/server.py"],
"env": {
"MCP_LOG_LEVEL": "INFO",
"MCP_ENABLE_LEARNING": "true",
"MCP_ENABLE_MONITORING": "true"
}
}
}
}Environment Variables
# Execution settings
MCP_MAX_EXEC_TIME=10.0 # Maximum execution time (seconds)
MCP_MAX_MEMORY_MB=256 # Memory limit per execution
MCP_CACHE_SIZE=1000 # Result cache size
# Features
MCP_ENABLE_QUANTUM=true # Enable quantum debugging
MCP_ENABLE_LEARNING=true # Enable adaptive learning
MCP_ENABLE_MONITORING=true # Enable web dashboard
# Security
MCP_RESTRICTED_MODE=true # Enable security restrictions
MCP_ALLOW_NETWORK=false # Allow network access in codeπ― Usage Patterns
Performance-Focused Development
"Write the fastest way to find duplicates in a list of 10,000 items"Robust Production Code
"Create a CSV parser that handles all edge cases for production use"Learning-Driven Development
"Show me 3 ways to implement a cache with their trade-offs"Optimization Queries
"Find the bottleneck in this algorithm and fix it"
"Reduce the memory usage of this function by 50%"
"Make this code 10x faster while maintaining readability"π Security
Multi-layer sandboxing with resource limits
Automatic security validation of generated code
Network isolation and file system restrictions
Import filtering and dangerous pattern detection
Audit logging for all executions
See Security Guide for detailed information.
π Contributing
We welcome contributions! Please see:
Quick Development Setup
git clone https://github.com/your-username/claude-desktop-mcp-execution.git
cd claude-desktop-mcp-execution
pip install -e ".[dev]"
pre-commit install
pytestπ Roadmap
v1.1 (Next Release)
Multi-language support (JavaScript, Go, Rust)
Database query testing
Container-based execution
Team collaboration features
v2.0 (Future)
Distributed testing infrastructure
Advanced ML-based optimization
Cloud-scale performance validation
Enterprise SSO integration
π¬ Community
Discord: Join our community
Issues: Report bugs or request features
Discussions: Ask questions or share ideas
π Analytics Dashboard
Monitor your AI coding evolution at http://localhost:8888 (auto-starts with installation):
Execution Statistics - Track usage patterns and success rates
Performance Trends - Monitor code quality improvements over time
Learning Insights - See how the AI adapts to your style
Pattern Recognition - Understand your coding DNA
π Recognition
This project represents breakthrough innovations in AI-assisted programming:
First AI pair programmer that actually tests its suggestions
Quantum debugging with parallel variant testing
Adaptive learning that personalizes to individual coding patterns
Production-ready focus rather than just demos
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Anthropic for Claude and the MCP protocol
Open source community for foundational tools and libraries
Research community for AI safety and code validation techniques
Transform your Claude experience today!
π Quick Install β’ π Documentation β’ π¬ Community β’ π― Examples
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.