Python Sandbox MCP Server
@cloudywu0410
Python Sandbox MCP Server について
A MCP server that enables LLMs to run python code safely in isolated Docker containers.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"python-sandbox-sse": {
"command": "mcp-proxy",
"args": [
"http://localhost:8060/eval"
],
"ssePath": "/eval"
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Python Sandbox MCP Server?
A secure Python code execution server that enables LLMs to run Python code safely in isolated Docker containers. It supports stdout capture, Matplotlib plotting with PNG image generation, and real-time communication via Server-Sent Events (SSE). The server uses the Snekbox Docker container for sandboxing, providing a safe environment for code execution. It is designed for integration with MCP-compatible clients such as Claude Desktop.
How to use Python Sandbox MCP Server?
First, clone the repository and install dependencies using uv add -r requirements.txt. Then pull the Snekbox Docker image and start the container with security parameters. Optionally install additional Python packages inside the container. Finally, update your MCP client configuration to point to the local build, e.g., using mcp-proxy with SSE endpoint http://localhost:8060/eval. The server can be configured via environment variables MCP_SERVER_NAME, SNEKBOX_URL, and TEMP_DIR.
Key features of Python Sandbox MCP Server
- Regular Python code execution with stdout capture
- Matplotlib plotting with PNG image generation
「推論」の他のコンテンツ
MCP Sandbox
JohanLi233Python sandboxes for llms
n8n Workflow Builder MCP
ifmelateMCP server that allow LLM in agent mode builds n8n workflows for you
n8n Workflow Builder MCP Server
salacosteAI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manage, and monitor workflows via Model Context Protocol. Multi-instance support, 17 tools, comprehensive docs. Build workflows conversationally without manual JSON
Sandbox Mcp
pottekkatA Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
iFlytek Workflow MCP Server
iflytekThis a simple implementation of an MCP server using iFlytek. It enables calling iFlytek workflows through MCP tools.
コメント