mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-15 23:32:46 +00:00
Mirror of https://github.com/fabro-sh/fabro.git
Adds McpTransport::Sandbox variant that starts an MCP server inside the sandbox, waits for it to listen, gets a Daytona preview URL, and rewrites to HTTP transport for the MCP client connection. Key changes: - Sandbox trait: add get_preview_url(port) for authenticated port access - DaytonaSandbox: implement get_preview_url via Daytona SDK preview links - McpTransport::Sandbox: new variant with command, port, env fields - Session: resolve_sandbox_mcp_servers() starts servers and rewrites to HTTP - Integration test: end-to-end Playwright MCP in Daytona - navigates to example.com and verifies "Example Domain" in accessibility snapshot Config example: [mcp_servers.playwright] type = "sandbox" command = ["npx", "@playwright/mcp@latest", "--port", "3100", "--headless"] port = 3100 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .cargo | ||
| .claude | ||
| .config | ||
| .github | ||
| apps | ||
| arc/workflows | ||
| bin | ||
| docker | ||
| docs | ||
| lib | ||
| test | ||
| .env.example | ||
| .gitignore | ||
| AGENTS.md | ||
| arc.toml | ||
| bun.lock | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| package.json | ||