I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-Python-Exécuteur
Un serveur de protocole de contexte de modèle (MCP) pour exécuter le code Python et gérer les packages Python.
1
Github Watches
1
Github Forks
0
Github Stars
MCP Python Executor
A Model Context Protocol (MCP) server for executing Python code and managing Python packages.
Features
- Execute Python code with safety constraints
- Install and manage Python packages
- Pre-configure commonly used packages
- Resource monitoring and limits
- Health checks and metrics
- Structured logging
Configuration
The server can be configured through environment variables in the MCP settings:
{
"mcpServers": {
"mcp-python-executor": {
"command": "node",
"args": ["path/to/python-executor/build/index.js"],
"env": {
"PREINSTALLED_PACKAGES": "numpy pandas matplotlib scikit-learn",
"MAX_MEMORY_MB": "512",
"EXECUTION_TIMEOUT_MS": "30000",
"MAX_CONCURRENT_EXECUTIONS": "5",
"LOG_LEVEL": "info",
"LOG_FORMAT": "json"
}
}
}
}
Environment Variables
-
PREINSTALLED_PACKAGES
: Space-separated list of Python packages to install on startup -
MAX_MEMORY_MB
: Maximum memory limit per execution (default: 512) -
EXECUTION_TIMEOUT_MS
: Maximum execution time in milliseconds (default: 30000) -
MAX_CONCURRENT_EXECUTIONS
: Maximum number of concurrent executions (default: 5) -
LOG_LEVEL
: Logging level (debug|info|error, default: info) -
LOG_FORMAT
: Log format (json|text, default: json)
Available Tools
1. execute_python
Execute Python code and return the results.
interface ExecutePythonArgs {
code?: string; // Python code to execute (inline)
scriptPath?: string; // Path to existing Python script file (alternative to code)
inputData?: string[]; // Optional input data
}
Examples:
// Example with inline code
{
"code": "print('Hello, World!!')\nfor i in range(3): print(i)",
"inputData": ["optional", "input", "data"]
}
// Example with script path
{
"scriptPath": "/path/to/your_script.py",
"inputData": ["optional", "input", "data"]
}
2. install_packages
Install Python packages.
interface InstallPackagesArgs {
packages: string[];
}
Example:
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Reviews

user_YDymRl7D
I recently started using Awesome MCP Servers by habitoai, and I am thrilled with the performance and reliability it offers. The setup process was smooth, and the server response time is impressive. If you're looking for a powerful and efficient server solution, I highly recommend checking it out at https://mcp.so/server/awesome-mcp-servers/habitoai. You won't be disappointed!