Back to directory
yzfly/mcp-python-interpreter

yzfly/mcp-python-interpreter

@yzfly

A Model Context Protocol (MCP) server that allows LLMs to interact with Python environments, read and write files, execute Python code, and manage development workflows.

pythoninterpretercode-executionmcpllmfile-operationsenvironment-managementpackage-managementtool

Installation & Configuration

{
  "mcpServers": {
    "mcp-python-interpreter": {
      "command": "uvx",
      "args": [
        "mcp-python-interpreter",
        "--dir",
        "/path/to/your/work/dir",
        "--python-path",
        "/path/to/your/python"
      ],
      "env": {
        "MCP_ALLOW_SYSTEM_ACCESS": "0"
      }
    }
  }
}

Information

Transport
stdio
Language
Python
Created
2026/6/13
Updated
2026/6/13