mcp_safe_local_python_executor
MCP経由のLLM向け安全なローカルPython実行環境. mcp_safe_local_python_executor is a Model Context Protocol (MCP) server maintained by maxim-saplin. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 1 tool, including run_python, that an agent can call directly. It is categorized under AI/LLM, Tool/Python and Integration/Claude.
このMCPについて
これはModel Context Protocol(MCP)サーバーで、LLMが生成したPythonコードを安全に実行するためのローカル環境を提供します。Hugging FaceのLocalPythonExecutorを基本的な隔離/セキュリティ機能でラップしています。
使用方法
uv経由でインストール後、Claude Desktopの設定ファイルでMCPサーバーを設定し、再起動するとPython実行ツール(ハンマーアイコン)が利用可能になります。サーバーは制限付きPython venvで動作し、インポート可能なモジュールに制限があり、ファイルI/O操作はできません。
用途
Docker/VMなしでLLM生成のPythonコードを安全にローカル実行できます。Claude Desktopやその他MCP互換クライアント向けのコードインタプリタとして機能し、数学計算、データ処理、方程式解法などに有用です。セキュリティを維持しながら利用できます。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the mcp_safe_local_python_executor MCP server?
mcp_safe_local_python_executor is a Model Context Protocol server from maxim-saplin. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect mcp_safe_local_python_executor to my AI client?
Add mcp_safe_local_python_executor to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does mcp_safe_local_python_executor provide?
mcp_safe_local_python_executor provides 1 tool: run_python.
Is mcp_safe_local_python_executor free to use?
mcp_safe_local_python_executor is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
