Back to directory
mcp-python-interpreter

mcp-python-interpreter

@yzfly99

A Model Context Protocol (MCP) server that allows LLMs to interact with Python environments, execute Python code, manage packages, and perform file operations.

pythoninterpretercode-executionenvironment-managementfile-operationscontext

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
2025/4/3
Updated
2026/6/8