FRENES

Coding agents · MCP server

MCP safe local python executor: MCP server, setup and security

MCP safe local python executor is an open-source MCP server that lets an AI agent execute Python code using a safe interpreter based on LocalPythonExecutor. Its repository has 48 stars and its last commit is from July 17, 2025 and it is licensed under MIT.

Inactive for over a year

What MCP safe local python executor does

According to its repository: “Safe Python interpreter based on Hugging Face smolagents' LocalPythonExecutor.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. MCP safe local python executor is listed under Coding agents, a category of 151 servers in the directory, where it ranks #108 by stars.

Installing and connecting MCP safe local python executor

No package or remote server is declared in the official MCP registry: you install it from source, following the repository README.

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

Points found for MCP safe local python executor:

  • Maintenance: no commit for 15 months. Possible flaws and protocol changes are no longer tracked.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on March 27, 2025, the maxim-saplin/mcp_safe_local_python_executor repository has 48 stars and 12 forks, with 0 open issues. It has more stars than 51% of the servers in the directory. Last change 15 months ago.

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

Serena MCP: the IDE for yourSerena MCP: the IDE for your : 30.7K30.7KRepomixRepomix : 29K29KDesktop CommanderDesktop Commander : 10.1K10.1KOuroborosOuroboros : 6.3K6.3KClaude Code Ultimate GuideClaude Code Ultimate Guide : 6.2K6.2KClaude Code Explorer MCPClaude Code Explorer MCP : 3.4K3.4KArgentArgent : 3.1K3.1KAppllamaAppllama : 3K3KMCP safe local python executMCP safe local python execut : 4848
GitHub stars of the most followed servers in the category (log scale); MCP safe local python executor in orange. Checked October 25, 2026.

Verdict

MCP safe local python executor is still a modest project: read its code and compare it with the alternatives before using it.

Strengths

  • Permissive licence (MIT)

Limitations

  • No commit for 15 months
  • Install from source

Avoid if…

  • Production use without reviewing the code

Frequently asked questions

How do I install MCP safe local python executor?

No package is declared in the MCP registry: clone the maxim-saplin/mcp_safe_local_python_executor repository, follow its README, then declare the start command in your client's MCP configuration.

Is MCP safe local python executor free?

The code is published under the MIT licence and can be used free of charge.

Is MCP safe local python executor safe?

Points to watch: maintenance. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by maxim-saplin on GitHub. Check who maintains it before giving it access.

What are the alternatives to MCP safe local python executor?

In the same category: Desktop Commander, Ouroboros, Repomix, and Claude Code Ultimate Guide. Desktop Commander and Ouroboros score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score