Secure cloud sandboxes for AI code execution via E2B — create sandboxes, run code, manage files in isolated environments.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"e2b": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-e2b",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify e2b credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Secure cloud sandboxes for AI code execution via E2B — create sandboxes, run code, manage files in isolated environments.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-e2b
This MCP server gives AI agents access to E2b via 5 tools. Connect it to any Aerostack workspace and your agents can interact with E2b directly.
| Tool | Description |
|---|---|
list_templates | List available E2B sandbox templates |
create_sandbox | Create a new E2B sandbox from a template |
list_sandboxes | List running E2B sandboxes |
get_sandbox | Get details of a specific E2B sandbox |
kill_sandbox | Kill (terminate) a running E2B sandbox |
| Variable | Required | Description |
|---|---|---|
E2B_API_KEY | Yes | Your E2B API KEY from the service's developer settings |
Add the following secrets under Project → Secrets:
E2B_API_KEYOnce added, every AI agent in your workspace can use E2b tools automatically.
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-e2b \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-E2B-API-KEY: your-e2b-api-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_templates","arguments":{}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-e2b
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
E2b MCP exposes the following tools to your AI agent: `_ping`, `list_templates`, `create_sandbox`, `list_sandboxes`, `get_sandbox`. Use these to automate e2b workflows directly from Claude, Cursor, or any MCP-compatible client.
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-e2b": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-e2b"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-e2b", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-e2b"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Yes. E2b requires authentication. Check the MCP's documentation for the required credentials.