Portal
Portal

Portal は、現在のワークスペースを 公開 MCP エンドポイント として公開する VS Code 拡張機能です。意図的に小さく構成されており、コマンドとファイル転送のみです。
任意の MCP クライアント(Claude、ChatGPT、Cursor、カスタムエージェント、curl)をトンネル経由で自分のマシンに接続できます。エージェントはシェルを実行し、ファイルを移動できます。MCP ツールによるテキスト編集はできません — そのようなツールは存在しません。
提供されるもの
項目 | 役割 |
MCP Streamable HTTP |
|
ファイル HTTP API |
|
サイドバー + 設定 | Win10 風のフラットパネル: 開始/停止、URL コピー、トンネル状態 |
Portal Agent ターミナル |
|
Related MCP server: FreeRDC Community Edition
MCP ツール(ちょうど 5 つ)
ツール | 説明 |
| フォアグラウンドコマンド。既定のタイムアウトは 120 秒(最大 600 秒)。 |
| 長時間動作するプロセスを起動し、 |
| stdout/stderr をオフセット指定で段階的に取得。 |
| バックグラウンド ジョブとそのプロセスツリーを停止( |
| 公開ファイル API のベース URL、サイズ制限、curl の例を提供します。 |
シェル: powershell(Windows の既定)、pwsh、cmd、bash/sh(Git Bash があればそれ)。UTF-8 は自動設定されます。
セッション: initialize で得られた Mcp-Session-Id を再利用してください。失われた場合や拒否された場合は、もう一度初期化してください — ID をでっち上げないでください。
read_file / write_file / edit_file / list_* / search_files ツールはありません。シェルまたは HTTP ファイル API を使って読み書きしてください。
ファイル転送(双方向 HTTP)
MCP と同じトンネルとトークンを使用します。既定の最大サイズは 64 MiB(portal.maxTransferBytes)。アップロードは原子的に置換されます。ダウンロードは Range をサポートし、SHA-256 を返します。
GET {base}?op=info capability + workspace
GET {base}?glob=**/* list files
GET {base}/<relpath> download
HEAD {base}/<relpath> metadata
PUT {base}/<relpath> upload
DELETE {base}/<relpath> delete
POST {base}?op=pack zip JSON { "paths": ["src"] }
POST {base}?op=unpack&dest=. unzip (raw zip body)無料の ngrok ドメインでは、ヘッダー ngrok-skip-browser-warning: 1 が必要です。
# download
curl -fsSL -H "ngrok-skip-browser-warning: 1" \
"$BASE/README.md" -o README.md
# upload
curl -fsSL -H "ngrok-skip-browser-warning: 1" \
-T ./photo.png "$BASE/incoming/photo.png"
# pack a folder
curl -fsSL -H "ngrok-skip-browser-warning: 1" \
-H "Content-Type: application/json" \
-d '{"paths":["src"]}' "$BASE?op=pack" -o src.zipトンネルプロバイダー
プロバイダー | URL | 説明 |
| 起動ごとにランダムな | すばやく試せる。安定性はない |
| 固定ホスト名 | 保存済み Tunnel トークン、公開ホスト名、固定ローカルポートが必要 |
| 予約済みドメイン(例: | URL が永続 |
| 独自コマンド、または既存の URL | プレースホルダー: |
ルートトークンはシークレッ のパスセグメントです。MCP は /mcp/<token> にあります。portal.routeToken を空にすると、起動時に自動生成されます。
コマンド(パレット)
Portal: 開始 / 停止
Portal: URL をコピー
Portal: トンネルを確認
Portal: 設定
Portal: cloudflared をインストール / ngrok をインストール / アップグレード
Portal: ログを表示 / エージェントターミナルを表示
便利な設定: portal.startOnActivation(既定はオン)、portal.showCommandsInTerminal、portal.localPort(0 は自動。名前付き Cloudflare を除く)。
ビルド
Node 18 以上と VS Code ^1.95.0 が必要です。
npm install
npm run build # esbuild → dist/extension.js
npm run typecheck
npm run package # .vsix (no bundled node_modules)パッケージした VSIX を読み込むか、デスクトップ版 VS Code ホストで拡張機能を実行します(extensionKind: ui + workspace)。
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure tunneling, reverse proxy and remote access for local applications.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
Provision an OpenCode workbench and MCP stack on any Linux box, local or over SSH.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceExpose your VS Code workspace's tools — files, terminal, LSP, diagnostics, and images — to remote MCP clients over a public HTTPS tunnel.5MIT
- AlicenseNot gradedqualityAmaintenanceEnables a remote MCP client to access narrowly scoped local filesystem resources and process capabilities through a loopback-only bridge. Supports guarded file reads, searches, and mutations, authenticated transport, and private reachability via OpenAI Secure MCP Tunnel.1AGPL 3.0
- AlicenseAqualityAmaintenanceEnables MCP clients to securely work with local files, directories, searches, terminal sessions, and processes on paired computers via outbound connections, without exposing inbound ports.271MIT
- AlicenseNot gradedqualityAmaintenanceEnables running local MCP servers on machines behind NAT and accessing their tools from anywhere through a single Streamable HTTP endpoint, without opening any inbound ports.MIT