Sandboxd Code Run
Hosted one-shot code execution: send a snippet plus optional files, get stdout, stderr, exit...
사용해야 할까요
품질 및 안전성
A
발견 사항 (2)
- LOWexecute-code에서
- LOWexecute-command에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~597토큰 (도구 정의)
~2.8 KB일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.47%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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개