4,500+ servers built on MCP Fusion
Vinkius
E2B logo
Vinkius
Claude Code logo

How to Use the E2B MCP in Claude Code

Run headless code execution in Claude Code using E2B for secure cloud environments.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

E2B MCP on Cursor AI Code Editor MCP Client E2B MCP on Claude Desktop App MCP Integration E2B MCP on OpenAI Agents SDK MCP Compatible E2B MCP on Visual Studio Code MCP Extension Client E2B MCP on GitHub Copilot AI Agent MCP Integration E2B MCP on Google Gemini AI MCP Integration E2B MCP on Lovable AI Development MCP Client E2B MCP on Mistral AI Agents MCP Compatible E2B MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect E2B MCP to Claude Code

Create your Vinkius account to connect E2B to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Headless sandbox control for Claude Code

Use `create_sandbox` to spawn isolated Linux runtimes from your terminal. It works perfectly for automated pipelines where you need a clean environment. Claude Code can specify the template to use, such as Python or Node. This makes it easy to switch environments based on the project requirements.

Track active environments via CLI

The `list_sandboxes` tool outputs a list of currently running microVMs. This is essential for monitoring your resources during CI/CD tasks. You can pipe this output to other tools to manage your infrastructure. It keeps your terminal workflow efficient and transparent.

Destroy sandboxes on command

Run `kill_sandbox` to stop and delete any active environment. It ensures that your temporary compute resources are wiped cleanly. This is critical for automated scripts that shouldn't leave orphaned processes behind. It keeps your cloud usage predictable and cheap.

Setup guide

Set up E2B MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see e2b-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest E2B transactions." It will automatically discover and invoke the available E2B tools.

Terminal
claude mcp add --transport http e2b-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about E2B MCP in Claude Code

Use the add command with the server URL and transport flags. Once registered, the tools will be available for use in your terminal.
Yes, the server uses Firecracker microVMs to isolate execution. Your terminal environment is shielded from whatever code runs inside the sandbox.
E2B only manages the ephemeral state of your sandbox. It does not persist your code or project files once the session is terminated.
You should include the kill tool at the end of your scripts. This ensures that every sandbox is destroyed immediately after your task completes.
Yes, you can create and list multiple sandboxes concurrently. Just make sure to track their IDs so you can kill them when finished.

Start using the E2B MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 3 tools

We've already built the connector for E2B. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 3 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.