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.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
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!

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
评论