Explore
Contribute
Sign In

Explore

  1. Explore
  2. /
  3. Productivity & Collaboration
  4. /
  5. Python Interpreter

Python Interpreter

Python Interpreter

mcp

A Python-based execution tool that mimics a Jupyter notebook environment. It accepts code snippets, executes them, and maintains state across sessions — preserving variables, imports, and past results. Ideal for iterative development, debugging, or code execution.

3.2K

1 Tool

Packaged by
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

OverviewTools (1)Manual installation
Docker Hub⁠Github repository⁠

Tools

​
​
NameDescription
execute_codeExecutes Python code within a persistent session, retaining past results (e.g., variables, imports). Similar to a Jupyter notebook. A session_id is returned on first use and must be included in subsequent requests to maintain context.

Manual installation

You can install the MCP server using:

​

Installation for

Related servers

© 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal