mcp-python-exec-sandbox 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/.github/workflows/ci.yml +4 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/PKG-INFO +33 -2
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/README.md +32 -1
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/pyproject.toml +1 -1
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/uv.lock +1 -1
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/.devcontainer/Dockerfile +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/.devcontainer/devcontainer.json +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/.gitignore +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/CLAUDE.md +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/LICENSE +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/__init__.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_data_science.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_docker_sandbox.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_mcp_protocol.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_package_install.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_real_execution.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_sandbox_enforcement.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/profiles/Dockerfile +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/profiles/sandbox_macos.sb +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/profiles/warmup_packages.txt +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/__init__.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/__main__.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/cache.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/config.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/errors.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/executor.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/output.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/sandbox.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/sandbox_docker.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/sandbox_linux.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/sandbox_macos.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/script.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/server.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/__init__.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/conftest.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_config.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_executor.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_integration.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_output.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_sandbox.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_script.py +0 -0
- {mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/tests/test_server.py +0 -0
|
@@ -12,6 +12,8 @@ jobs:
|
|
|
12
12
|
steps:
|
|
13
13
|
- uses: actions/checkout@v4
|
|
14
14
|
- uses: astral-sh/setup-uv@v4
|
|
15
|
+
with:
|
|
16
|
+
python-version: "3.13"
|
|
15
17
|
- run: uv sync --dev
|
|
16
18
|
- run: uv run ruff check .
|
|
17
19
|
- run: uv run ruff format --check .
|
|
@@ -21,5 +23,7 @@ jobs:
|
|
|
21
23
|
steps:
|
|
22
24
|
- uses: actions/checkout@v4
|
|
23
25
|
- uses: astral-sh/setup-uv@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.13"
|
|
24
28
|
- run: uv sync --dev
|
|
25
29
|
- run: uv run pytest tests/ -v
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-python-exec-sandbox
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: MCP server for secure Python script execution with automatic dependency management
|
|
5
5
|
Project-URL: Homepage, https://github.com/lu-zhengda/mcp-python-exec-sandbox
|
|
6
6
|
Project-URL: Repository, https://github.com/lu-zhengda/mcp-python-exec-sandbox
|
|
@@ -85,7 +85,38 @@ claude mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend d
|
|
|
85
85
|
claude mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend none
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
###
|
|
88
|
+
### Cursor
|
|
89
|
+
|
|
90
|
+
Add to `.cursor/mcp.json` (project-level) or `~/.cursor/mcp.json` (global):
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"mcpServers": {
|
|
95
|
+
"python-sandbox": {
|
|
96
|
+
"command": "uvx",
|
|
97
|
+
"args": ["mcp-python-exec-sandbox", "--sandbox-backend", "native"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### OpenAI Codex CLI
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
codex mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend native
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Or add to `.codex/config.toml`:
|
|
110
|
+
|
|
111
|
+
```toml
|
|
112
|
+
[mcp_servers.python-sandbox]
|
|
113
|
+
command = "uvx"
|
|
114
|
+
args = ["mcp-python-exec-sandbox", "--sandbox-backend", "native"]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Other MCP clients
|
|
118
|
+
|
|
119
|
+
Any client that supports the MCP stdio transport can use this server:
|
|
89
120
|
|
|
90
121
|
```json
|
|
91
122
|
{
|
|
@@ -62,7 +62,38 @@ claude mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend d
|
|
|
62
62
|
claude mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend none
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
###
|
|
65
|
+
### Cursor
|
|
66
|
+
|
|
67
|
+
Add to `.cursor/mcp.json` (project-level) or `~/.cursor/mcp.json` (global):
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"mcpServers": {
|
|
72
|
+
"python-sandbox": {
|
|
73
|
+
"command": "uvx",
|
|
74
|
+
"args": ["mcp-python-exec-sandbox", "--sandbox-backend", "native"]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### OpenAI Codex CLI
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
codex mcp add python-sandbox -- uvx mcp-python-exec-sandbox --sandbox-backend native
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Or add to `.codex/config.toml`:
|
|
87
|
+
|
|
88
|
+
```toml
|
|
89
|
+
[mcp_servers.python-sandbox]
|
|
90
|
+
command = "uvx"
|
|
91
|
+
args = ["mcp-python-exec-sandbox", "--sandbox-backend", "native"]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Other MCP clients
|
|
95
|
+
|
|
96
|
+
Any client that supports the MCP stdio transport can use this server:
|
|
66
97
|
|
|
67
98
|
```json
|
|
68
99
|
{
|
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/.devcontainer/devcontainer.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_data_science.py
RENAMED
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_docker_sandbox.py
RENAMED
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_mcp_protocol.py
RENAMED
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_package_install.py
RENAMED
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/e2e_tests/test_real_execution.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/profiles/warmup_packages.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_python_exec_sandbox-0.1.2 → mcp_python_exec_sandbox-0.1.3}/src/mcp_python_exec_sandbox/cache.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|