Skip to main content
Glama
tobiasGuta

Code Sandbox MCP

by tobiasGuta

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODE_SANDBOX_AUDIT_LOGNoPath to audit log file. Default is platform-specific (e.g., %LOCALAPPDATA%\code-sandbox-mcp\audit.jsonl on Windows).
CODE_SANDBOX_MAX_TIMEOUTNoMaximum command timeout in seconds (default 120).
CODE_SANDBOX_IDLE_TIMEOUTNoIdle timeout in seconds (default 180).
CODE_SANDBOX_MAX_LIFETIMENoMaximum lifetime of a sandbox session in seconds (default 600).
CODE_SANDBOX_MAX_SESSIONSNoMaximum number of concurrent sessions (default 3).
CODE_SANDBOX_AUDIT_ENABLEDNoSet to 'false' to disable audit logging (default 'true').
CODE_SANDBOX_DEFAULT_TIMEOUTNoDefault command timeout in seconds (default 30).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_sandboxA

Create a disposable offline JavaScript sandbox using the fixed server profile.

write_filesC

Write UTF-8 text files beneath /workspace using an in-memory archive.

list_filesB

List regular files and directories beneath /workspace without following links.

read_fileB

Read a bounded UTF-8 text file beneath /workspace.

delete_filesA

Delete selected regular files; deleting /workspace or directories is forbidden.

run_javascriptC

Run an existing JavaScript file with fixed Node arguments and no shell.

destroy_sandboxB

Force-remove a sandbox. Repeated calls are safe and idempotent.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tobiasGuta/Code-Sandbox-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server