
mcp sandbox
通过 E2B 沙盒环境直接在浏览器中运行 Model Context Protocol (MCP) 服务器,轻松集成 AI 助手与工具和数据源。
Repository Info
About This Server
通过 E2B 沙盒环境直接在浏览器中运行 Model Context Protocol (MCP) 服务器,轻松集成 AI 助手与工具和数据源。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Sandbox
Run Model Context Protocol (MCP) servers in E2B's sandbox environment
🏆 Winner of the E2B Agents and AI Tools Hackathon
🎮 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
- MCP Server Execution: Uses supergateway to run stdio-based MCP servers over SSE (Server-Sent Events)
- Sandbox Environment: Runs in E2B's secure sandbox environment, providing isolated execution
- Tool Integration: Seamlessly connects AI assistants with real-world tools and data sources
- Browser Support: Everything runs directly in the browser without local dependencies
Examples and Resources
- 🎮 Live Demo - Try it directly in your browser
- 📦 Demo Repository - Full example implementation
- 📝 Blog Post - Learn about the project's journey
Contributing
We welcome contributions! Feel free to open issues and pull requests.
License
MIT
Quick Start
Clone the repository
git clone https://github.com/netglade/mcp-sandboxInstall dependencies
cd mcp-sandbox
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.