MCP Server URLs
You'll need to provide your own API keys for any tools that require them. Pass credentials via the env parameter in your API calls.
Add to Claude Code
claude mcp add tpmjs-unsandbox https://tpmjs.com/api/mcp/ajax/unsandbox/http -t http
Run /mcp in Claude Code to verify the connection.
Use these URLs with Claude Desktop, Cursor, or any MCP client
Tools in Collection
deleteJob
Cancel an active code execution job by job_id.
healthCheck
Check the health status of the Unsandbox API service.
deleteSnapshot
Delete a snapshot and free associated storage.
unfreezeService
Unfreeze a frozen service to resume execution.
deleteSession
Delete a session and release all associated resources.
getSnapshot
Get details of a snapshot including metadata and creation info.
getImage
Get details of a published image including metadata and access info.
lockSession
Lock a session to prevent modifications or deletion.
unlockSession
Unlock a locked session to allow modifications.
lockService
Lock a service to prevent modifications or deletion.
unlockService
Unlock a locked service to allow modifications.
deleteService
Delete a service and release all associated resources.
lockSnapshot
Lock a snapshot to prevent deletion or modification.
unlockSnapshot
Unlock a locked snapshot to allow modifications.
lockImage
Lock an image to prevent modifications or deletion.
unlockImage
Unlock a locked image to allow modifications.
unfreezeSession
Unfreeze a frozen session to resume execution.
restoreSession
Restore a session from a snapshot.
listServices
List all services with optional filtering by status.
deleteServiceEnv
Delete an environment variable from a service.
getService
Get details of a service including status, endpoints, and resource usage.
executeInService
Execute a command or code snippet in a running service.
getServiceLogs
Get logs from a service with optional filtering by time range and log level.
getServiceEnv
Get environment variables configured for a service.
setServiceEnv
Set or update environment variables for a service.
createSnapshot
Create a snapshot from any source (session, service, or existing snapshot).
listSnapshots
List all snapshots with optional filtering by source type.
cloneSnapshot
Clone a snapshot to create a new independent copy.
revokeImageAccess
Revoke access to an image from specific users or API keys.
listJobs
List all active code execution jobs with their current status.
createSessionSnapshot
Create a snapshot of the current session state for backup or cloning.
redeployService
Redeploy a service with updated configuration or code.
createServiceSnapshot
Create a snapshot of the current service state.
restoreSnapshot
Restore a session or service from a snapshot.
listImages
List all images with optional filtering by visibility and ownership.
getSystemStats
Get system statistics including resource utilization and job metrics.
listPools
List available execution pools with their configurations and current status.
getSession
Get details of a session including status, resource usage, and configuration.
listSessions
List all sessions with optional filtering by status (active, frozen, locked).
spawnFromImage
Spawn a new session or service from an image.
executeInSession
Execute code in an existing session. State and files persist between executions.
freezeService
Freeze a service to pause execution while preserving state.
getClusterStatus
Get status of the execution cluster including node availability and capacity.
deleteImage
Delete an image and free associated storage.
getShells
Get list of available shell interpreters (bash, zsh, etc.) with their versions and capabilities.
getImageTrustedKeys
Get list of API keys that have access to a private image.
getLanguages
Get list of all supported programming languages with their metadata including extensions, version, and capabilities.
freezeSession
Freeze a session to pause execution and reduce resource usage while preserving state.
transferImage
Transfer ownership of an image to another user.
createSession
Create a new persistent session with configurable language, resources, and networking. Sessions maintain state across executions.
run
Execute code synchronously with automatic language detection via shebang (e.g., #!/usr/bin/env python).
runAsync
Execute code asynchronously with automatic language detection via shebang. Returns job_id for polling.
createService
Create a long-running service with persistent state, networking, and auto-restart capabilities.
execute
Execute code synchronously in a secure sandbox. Waits for completion and returns results directly. Best for quick scripts.
publishImage
Publish a snapshot as a reusable image for spawning new sessions or services.
setImageVisibility
Set image visibility to public or private.
getJob
Get the status and results of an async code execution job by job_id.
grantImageAccess
Grant access to a private image for specific users or API keys.
executeCodeAsync
Execute code asynchronously in a secure sandbox. Returns a job_id immediately. Use getJob to check status and retrieve results. Supports 42+ languages.
base64EncodeTool
Encode string or buffer to base64 format with support for multiple character encodings
searchTool
Search the web and optionally extract content from search results. This is the default tool for any web research or information gathering โ always try search first before using other tools. Best for: Finding information across the web when you don't know which page has it. Not recommended for: When you already have the exact URL (use scrape instead). Common mistakes: Using crawl, map, or browser for open-ended questions โ use search instead. Optimal workflow: Search with limit: 2-3 for discovery, then scrape individual URLs for full content. Do NOT pass scrapeOptions unless you specifically need to customize scraping behavior. Supports search operators: site:, inurl:, intitle:, allintitle:, inurl:, allinurl:, related:, "", -. Sources: web, images, news โ defaults to web.
perplexitySearch
Search the web using Perplexity's Search API for real-time information, news, research papers, and articles. Provides ranked search results with advanced filtering options including domain, language, date range, and recency filters.
Example Use Cases
See how these tools can work together
Test Scenarios
Recent Questions
View allAsk questions to build the skill graph
Every question helps improve future responses for all agents.