mcp-safe-run for MCP
MCP Safe Run: Local Python Execution for LLM Applications
- Free
- 4.9
- V 2.4.6
MCP Safe Run: Local Python Execution for LLM Applications
MCP Safe Run, developed by Kanak03 Star, is a free MCP server tool built with Python, designed to enhance LLM applications. It provides a secure local Python execution environment, acting as a Safe Local Python Executor that wraps Hugging Face's LocalPythonExecutor. This program integrates with AI clients like Claude Desktop and Cursor, enabling them to run Python code locally. It operates within a Python virtual environment, offering a practical solution for developers needing a code interpreter for their LLM workflows.
What does MCP Safe Run connect to?
MCP Safe Run connects directly to various LLM applications, serving as an MCP server. It establishes connections with AI clients such as Claude Desktop and Cursor, along with any other client compatible with the MCP protocol. This connection allows the LLM applications to access its Python execution capabilities. The program functions as a Safe Local Python Executor, extending the functionality of these AI clients by providing a local environment for running Python code generated by the LLM. It acts as a crucial bridge for interactive development.
Core features and tools
The primary callable tool exposed by MCP Safe Run is run_python, which enables the execution of Python code. It supports the stdio transport protocol for communication with compatible AI clients, ensuring direct interaction. This server tool provides basic isolation and security for running Python code generated by LLMs locally, enhancing safety during development. It functions without requiring more complex setups like Docker or a full virtual machine, making it a straightforward addition to developer toolkits for secure local scripting.
Who is it for?
MCP Safe Run targets developers who use LLM applications such as Claude Desktop or Cursor. It is suitable for those who need to add a code interpreter to their AI clients or require a safer method for executing Python code generated by LLMs on their local machine. The program helps provide a basic level of isolation for these execution tasks, making development more controlled. Skip this if you require advanced containerization or virtual machine-level security for code execution.
How to get started
No credentials are required for MCP Safe Run, simplifying initial access. The program supports the stdio transport protocol for communication with compatible AI clients, which is a standard method for interaction.
Use cases
- Adding a missing Code Interpreter to LLM applications that lack native execution capabilities.
- Enabling safer execution of Python code generated by LLMs directly on the local machine.
- Providing basic isolation and security for running LLM-generated Python code without requiring Docker or a full virtual machine setup.
MCP Safe Run by Kanak03 Star offers a free, Python-based solution for local code execution within LLM applications. It extends AI clients like Claude Desktop and Cursor with safe Python capabilities, acting as a Safe Local Python Executor. The program supports the stdio protocol and provides basic isolation for LLM-generated code.
Pros
- Adds local Python execution to LLM apps.
- Offers basic isolation for LLM-generated code.
- Compatible with Claude Desktop and Cursor.
- Free to use.
Cons
- Does not support SSE or streamable HTTP.
- Authentication model details are not specified.
- Requires a Python virtual environment.
- Relies on Smithery for installation.
mcp-safe-run for MCP
- Free
- 4.9
- V 2.4.6
Top downloads

onlyboxes
Onlyboxes: A Self-Hosted Sandbox for AI Code Execution and Terminal Sessions
zcode-jetbrains-plugin
ZCode JetBrains plugin brings agentic coding into JetBrains IDEs

wordpress-mcp-elementor-wppilot
Builder-aware AI co‑developer for Elementor-powered WordPress sites

RustAPI
Rustapi: An AI-First Web Framework for Rust MCP Servers

TDPilot
AI copilot for TouchDesigner that edits live node graphs