br0ski777 avatar

Code Sandbox API

br0ski777/code-sandbox-x402

Gives Claude a sandboxed runtime for executing Python, JavaScript, and SQL snippets on demand. The server connects to a remote API at klymax402.com and uses x402 micropayments, meaning you'll incur small charges per execution. Useful when you need to test code fragments, run quick calculations, or validate SQL queries without spinning up local environments. The GitHub repo is sparse on implementation details, but the core value is clear: outsourced code execution with pay-per-use billing. Reach for this when you want Claude to run actual code and return real output rather than just generating examples.

tool
1
transport
SSE
last updated
May 16, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

code_execute_sandboxUse 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. output3 params

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

Parameters* required
codestring
The code to execute
languagestring
Programming language: python, javascript, or sqlone of python · javascript · sql
timeoutnumber
Execution timeout in milliseconds (default: 5000, max: 10000)

Sponsors

Readme

Code Sandbox API

MCP Server x402 License: MIT

Execute Python, JavaScript, or SQL in a sandbox. Get stdout, execution time, errors. 10s timeout. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "code-sandbox": {
      "url": "https://code-sandbox.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://code-sandbox.api.klymax402.com/api/execute" \
  -H "Content-Type: application/json" \
  -d '{"code":"...","language":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/code-sandbox-x402
Website
github.com/Br0ski777/code-sandbox-x402
Category
Databases
Transport
SSE
Registry
MCP registry, active

More from br0ski777

Related Databases MCP servers

View all
1chrisbusbin-pixel avatarFreshtrackchrisbusbin-pixel/freshtrack-mcp-serverUSDA food shelf-life database, food safety, storage tips, food waste cost calculator.0stars
2crunchtools avatarMCP Feed Readercrunchtools/mcp-feed-readerRSS/Atom feed reader MCP server with SQLite backend0stars
3flywheelstudio avatarUlinkflywheelstudio/ulink-mcp-serverDeep linking for iOS, Android, Flutter & React Native. Firebase Dynamic Links alternative.0stars
4kurovu146 avatarMemory Ftskurovu146/claude-memory-mcpLong-term memory for Claude Code with SQLite FTS5 search and BM25 ranking0stars
5mwbidwell avatarBionic Formsio.github.mwbidwell/bionicforms-mcpRead, search and add records in your Bionic Forms apps (hosted database apps for small teams).0stars
6neuralnexusnote avatarN3MemoryCore Lite (Working Memory)neuralnexusnote/n3mcmcp-liteEphemeral 7-day hybrid vector+BM25 working memory, multilingual, backed by Redis Stack.0stars