Portal is a lightweight VS Code extension designed to bridge your local development environment with external AI agents and MCP clients. It transforms your current workspace into a secure, public MCP endpoint, enabling agents like Claude, ChatGPT, or custom scripts to run shell commands, transfer files bi-directionally, and manage long-running processes over a tunneled connection. This extension prioritizes simplicity, focusing solely on core command execution and file transfer capabilities to facilitate seamless, programmatic interaction with your machine.
主要功能
01Provides a secure HTTP API for bidirectional file transfer with support for range requests, packing, and unpacking
02Integrates with popular tunnel providers (Cloudflare, ngrok, custom) for secure external access
03Offers five specific MCP tools: `run_command`, `start_command`, `read_command`, `stop_command`, and `file_transfer_info`
04Includes a VS Code sidebar for control, settings, and a Portal Agent terminal for live I/O mirroring
054 GitHub stars
06Exposes VS Code workspace as a public MCP endpoint with streamable HTTP
使用案例
01Connect AI agents (e.g., Claude, ChatGPT, Cursor) to a local VS Code workspace for development tasks
02Enable AI agents to read, write, upload, and download files from the workspace using a dedicated HTTP API
03Automate execution of shell commands and scripts within a local environment via external clients