Code Sandbox X402
@Br0ski777
Code Sandbox X402 について
Execute Python, JavaScript, or SQL in a sandbox. Get stdout, execution time, errors. 10s timeout. -- x402 micropayment API + MCP server for AI agents
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"code-sandbox": {
"url": "https://code-sandbox-production-9b5e.up.railway.app/mcp",
"transport": "sse"
}
}
}ツール
1POST
概要
What is Code Sandbox X402?
Code Sandbox X402 executes Python, JavaScript, or SQL code in a sandboxed environment and returns stdout, execution time, errors, and exit codes. It uses a pay-per-call model via the x402 protocol (USDC on Base L2), requiring no API key, signup, or rate-limit wall. It is part of the klymax402 marketplace of micropayment APIs for AI agents.
How to use Code Sandbox X402?
Add the server to an MCP client configuration (Claude Desktop, Cursor, ElizaOS) using the URL https://code-sandbox.api.klymax402.com/mcp. Alternatively, call the HTTP endpoint directly with a POST request; any x402-aware client automatically handles the 402 payment challenge and retry cycle.
Key features of Code Sandbox X402
- Execute Python, JavaScript, or SQL in a sandbox
- Pay-per-call using USDC on Base L2 via x402
- No API key, signup, or rate-limit walls
- 10-second maximum execution timeout (configurable to 5,000 ms default)
- Returns stdout, execution time, exit code, and error messages
- Output limited to 10 KB
Use cases of Code Sandbox X402
- Running calculations or data transformations on demand
- Validating code snippets before production use
- Querying in-memory SQLite databases for computed results
- Enabling AI agents to execute code without exposing a full runtime
FAQ from Code Sandbox X402
What programming languages are supported?
Python (subprocess), JavaScript (eval), and SQL (in-memory SQLite).
What is the execution timeout?
The default timeout is 5,000 ms, with a maximum of 10,000 ms.
How does payment work?
Payment uses the x402 protocol – a HTTP-native pay-per-call system – on Base L2 (network eip155:8453) with USDC. No signup or API key is required; the first request returns a 402 challenge, and an x402‑aware client automatically signs and retries.
Is there an output size limit?
Yes, stdout is capped at 10 KB.
Where is the server hosted?
It is part of the klymax402 marketplace. The full API reference and catalog are available at klymax402.com.
「推論」の他のコンテンツ
🚀 Aider-MCP: AI Coding Server with Universal Auto-Detection
jacv888Aider-MCP-Upgraded is a production-grade multi-agent AI coding system that combines Desktop Commander (DC) investigation capabilities with Aider's implementation power. Features 70%+ token reduction, modular architecture, and intelligent workflow automation through strategic agen
MCP Sandbox
danstarnsTurn any JavaScript module into a sandboxed MCP (Model Context Protocol) server with automatic reflection and type inference.
ArduPilot MCP Server Sandbox
hfujikawa77ArduPilotドローンをAIエージェントから操作するMCPサーバーです。
Agenticstore — The Open Source Standard For Local Mcp Tooling
agenticstoreAgenticStore: The secure toolkit for AI agents. Instantly equip Claude Desktop, Cursor, and Windsurf with 27+ MCP tools, persistent memory, and SearXNG search, all protected by a built-in PII prompt firewall to protect your data from being exposed to AI agents.
Agentic Tools MCP Server
PimzinoA comprehensive Model Context Protocol (MCP) server providing AI assistants with powerful task management and agent memories capabilities with project-specific storage.
コメント