Sandboxd Code Run
Hosted one-shot code execution: send a snippet plus optional files, get stdout, stderr, exit...
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin execute-code
- LOWin execute-command
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"sandboxd-code-run": {
"url": "https://sandboxd-code-run.saastemly.com/mcp"
}
}
}Remote-Endpunkte
https://sandboxd-code-run.saastemly.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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"
]
}Community
Nachweis