Sandboxd Code Run
Hosted one-shot code execution: send a snippet plus optional files, get stdout, stderr, exit...
我該用這個嗎
品質與安全性
A
發現項目(2)
- LOW在 execute-code 中
- LOW在 execute-command 中
根據工具定義與協定合規性的自動化分析。
上下文成本
~597Token(工具定義)
~2.8 KB典型回應大小
極小的注意力影響(128k 上下文的 0.47%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"sandboxd-code-run": {
"url": "https://sandboxd-code-run.saastemly.com/mcp"
}
}
}遠端端點
https://sandboxd-code-run.saastemly.com/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪execute-code(code, language, argv, env, timeout, ...)
Runs Python, JavaScript or TypeScript code in an isolated one-shot sandbox and returns stdout, stderr, exit code and artifacts (Daytona CodeRunRequest/ExecuteResponse compatible) Price: $0.002 a call.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code to run (up to 1 MB of UTF-8)"
},
"language": {
"type": "string",
"description": "\"python\", \"javascript\" or \"typescript\"",
"enum": [
"python",
"javascript",
"typescript"
]
},
"argv": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command-line arguments for the program (sys.argv[1:] in Python, process.argv.slice(2) in Node)"
},
"env": {
"type": "object",
"description": "Environment variables; keys must match [A-Za-z_][A-Za-z0-9_]* (Daytona's rule)"
},
"timeout": {
"type": "integer",
"description": "Run timeout in seconds, 1-120 (default 60); a timed-out run answers exitCode 124"
},
"files": {
"type": "object",
"description": "Text files written into the work directory next to the program (up to 50, 1 MB each, 4 MB total); the entry point main.py/main.js/main.ts is reserved"
},
"outputs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Relative paths to read back after the run (up to 20); up to 1 MB each comes back base64 in outputFiles, larger in tooLargeOutputs, absent in missingOutputs"
}
},
"required": [
"code",
"language"
]
}⚪execute-command(command, env, cwd, timeout, files, ...)
Runs a shell command in an isolated one-shot sandbox and returns stdout, stderr and the exit code (Daytona ExecuteRequest/ExecuteResponse compatible) Price: $0.002 a call.
輸入結構描述
{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "The shell command to run (up to 64 KB)"
},
"env": {
"type": "object",
"description": "Environment variables; keys must match [A-Za-z_][A-Za-z0-9_]* (Daytona's rule)"
},
"cwd": {
"type": "string",
"description": "Working directory, relative to the run's work directory"
},
"timeout": {
"type": "integer",
"description": "Run timeout in seconds, 1-120 (default 60); a timed-out run answers exitCode 124"
},
"files": {
"type": "object",
"description": "Text files written into the work directory before the run (up to 50, 1 MB each, 4 MB total)"
},
"outputs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Relative paths to read back after the run (up to 20); up to 1 MB each comes back base64 in outputFiles, larger in tooLargeOutputs, absent in missingOutputs"
}
},
"required": [
"command"
]
}社群
證據
近期觀測
已驗證未記錄版本2 個工具