0.0.11 • Published 8 months ago

@netglade/mcp-sandbox v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

MCP Sandbox

npm version License: MIT

🎮 Live Demo | 📦 Demo Repository | 📝 Blog Post

Overview

MCP Sandbox enables you to run Model Context Protocol (MCP) servers directly in the browser using E2B's sandbox environment. This package makes it easy to integrate AI assistants with tools and data sources without requiring any local setup.

Installation

npm install @netglade/mcp-sandbox

Quick Start

import { startMcpSandbox } from '@netglade/mcp-sandbox';

// Start the MCP sandbox
const mcpSandbox = await startMcpSandbox({
  command: 'npx -y @modelcontextprotocol/server-brave-search',
  apiKey: 'e2b_****',
});

// Get the MCP server URL to connect your AI assistant
const mcpUrl = mcpSandbox.getUrl();
console.log("MCP server URL:", mcpUrl);

How It Works

  1. MCP Server Execution: Uses supergateway to run stdio-based MCP servers over SSE (Server-Sent Events)
  2. Sandbox Environment: Runs in E2B's secure sandbox environment, providing isolated execution
  3. Tool Integration: Seamlessly connects AI assistants with real-world tools and data sources
  4. Browser Support: Everything runs directly in the browser without local dependencies

Examples and Resources

Contributing

We welcome contributions! Feel free to open issues and pull requests.

License

MIT

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago