
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
Version 4.43 or later needs to be installed to add the server automatically
About
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.
| Attribute | Details |
|---|---|
| Docker Image | mcp/mcp-code-interpreter |
| Author | akuadane |
| Repository | https://github.com/akuadane/mcp-code-interpreter |
| Dockerfile | https://github.com/akuadane/mcp-code-interpreter/blob/main/Dockerfile |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/mcp-code-interpreter --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | MIT License |
| Tools provided by this Server | Short Description |
|---|---|
execute_code | Executes Python code within a persistent session, retaining past results (e.g., variables, imports). |
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.
| Parameters | Type | Description |
|---|---|---|
code | string | |
session_id | integeroptional |
{
"mcpServers": {
"mcp-code-interpreter": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/local-directory:/local-directory",
"mcp/mcp-code-interpreter"
]
}
}
}
Manual installation
You can install the MCP server using:
Installation for