This MCP server provides a Python REPL (Read-Eval-Print Loop) as a tool. It allows execution of Python code through the MCP protocol with a persistent session.
mcp-python is an MCP project maintained in the hdresearch/mcp-python repository. The maintainer describes its purpose as “This MCP server provides a Python REPL (Read-Eval-Print Loop) as a tool. It allows execution of Python code through the MCP protocol with a persistent…”. Read the project documentation for the complete scope.
The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"python-repl": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/python-repl-server",
"run",
"mcp_python"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
Runs Python code locally within an interactive REPL environment.
Executes Python code within ephemeral Daytona sandboxes, facilitating tasks such as code execution, file manipulation, and web server previewing.
Enables Claude to manage software development projects with project context awareness and code execution via Docker.
Give your agent a persistent workspace: files, a code sandbox and a public URL to publish to.
Build Apps and run code in 30 languages — sandboxed, with persistent sessions for agent loops.