ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Parselbox

โดย thesanjeetcรุ่น 0.1.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.thesanjeetc/parselbox

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Secure Python sandbox — MCP servers, APIs, shells and host functions as native Python objects.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "parselbox": {
      "command": "uvx",
      "args": [
        "parselbox"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add parselbox -- uvx parselbox

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "parselbox": {
      "command": "uvx",
      "args": [
        "parselbox"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "parselbox": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "parselbox"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub thesanjeetc ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 5561 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 33% ของอีก 5561 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 5561 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Parselbox ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

โดย githubใช้กันมาก★ 34.2Kอัปเดต 5 วันที่ผ่านมา

บนเครื่องหรือคลาวด์

Desktop Commander

MCP server for terminal commands, file operations, and process management

โดย wonderwhy-erใช้กันมาก↓ 709.6K/สัปดาห์★ 10.2Kอัปเดต 17 วันที่ผ่านมา

รันบนเครื่อง

Cloudflare MCP

Cloudflare MCP servers

โดย cloudflareใช้กันมาก★ 4.4Kอัปเดต 14 เดือนที่ผ่านมา

รันบนคลาวด์✓ mcp.cloudflare.com

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

*Code. Filesystem. Context. Tools.*

What if agents had one tool to rule them all?

Parselbox is an embeddable Python runtime where AI agents call tools as code — MCP servers, APIs, and shells become native Python objects. Disk-backed workspace, packages, and networking built in; a single-process execution layer powered by Deno and Pyodide.

https://github.com/user-attachments/assets/d4e43d16-3aa3-4e29-83c7-a1d3885b8045

[!TIP]

Drop the Parselbox MCP alongside existing MCP server configurations. Agents instantly get a Python runtime, MCP tools as code, support for skills and a disk-backed workspace.

Why Parselbox?

Parselbox packages programmatic tool calling as a local, open-source execution layer. Drop it into an existing MCP configuration with uvx, or embed the Python API into any agent stack.

Beyond code execution, Parselbox provides a stateful, disk-backed workspace with packages, controlled networking, background tasks and progressive discovery.

Deno + Pyodide provide a single-process runtime with explicit filesystem and network permissions — no containers or microVMs required. It also enables JavaScript/npm interoperability, WASM/WASI integration and generative UI through MCP Apps.

Why an execution layer?

Most agent stacks expose each capability as a separate tool. As integrations grow, tool schemas consume more context. The model must also carry intermediate results, transform data and route values between calls.

An execution layer moves orchestration out of the context window and into code. Capabilities are discovered on demand, then composed with full control flow. A single execution can coordinate multiple tools while variables, state and files remain inside the runtime.

The result is less context bloat, fewer model-to-tool round trips and complex workflows expressed as code rather than chains of individual calls.

Features

🔒 Secure Isolation

No containers, no VMs — just a single, lightweight Deno + Pyodide process (~160 MB). Deno permissions, memory caps, timeouts, network allowlists. Snapshot caching and crash recovery.

🛠️ Tools as Code

MCP servers, REST + OpenAPI, GraphQL, shell, functions and classes — all native Python objects. Stateful across calls. Pydantic auto-conversion. Credentials stay on the host.

🐍 Polyglot Runtime

Full CPython with js() interop — use JS packages as native Python. require() for npm, local TypeScript, and .wasm modules. Virtual bash() for shell. Auto-install packages on import.

📦 WASM Tools

require() any .wasm — library exports become Python methods, WASI programs become callable commands; drop one in bin/ to run it from bash() too. In-process, inherits the sandbox's mounts and permissions, installs nothing on the host.

⚡ Background Tasks

Append .task() to any call — parallel fan-out with asyncio.gather, check progress, tail logs, drive interactive sessions with send(), await later.

📁 Filesystem Integration

Disk-backed workspace — host mounts (ro/rw), input files at /files/, outputs persisted to real directories. New and modified files are detected and returned per call.

🔍 Progressive Disclosure

help(), search(), inspect(), preview() — agents discover only what they need, when they need it.

🎨 Generative UI

display() renders HTML inline in the chat (MCP Apps), with Tailwind + daisyUI injected. Or serve a full app — built-in HTTP server with static files, live reload, file upload, and @api routes that compose across tools.


Contents

  • Quick Start
  • Parselbox API
  • Parselbox MCP
  • Parselbox Agents
  • User Guide
  • Tools as Code
  • Background Tasks
  • Filesystem Integration
  • Packages & Networking
  • JavaScript Interop
  • WASM Tools
  • Progressive Disclosure
  • Generative UI
  • Sandbox Hooks
  • Configuration Reference
  • Architecture
  • Security
  • Related Work

Quick Start

Parselbox uses Deno for the secure sandbox runtime.

1. Install Deno

# macOS / Linux

curl -fsSL https://deno.land/install.sh | sh

Windows (PowerShell)

irm https://deno.land/install.ps1 | iex

2. Install Parselbox

pip install parselbox
Parselbox API

Wire any tool into the sandbox — MCP servers, REST/GraphQL, shells, host objects — and the agent calls them as native Python, composing them with real control flow over a disk-backed workspace and both the Python and npm package ecosystems.

Example:

import asyncio

import os from textwrap import dedent from parselbox import Parselbox from parselbox.bridge import HTTPBridge, ShellBridge

class Analytics: def summarize(self, repos: list) -> dict: """Aggregate repo stats.""" stars = [r["stars"] for r in repos] return {"count": len(repos), "avg_stars": round(sum(stars) / len(stars))}

config = {"mcpServers": {"playwright": {"command": "npx", "args": ["@playwright/mcp@latest"]}}}

async def main(): async with Parselbox( mcp=config, context={ "analytics": Analytics(), "github": HTTPBridge(base_url="https://api.github.com", token=os.environ["GITHUB_TOKEN"]), "sh": ShellBridge("bash"), }, network=True, allow_runtime_packages=True, packages=["numpy", "npm:lodash"], output_dir="./workspace", ) as sbx:

Discover available tools

await sbx.execute_code("sbx.search('navigate|get')")

Scrape Hacker News for GitHub links in a real browser

await sbx.execute_code(dedent(""" import re playwright.browser_navigate(url="https://news.ycombinator.com") text = playwright.browser_snapshot() repos = re.findall(r'github\\.com/([\\w.-]+/[\\w.-]+)', text)[:5] """))

Fetch star counts in parallel, then summarize via the context bridge

await sbx.execute_code(dedent(""" import asyncio results = await asyncio.gather(*[github.get.task(f"/repos/{r}") for r in repos]) repo_data = {"name": r["data", "stars": r"data"} for r in results if r.get("ok")] analytics.summarize(repo_data) """))

Chart it — matplotlib auto-installs on import

result = await sbx.execute_code(dedent(""" import matplotlib.pyplot as plt plt.barh([r["name"] for r in repo_data], [r["stars"] for r in repo_data]) plt.savefig("chart.png") """)) print(result.files) # ['chart.png'] image = sbx.read_file("chart.png")

every result carries .output, .files, .stdout, .stderr, .error

Serve the whole sandbox as an MCP server

await sbx.run_mcp()

asyncio.run(main())

Parselbox MCP

The Parselbox CLI runs a standalone MCP server — every sandbox option is available as a flag.

STDIO

[!TIP]

The "loopback" trick:

1. Add the Parselbox MCP alongside your existing MCP servers.

2. Point --mcp at that same config file.

3. On startup, Parselbox connects to the other servers, exposes their tools inside the sandbox, and starts its own MCP server.

Don't worry — Parselbox detects and avoids connecting to itself. No infinite loops of doom.

Example:

{

"mcpServers": { "github": {}, "linear": {}, "parselbox": { "command": "uvx", "args": ["parselbox", "--mcp", "/absolute/path/to/mcp.json"] } } }

HTTP
uvx parselbox --mcp mcp.json --transport http --port 9000
{

"mcpServers": { "parselbox": { "type": "http", "url": "http://localhost:9000/mcp" } } }

Full Example
uvx parselbox \

--mcp ./mcp.json \ --transport http \ --host 0.0.0.0 \ --port 8080 \ --file hello.txt \ --mount ./datasets:/data:rw \ --output-dir ./outputs \ --packages pandas,matplotlib \ --package-dir ./cache \ --allow-runtime-packages \ --network \ --serve 3000 \ --memory 2048 \ --timeout 60 \ --env MY_API_KEY=...


Parselbox Agents
import asyncio

from parselbox import Parselbox from agents import Agent, Runner, function_tool

sandbox = Parselbox( mcp={"mcpServers": {"playwright": {"command": "npx", "args": ["@playwright/mcp@latest"]}}}, output_dir="./outputs", allow_runtime_packages=True, )

agent = Agent( name="Research Assistant", model="gpt-5.5", instructions=f"You are a world-class research assistant.\n\n{sandbox.get_prompt()}", tools=[function_tool(sandbox.get_tool())], )

async def main(): async with sandbox: result = await Runner.run( agent, "Scrape Wikipedia's 'List of highest-grossing films' with the Playwright MCP. " "Plot a bar chart of the top 10 and save it as ./plot.png", max_turns=30, ) print(result.final_output)

asyncio.run(main())

User Guide

1\. Tools as Code

The context bridge exposes host Python objects inside the sandbox:

  • context — functions and namespaces as callable tools. Execution pauses, runs on host, returns result.
  • globals — static values (strings, numbers, dicts) copied into the sandbox.
  • mcp — MCP server config (dict or path). Appears as callable namespaces inside sandbox.

Plain classes are auto-wrapped — every public method becomes a callable tool; methods starting with _ stay private:

from parselbox import Parselbox

class Calculator: def add(self, a: float, b: float) -> float: """Add two numbers.""" return a + b

async with Parselbox(context={"calc": Calculator()}) as sbx: await sbx.execute_code("calc.add(a=10, b=20)")

Subclass `Bridge` for nested namespaces (auto-crawled); annotate a parameter with a Pydantic model and passed dicts convert to it automatically:

from parselbox import Parselbox

from parselbox.bridge import Bridge from pydantic import BaseModel

class Coordinate(BaseModel): x: float y: float z: float = 0.0

class Sensors(Bridge): def temperature(self) -> float: """Read temperature in celsius.""" return 23.5

class Robot(Bridge): def init(self): self.sensors = Sensors()

def move(self, to: Coordinate) -> dict: """Move robot to a position.""" return {"position": [to.x, to.y, to.z], "status": "reached"}

async with Parselbox(context={"robot": Robot()}) as sbx: await sbx.execute_code("robot.move(to={'x': 1, 'y': 2})") await sbx

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx