GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Secure Python sandbox — MCP servers, APIs, shells and host functions as native Python objects.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"parselbox": {
"command": "uvx",
"args": [
"parselbox"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add parselbox -- uvx parselboxวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"parselbox": {
"command": "uvx",
"args": [
"parselbox"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"parselbox": {
"type": "stdio",
"command": "uvx",
"args": [
"parselbox"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub thesanjeetc ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 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
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
ส่วนนี้คัดจาก 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.
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.
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.
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.
MCP servers, REST + OpenAPI, GraphQL, shell, functions and classes — all native Python objects. Stateful across calls. Pydantic auto-conversion. Credentials stay on the host.
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.
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.
Append .task() to any call — parallel fan-out with asyncio.gather, check progress, tail logs, drive interactive sessions with send(), await later.
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.
help(), search(), inspect(), preview() — agents discover only what they need, when they need it.
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.
Parselbox uses Deno for the secure sandbox runtime.
1. Install Deno
# macOS / Linux
curl -fsSL https://deno.land/install.sh | sh
irm https://deno.land/install.ps1 | iex
2. Install Parselbox
pip install parselbox
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:
await sbx.execute_code("sbx.search('navigate|get')")
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] """))
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) """))
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")
await sbx.run_mcp()
asyncio.run(main())
The Parselbox CLI runs a standalone MCP server — every sandbox option is available as a flag.
[!TIP]
The "loopback" trick:
1. Add the Parselbox MCP alongside your existing MCP servers.
2. Point
--mcpat 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"] } } }
uvx parselbox --mcp mcp.json --transport http --port 9000
{
"mcpServers": { "parselbox": { "type": "http", "url": "http://localhost:9000/mcp" } } }
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=...
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())
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