MaaS E2B sandbox MCP server
Project description
E2B Sandbox MCP Server
MCP server for E2B sandbox. MaaS mode uses MaaS E2B proxy and tenant API key.
Config
Environment:
E2B_API_KEY=e2b_xxx
E2B_API_URL=https://maas.example.com/api/e2b
Optional:
E2B_TEMPLATE=code-interpreter
E2B_TIMEOUT=300
E2B_REQUEST_TIMEOUT=60
E2B_FILE_CHUNK_BYTES=49152
Full env list: ENV.md.
Do not configure domain, gateway, sandbox URL template, CA, or TLS flags in client.
They are loaded from E2B_API_URL/config.
Run
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e .
export E2B_API_KEY=e2b_xxx
export E2B_API_URL=https://maas.example.com/api/e2b
python tests/test_mcp_create_delete.py
python tests/test_mcp_client.py
After install, the server command is maas-e2b-sandbox.
MCP
mcp_servers:
e2b_sandbox:
command: maas-e2b-sandbox
timeout: 180
env:
PYTHONUNBUFFERED: "1"
E2B_API_KEY: e2b_xxx
E2B_API_URL: https://maas.example.com/api/e2b
Tools
code_runcmd_run,cmd_start,cmd_output,cmd_input,cmd_killfile_write,file_read,file_upload,file_download,file_inspectcreate_session,list_sessions,close_sessionget_host
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maas_e2b_sandbox-0.1.0.tar.gz.
File metadata
- Download URL: maas_e2b_sandbox-0.1.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b82725777a9de06e8d60903902a5c67501bfe2c7453274226c5a9ce814fbd780
|
|
| MD5 |
ecce1b1679eef5bbe94c2b8cd9b55eae
|
|
| BLAKE2b-256 |
b18dc2211c82ee196cbcfd328483323ec66cbb06a7c3611514afa75c34edd0c5
|
File details
Details for the file maas_e2b_sandbox-0.1.0-py3-none-any.whl.
File metadata
- Download URL: maas_e2b_sandbox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f3216a977f1d4bc85fd12c45c01d6039d4c20f7613b21c20634d85e2bd93f05
|
|
| MD5 |
4876a07558d2d8b907ec207a43be2545
|
|
| BLAKE2b-256 |
936819b3cecdda52a313f6b382a060c5e927dc8c66f4248792d93ce8f3776113
|