What kind of Python code can be executed?
Any valid Python code can be run inline via the `code` parameter or from a file via `scriptPath`. The server applies memory limits, timeouts, and concurrency restrictions to ensure safe execution.
@bsmi021
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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"
}
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
MCP Python Executor is a Model Context Protocol (MCP) server that allows AI models and other MCP clients to execute Python code and manage Python packages. It enforces safety constraints, resource limits, and provides health checks and structured logging, making it suitable for controlled code execution environments.
Configure the server in your MCP settings with the command node path/to/python-executor/build/index.js. Customize behavior via environment variables such as PREINSTALLED_PACKAGES, MAX_MEMORY_MB, EXECUTION_TIMEOUT_MS, and MAX_CONCURRENT_EXECUTIONS. Then use the provided tools—execute_python to run inline or file-based Python code, and install_packages to install Python packages.
Any valid Python code can be run inline via the `code` parameter or from a file via `scriptPath`. The server applies memory limits, timeouts, and concurrency restrictions to ensure safe execution.
The server runs on Node.js and requires a Python environment. The specific Python version is not stated in the README; the server attempts to use the system’s default Python.
Set the `PREINSTALLED_PACKAGES` environment variable to a space-separated list of package names (e.g., `numpy pandas matplotlib scikit-learn`). These are installed on server startup using pip.
You can configure per‑execution memory limit (`MAX_MEMORY_MB`, default 512), timeout (`EXECUTION_TIMEOUT_MS`, default 30000), and maximum concurrent executions (`MAX_CONCURRENT_EXECUTIONS`, default 5). No authentication or transport details are specified in the README.
Logging level and format are controlled by `LOG_LEVEL` and `LOG_FORMAT` environment variables, supporting `debug`, `info`, `error` levels and `json` or `text` formats.
A curated list of references for MLOps
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
🚀 The fast, Pythonic way to build MCP servers and clients.
コメント