- Home
- MCP servers
- Claude Desktop Code Execution
Claude Desktop Code Execution
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mstanton-claude-jester-mcp": {
"command": "python",
"args": [
"/path/to/claude-desktop-mcp-execution/src/mcp/server.py"
],
"env": {
"MCP_LOG_LEVEL": "INFO",
"MCP_CACHE_SIZE": "1000",
"MCP_ALLOW_NETWORK": "false",
"MCP_MAX_EXEC_TIME": "10.0",
"MCP_MAX_MEMORY_MB": "256",
"MCP_ENABLE_QUANTUM": "true",
"MCP_ENABLE_LEARNING": "true",
"MCP_RESTRICTED_MODE": "true",
"MCP_ENABLE_MONITORING": "true"
}
}
}
}You have a specialized MCP server that enables Claude Desktop to automatically test, validate, and optimize AI-generated code in real time, with adaptive learning and robust security. This setup helps you ship working, high-quality code faster by ensuring code is tested, optimized, and safely executed before you use it in production.
How to use
Use the MCP client to connect to the Claude Desktop Code Execution server. You can run code-level tests, rely on parallel variant testing, and observe performance metrics in real time. The server validates generated code, discovers edge cases, and offers automatic optimization suggestions so you always get the best-performing solution. You can also review execution analytics and security compliance as you work.
How to install
Prerequisites: you need Python installed on your system and access to a shell. You may also use the quick install script for a streamlined setup.
# Quick Install
curl -sSL https://raw.githubusercontent.com/mstanton/claude-jester-mcp/main/scripts/quick_install.sh | bash
Alternatively, perform a manual setup by cloning the project, installing dependencies, and running the setup script. After setup, restart Claude Desktop to apply the MCP server configuration.
# 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 Desktop
Configuration and running details
The MCP server is defined to run in a local environment using a Python command that starts the execution server from the given path. You can adjust logging, enable learning, and toggle monitoring via environment variables listed below.
Environment and runtime settings are configured to control execution time, memory, caching, and feature toggles. Use these to tailor performance, security, and learning behavior to your needs.
Security and performance notes
The server employs multi-layer sandboxing, network isolation, and import filtering to keep executions safe. It also runs automatic security validations on generated code and provides audit logging for all executions.
Performance analytics are collected in real time, with microsecond precision, and a quantum debugging workflow runs parallel tests to identify the best-performing variant. Adaptive learning personalizes suggestions based on your coding style.
Examples and patterns
Common usage patterns include optimizing performance, ensuring robustness for production code, and learning-driven development where the system adapts to your preferences over time.
Troubleshooting
If you encounter issues starting the MCP server, verify that Python and dependencies are installed, confirm the server path exists, and check that required environment variables are set. Review logs for any sandbox or security warnings that may block code execution.
Available tools
Real-Time Code Validation
Automatically tests all AI-generated code, detects edge cases, and provides immediate feedback on correctness and safety.
Quantum Debugging
Runs parallel tests of multiple code variants to identify the best-performing solution with performance metrics.
Adaptive Learning
Learns your coding patterns and preferences to tailor suggestions and improve over time.
Security Layers
Implements multi-layer sandboxing and isolation to ensure safe, production-ready execution.
Web Dashboard
Provides real-time monitoring, insights, and analytics about AI coding evolution.