MCP HubMCP Hub
MCP·2158E5
M

mcp_safe_local_python_executor

By maxim-saplin·Visit Source
Ejecutor local seguro de Python para LLMs mediante MCP
16 de abril de 2025
2 months ago
3 Clicks
About mcp_safe_local_python_executor

Ejecutor local seguro de Python para LLMs mediante 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.

¿Qué es este MCP?

Este es un servidor de Model Context Protocol (MCP) que proporciona un entorno seguro de ejecución local de Python para código generado por LLM, envolviendo el LocalPythonExecutor de Hugging Face con características básicas de aislamiento/seguridad.

Cómo usar este MCP

Instala mediante uv, configura el servidor MCP en el archivo de configuración de Claude Desktop y reinicia Claude para acceder a la herramienta de ejecución de Python (aparece como un icono de martillo). El servidor se ejecuta en un venv de Python restringido con importaciones limitadas y sin operaciones de E/S de archivos.

Para qué se puede usar este MCP

Permite la ejecución segura de código Python generado por LLM localmente sin Docker/VM, funcionando como un intérprete de código para Claude Desktop y otros clientes compatibles con MCP. Útil para cálculos matemáticos, procesamiento de datos y resolución de ecuaciones manteniendo la seguridad.

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.