Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 397 Bytes

File metadata and controls

19 lines (14 loc) · 397 Bytes

MCP Client Connection

Connects to MCP servers in an E2B sandbox using the MCP SDK client.

Setup

  1. Install dependencies: npm install
  2. Set environment variables in .env:
    E2B_API_KEY=your_e2b_api_key
    
  3. Run: npm run start

What it does

  • Creates E2B sandbox with MCP servers
  • Connects to MCP server using SDK client
  • Lists available tools
  • Cleans up resources