Hosted MCP server for sandboxed code execution

Hosted MCP server for sandboxed code execution

code-sandbox-x402•bybr0ski777

A remote MCP server that executes Python, JavaScript, or SQL code in a sandbox and returns stdout, execution time, errors, and exit codes, paid per call via x402.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a code_execute_sandbox tool that runs Python, JavaScript, or SQL code in a sandboxed environment.
  • •Accepts a code string, a language, and an optional timeout with a maximum of 10000 milliseconds.
  • •Returns captured stdout, the executed language, execution duration, exit code, and any error message.
  • •Charges per call in USDC on Base via the x402 protocol with no API key or signup.

BEST FOR

  • •Running calculations and data transformations that need computed results.
  • •Validating code snippets in Python, JavaScript, or SQL.
  • •Querying in-memory databases via SQL execution.

ABOUT CODE-SANDBOX-X402

Hosted MCP server for sandboxed code execution is cataloged as an MCP server attributed to br0ski777. A remote MCP server that executes Python, JavaScript, or SQL code in a sandbox and returns stdout, execution time, errors, and exit codes, paid per call via x402. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Hosted MCP server for sandboxed code execution are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which programming languages can the sandbox execute?

It supports Python, JavaScript, and SQL.

How long can code run in the sandbox?

Execution timeouts default to 5000 milliseconds and can be set up to a maximum of 10000 milliseconds.

Do I need an API key or signup to use it?

No, payments are handled per call via x402, so no API key or signup is required.

Upstream README

View this exact version on GitHub

README.md · 64494159dc38 · Fetched 2026-11-13 13:56:10 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
code_execute_sandboxPOST/api/execute$0.02Execute code in a sandboxed environment

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).

Parameters

NameTypeRequiredDescription
codestringyesThe code to execute
languagestringyesProgramming language: python, javascript, or sql
timeoutnumbernoExecution timeout in milliseconds (default: 5000, max: 10000)

Returns

  • output -- stdout captured from code execution (max 10KB)
  • language -- the language that was executed
  • executionTimeMs -- execution duration in milliseconds
  • exitCode -- process exit code (0 = success)
  • error -- error message if execution failed (null on success)

Example response:

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

When to use: running calculations, data transformations, validating code snippets, or querying in-memory databases. Essential when you need computed results rather than static data.

Example agent prompts

  • "Execute Python, JavaScript, or SQL code in a sandboxed environment and get the output"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Hosted MCP server for sandboxed code execution from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/code-sandbox-x402)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools