MCP HubMCP Hub
MCP·2158E5
M

mcp_safe_local_python_executor

By maxim-saplin·Visit Source
Безопасный локальный исполнитель Python для LLM через MCP
16 апреля 2025 г.
2 months ago
3 Clicks
About mcp_safe_local_python_executor

Безопасный локальный исполнитель Python для LLM через MCP. 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), который предоставляет безопасную локальную среду выполнения Python для кода, сгенерированного LLM. Он оборачивает LocalPythonExecutor от Hugging Face с базовыми функциями изоляции и безопасности.

Как использовать MCP

Установите через uv, настройте сервер MCP в конфигурационном файле Claude Desktop и перезапустите Claude для доступа к инструменту исполнителя Python (отображается как иконка молотка). Сервер работает в ограниченном Python venv с ограниченным набором импортов и без операций файлового ввода-вывода.

Для чего можно использовать MCP

Позволяет безопасно выполнять код Python, сгенерированный LLM, локально без Docker/виртуальных машин, выступая в роли интерпретатора кода для Claude Desktop и других клиентов, совместимых с MCP. Полезен для математических вычислений, обработки данных и решения уравнений с сохранением безопасности.

Repository Info
Stars:
44
Forks:
11
Watchers:
44
Last Updated: 3 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

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.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.