mirror of
https://github.com/alibaba/higress.git
synced 2026-04-22 12:37:26 +08:00
update github & e2bdev mcp descriptions (#2107)
This commit is contained in:
40
plugins/wasm-go/mcp-servers/mcp-e2bdev/README.md
Normal file
40
plugins/wasm-go/mcp-servers/mcp-e2bdev/README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# E2BDev MCP Server
|
||||
|
||||
An implementation of the Model Context Protocol (MCP) server that integrates E2B Code Interpreter API, providing sandbox environment management capabilities, which enables execution of Python code.
|
||||
|
||||
|
||||
## Usage Guide
|
||||
|
||||
### Get API-KEY
|
||||
1. Register for an E2B account [Resigter Entry](https://e2b.dev/auth/sign-up). Each new account will receive 100 credits for free.
|
||||
2. Generate API Key in Dashboard [Manage API-KEY](https://e2b.dev/dashboard?tab=keys)
|
||||
|
||||
### Configure MCP Client
|
||||
|
||||
On the user's MCP Client interface, add E2BDev MCP Server configuration.
|
||||
|
||||
```json
|
||||
"mcpServers": {
|
||||
"e2bdev": {
|
||||
"url": "http://mcp.higress.ai/mcp-e2bdev/{generate_key}",
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Tools
|
||||
|
||||
- **create_sandbox**: Create E2B sandbox environment
|
||||
- Parameters:
|
||||
- timeout: Sandbox timeout in seconds, sandbox will be terminated after timeout
|
||||
- Returns: Sandbox ID
|
||||
|
||||
- **execute_code_sandbox**: Execute code in sandbox
|
||||
- Parameters:
|
||||
- sandbox_id: Sandbox ID, obtained from create_sandbox
|
||||
- code: Python code to execute
|
||||
- Returns: Execution result
|
||||
|
||||
- **kill_sandbox**: Terminate sandbox environment
|
||||
- Parameters:
|
||||
- sandbox_id: Sandbox ID to terminate
|
||||
- Returns: Termination result
|
||||
Reference in New Issue
Block a user