A Python-based execution tool that mimics a Jupyter notebook environment. It accepts code snippet...
10K+
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 |
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/akuadane/mcp-code-interpreter/blob/209ddfca8c7a20cd44834a6217dfca358b532f90/Dockerfile |
| Commit | 209ddfca8c7a20cd44834a6217dfca358b532f90 |
| 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 | integer optional |
{
"mcpServers": {
"mcp-code-interpreter": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/local-directory:/local-directory",
"mcp/mcp-code-interpreter"
]
}
}
}
Content type
Image
Digest
sha256:d6ce03d19…
Size
128 MB
Last updated
11 months ago
docker pull mcp/mcp-code-interpreterPulls:
1,164
Last week