MCP Directory

maxim-saplin/mcp_safe_local_python_executor

GitHub
Developer Tools

Safe Python interpreter based on HF Smolagents `LocalPythonExecutor`

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

uvx mcp_safe_local_python_executor

Use with Agent-CoreX

Agent-CoreX intelligently routes which tools from maxim-saplin/mcp_safe_local_python_executor your AI agent actually needs per request — reducing token usage and cost.

agent-corex.json

{
  "mcpServers": {
    "mcp_safe_local_python_executor": {
      "command": "uvx",
      "args": [
        "mcp_safe_local_python_executor"
      ]
    }
  }
}

Route maxim-saplin/mcp_safe_local_python_executor intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add mcp_safe_local_python_executor

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use maxim-saplin/mcp_safe_local_python_executor directly without routing

uvx mcp_safe_local_python_executor

New to Agent-CoreX? View setup guide →

maxim-saplin/mcp_safe_local_python_executor MCP Server