Tools
E2B
Follow these steps to run the agent and E2B tool in the cloud with Meshagent:
1. Required Environment Variables
E2B_API_KEY
: Your E2B API key (ReplaceYOUR_API_KEY_HERE
with your actual key)
2. Setup and Launch
-
Install Meshagent and dependencies
-
Sign up and authenticate with Meshagent
- Visit Meshagent CLI Getting Started and follow the steps to sign up and authenticate.
-
Start Meshagent service in a room with the MCP server
- This command starts a Meshagent room with the E2B MCP server available. Rooms will close if inactive.
-
Join the room with a chatbot agent that can use the E2B toolkit
- Now, a chatbot will join the Meshagent room and can access E2B’s tools.
- Multiple toolkits can be used in the same room with the same agent.
- The command will output a room link you can use to interact with the agent and the E2B tool.
Tools Available
Tools provided by this Server
Tool | Short Description |
---|---|
run_code | Run python code in a secure sandbox by E2B. |
Tools Details
Tool: run_code
Run python code in a secure sandbox by E2B. Using the Jupyter Notebook syntax.
Parameter | Type | Description |
---|---|---|
code | string |
More Information
- Meshagent: https://www.meshagent.com/
- Getting Started: https://docs.meshagent.com/room_api/get_started
- Overview: https://docs.meshagent.com/room_api/overview
- Meshagent MCP Tool Docker Image: https://hub.docker.com/r/meshagent/mcp-e2b
Tip: Why is it safer to run MCP Servers with Docker?
Reference: What is an MCP Server?