# Code Sandbox API MCP server

Execute Python, JavaScript, SQL code in a sandbox. x402 micropayment.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-br0ski777-code-sandbox
- Repository: https://github.com/Br0ski777/code-sandbox-x402
- Website: https://github.com/Br0ski777/code-sandbox-x402

## Install
- Endpoint: https://code-sandbox.api.klymax402.com/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://code-sandbox.api.klymax402.com/mcp

## Tools
- code_execute_sandbox - Use this when you need to execute Python, JavaScript, or SQL code in a sandboxed environment and get the output. Supports Python (subprocess), JavaScript (eval), and SQL (in-memory SQLite).

1. output: stdout captured from code execution (max 10KB)
2. language: the language that was executed
3. executionTimeMs: execution duration in milliseconds
4. exitCode: process exit code (0 = success)
5. error: error message if execution failed (null on success)

Example output: {"output":"Hello World\n42\n","language":"python","executionTimeMs":234,"exitCode":0,"error":null}

Use this FOR running calculations, data transformations, validating code snippets, or querying in-memory databases. Essential when you need computed results rather than static data.

Do NOT use for persistent file storage -- sandbox is ephemeral. Do NOT use for generating hashes -- use crypto_generate_hash. Do NOT use for PDF generation -- use document_generate_pdf. Do NOT use for web scraping -- use web_scrape_to_markdown. Endpoint: https://code-sandbox.api.klymax402.com/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.Br0ski777
- Version: 1.1.0
- Runtime: Sse
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 16, 2026
- Source: https://registry.modelcontextprotocol.io
