Skip to content
Conduit

mcp server

folderbridge-mcp

A safer local-first MCP workspace bridge with a one-click desktop launcher.

MoonTzai/folderbridge-mcpcommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "folderbridge-mcp": {
      "command": "uvx",
      "args": [
        "folderbridge-mcp"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

README

synced Oct 26, 2026

FolderBridge MCP

简体中文 | English

License: Apache-2.0 Source Python 3.11+ Transport: stdio

[!TIP] FolderBridge itself is a single-file Windows app: download FolderBridge-Windows-x64.exe directly and double-click it. No Python or Node.js installation is required. The binary is under GitHub Releases → latest release → Assets; it does not appear in the repository's source-file list. For ChatGPT on the web, FolderBridge still uses OpenAI's separately distributed official tunnel-client.exe; the launcher guides you through selecting it. The full release page clearly separates the main Windows program from optional Plugin ZIPs and includes a short description for each asset; SHA sidecars are verified during build/CI but are not published as Release assets.

A safer, local-first bridge between AI clients and a small set of folders you explicitly choose.

FolderBridge MCP is a zero-dependency Python MCP server plus a desktop launcher. It lets ChatGPT on the web—or any client that supports local stdio MCP—inspect and carefully edit a bounded local workspace. It deliberately avoids a public HTTP server, arbitrary shell access, telemetry, and silent background services. The Windows launcher can switch the complete user-facing interface between Chinese and English with the persistent 中文 / EN button immediately to the left of the connection guide; changing language does not reconfigure or reconnect the Tunnel.

[!IMPORTANT] This project is in an early public beta. It reduces the attack surface; it is not an operating-system sandbox. Only expose folders and repositories you trust.

Extend FolderBridge without rebuilding it

FolderBridge is designed to keep a stable MCP tool catalog while still allowing local capabilities to grow freely. You can add or update an external Extension, rescan it, approve its exact hash and declared permissions, and use its actions through the stable extension gateway without rebuilding FolderBridge.exe or registering a new MCP tool name. External Extensions are hot-scanned and executed out of process; changing their hash-covered files makes the previous approval stale instead of silently changing executable behavior.

Skill Packs provide a second extension axis for methods, domain knowledge, review rubrics, and production workflows rather than executable integrations. They are discovered and routed through the bundled read-only skill-engine; external packs are exact-hash approved, their text is loaded on demand, and adding a Pack does not expand the MCP schema. This makes it possible to customize both what FolderBridge can do and how an AI agent should approach the work.

Current public external plugins

PluginVersionWhat it adds
Blender Toolkit (blender-toolkit)0.1.2Bounded Blender 5.x scene, object, node, animation, render, import/export, and GUI-control bridge.
ChatGPT Web LLM Adapter (chatgpt-web-llm-adapter)0.3.2Test-only fresh-chat local LLM bridge with Launcher-owned lifecycle, strict JSON-object mode, per-run credentials, bounded concurrency, plus history-safe fresh-chat cadence/window throttling and cooldown.
Local ComfyUI (comfyui)1.6.0Local ComfyUI workflow Jobs, health/progress, model/node discovery, targeted cancellation, memory release, and production preflight profiles.
Download Toolkit (download-toolkit)0.1.0Public HTTPS downloads and safe GitHub source snapshots with streamed size/hash verification and SSRF/redirect defenses.
FFmpeg Toolkit (ffmpeg-toolkit)0.1.2Workspace-confined FFmpeg/FFprobe probing, capability discovery, and long-running media jobs.
FTP Toolkit (ftp-toolkit)0.2.1Workspace-confined FTP/FTPS profiles, listing/stat, upload/download, recursive upload, rename, mkdir, and exact-file delete.
Godot AI Local Bridge (godot-ai)0.1.0Bounded local Godot editor, scene, run, log, screenshot, and runtime-input actions.
Git Publisher (git-publisher)1.6.0Optional hot-updatable GitHub creation, exact-file commit/push and Release publishing with browser-backed Git Credential Manager.
Local GPT-SoVITS (gpt-sovits-local)0.2.2Full local v2Pro toolkit for reference/audio prep, ASR, dataset preparation, training, batch inference, and WebUI/API lifecycle.
PDF Toolkit (pdf-toolkit)0.6.0Bounded PDF inspection, text search, outline reading, and parser-independent page rendering.
Storyboard ChatGPT Web (storyboard-chatgpt-web)0.2.0ChatGPT Web native storyboard image generation/editing with GENERATE_ONLY or an independent native Visual Judge, exact image/provenance recovery, and PASS-only canonical acceptance.
Windows Capture Toolkit (windows-capture-toolkit)0.1.3Bounded one-shot Windows screenshots plus exact-window left-click automation, without keyboard/macro or DRM-bypass surfaces.

The public source and installation layout is under Plugins/extensions/. Extensions are ordinary local plugin directories with a manifest and declared entrypoint, so users can build their own integrations against the documented Extension ABI instead of waiting for FolderBridge Core to add every tool.

Current public external Skill Packs

Skill PackVersionWhat it adds
FolderBridge Project Discipline (folderbridge-discipline)1.0.0Four reusable methods for local-project execution discipline, large-file workflows, source-of-truth control, and runtime verification.
Video Storyboard Production (video-storyboard-production)1.0.0Six narration-first AI-video methods covering continuity, storyboard design, shot specification, MiniMax H3/ComfyUI planning, orchestration, and generated-video review.

Public Pack source lives under Plugins/skill-packs/. A custom Pack can add project-specific methodology without receiving executable permissions, while an Extension is the right mechanism when the integration needs bounded local actions or external-process/API access.

0.8.40 highlights

  • Lifecycle truth is now self-describing: server_info reports tool_surface plus continuity.runtime_state, catalog_revision, diagnostics_available, and the SHA-256 of the actual MCP tool catalog. Execution binding mismatches raise TOOL_SURFACE_BINDING_FAILURE instead of relying on capability declarations alone.
  • Windows packaging now proves the real EXE surface: the bundle verifier launches the newly built executable and checks initialize → tools/list → server_info, including exact tool-name/count/hash agreement and run_capability / run_task exposure before packaging can pass.
  • Version identity is advanced to 0.8.40: this prevents an older 0.8.39 runtime from being mistaken for the lifecycle-resilience candidate merely because both report the same semantic version.

0.8.39 highlights

  • server_info no longer goes blind when one workspace breaks: a workspace removed or made unavailable after startup is isolated to that workspace instead of crashing the whole server summary. Healthy workspaces continue to report normally.
  • Actionable diagnostics instead of a bare FileNotFoundError: each workspace now exposes available and bounded diagnostics; top-level healthy / issues identify the failing scope, stage, code, exception type, and affected path. Missing roots report WORKSPACE_ROOT_MISSING directly.
  • Failure evidence is preserved: server_info issues are recorded as warning events in the Flight Recorder without storing full local paths, while startup-time workspace validation names missing/inaccessible paths directly. Regression coverage locks the runtime-removal, global-summary-failure, and pre-start missing-root cases.

0.8.38 highlights

  • Public plugin source/Release alignment: the public external Extension catalog is now 11 plugins. storyboard-chatgpt-web 0.2.0 and windows-capture-toolkit 0.1.3 join the repository/Release surface alongside the already-public ChatGPT Web LLM Adapter; curated Releases contain one Windows executable plus 11 Plugin ZIPs, while SHA sidecars remain CI-only and the private Debate Judge adapter remains excluded.
  • No stale LLM Bridge credentials after Restart: the Launcher now removes the previous Standalone status.html before starting a new owned generation, then refuses to open any status page whose embedded temporary API key does not match the current live connection record. This closes a live-observed race where the sidebar could already show the new one-run key while an older browser tab still displayed the previous key.
  • Fresh status-page navigation: status-page opening now uses a cache-busted file:// URL in a new browser tab, preventing normal browser page reuse from preserving an old in-memory document after the Standalone has generated a new key. The host correction itself did not require plugin reapproval.
  • Adapter 0.3.2 history-safe throttling: fresh ChatGPT page creation is now separately paced (20-second minimum start interval, at most 8 starts per rolling 5 minutes), known conversation-history rate-limit warnings trigger 2/4/8/10-minute exponential cooldown, and login/verification reuses an existing ChatGPT page when possible. Temporary Chat is not silently claimed or enforced until the web control can be verified reliably.
  • Adapter 0.3.1 strict-JSON wrapper hardening: browser extraction now removes assistant-message UI controls before reading response text, and harmless json / Copy code display labels may be joined on one line without causing a false 502. Semantic prose, arrays, multiple objects and malformed JSON remain rejected.

0.8.37 highlights

  • One-click ChatGPT Web LLM Bridge control: the Extensions & Skills sidebar can now manage the external chatgpt-web-llm-adapter as a Launcher-owned service with explicit OFFLINE / STARTING / WAITING_LOGIN / READY / ERROR state, Start/Restart/Stop, separate status/login-page controls, a real one-click JSON completion validation (LIVE_PROBE_PASS), Base URL / model / one-run API-key copy fields, active/max request visibility, and a bounded 1–4 concurrency slider (default 2). Normal use no longer needs the Standalone start/status/validation/stop CMD files.
  • Ownership stays safe: FolderBridge only stops the Standalone process tree it created and still holds by process handle. Busy 8769/8770 ports from unknown/external processes fail closed; the Launcher never discovers a PID by port and never kills an unfamiliar process to make the service start.
  • Adapter 0.3.0 version truth: the installed Extension version/hash, live Adapter version, and status page version are separate visible axes. /health and the one-run connection record carry the live adapter version; a mismatched old process is shown as ERROR, never as READY. The temporary bearer stays on the local human control plane and is no longer returned by Extension status/connection actions.
  • Formal public package: chatgpt-web-llm-adapter is now the ninth public external Extension. Its Release ZIP is built from an explicit seven-file allowlist, verified member-for-member after compression, and intentionally excludes local HANDOFF/CLOSURE material.
  • No-CMD external plugin updates: Extensions & Skills now has Install/update plugin ZIP…. The installer stages and validates an external Extension ZIP, rejects traversal/links/encryption/case collisions/oversized expansion and bundled-ID shadowing, safely stops only a Launcher-owned managed service before replacement, and never carries approval across a changed exact hash.

0.8.36 highlights

  • Truthful green health state: the launcher no longer stays yellow after a genuinely successful ChatGPT/Tunnel call. Each Tunnel generation injects a fresh nonce into its private stdio MCP child, and only a successful tools/call carrying that exact generation nonce can promote the status to End-to-end healthy. Process-alive and local child probes still cannot create a false green state, and stale evidence from another generation is rejected.
  • Interactive update links: update-check results now show the Latest Release URL in a selectable field with Ctrl+C support, double-click/Enter open behavior, plus explicit Open release page and Copy link buttons.

0.8.35 highlights

  • Curated GitHub Releases: the latest Release now exposes one clearly named main program (FolderBridge-Windows-x64.exe) plus eight optional public Plugin ZIPs using the FolderBridge-Plugin-…-v….zip convention. GitHub display labels identify each asset as the main program or a plugin and add a one-line purpose description. SHA-256 sidecars remain an internal build/CI integrity check and are no longer published as Release assets.
  • Release hygiene: the release workflow removes historical .sha256 assets and retired file-ops-toolkit assets. The public plugin allowlist remains eight extensions, and the retired File Ops implementation stays out of the public tree and Release surface.
  • Extensibility showcase: the README now treats hot-loadable external Extensions and exact-hash Skill Packs as first-class capabilities, with the current public plugin/Skill catalog and their roles documented up front.
  • Core File Ops live acceptance: one real Test file was copied and moved both within folderbridge-mcp and across folderbridge-mcp → Tools; every destination preserved the exact SHA-256, same-workspace move used atomic-move, and cross-workspace move used verified-copy-delete.

0.8.34 highlights

  • Core cross-workspace file operations: file_ops is now a built-in FolderBridge tool for bounded regular-file copy/move within one selected workspace or between two explicitly selected workspaces. Both endpoints stay workspace-confined; no-clobber is the default; overwrite is SHA-guarded; cross-workspace move uses verified copy → destination hash/size verification → source stability recheck → source removal. The former external File Ops Toolkit is no longer published for new installs, while existing local installations remain untouched for staged disable → Core acceptance → final removal.
  • Update checking: the Windows launcher checks GitHub Releases asynchronously after startup and also exposes a manual Check for updates button. Only a newer semantic version triggers an update prompt, which shows and can open https://github.com/MoonTzai/folderbridge-mcp/releases/latest; network failures never block local startup or MCP operation.

0.8.26 highlights

  • Much larger bounded MCP framing: production stdio and the private Phase-0 ingress now share a 32 MiB request ceiling, transactional writes use 4 MiB chunks, exact edits remain 128 MiB, and whole-file transactional writes/literal search retain their larger independent limits.
  • Oversized requests fail in isolation: request-correlated oversize handling and bounded drain/reframe logic prevent one over-ceiling request from turning into the previous shared-stdio global-runtime drop pattern.
  • Runtime API Key paste cleanup: leading/trailing spaces, tabs and CR/LF are removed immediately from the in-memory launcher field and normalized again before connect/apply/diagnose; inherited CONTROL_PLANE_API_KEY values follow the same rule and credentials are still never persisted.
  • External Blender Toolkit 0.1.1: the repository now ships the exact-hash-approved Blender bridge source/installer, including Blender 5.x compositor migration compatibility and live node/data/render/animation operations used by deterministic video-control workflows.
  • Video Storyboard Production Skill Pack 1.0.0: optional local methodology skills cover narration-to-storyboard planning, continuity inventory, shot specification, MiniMax H3 workflow design, and generated-video review.

0.7.0 highlights

  • Local Skill Engine without MCP schema churn: trusted methodology Skills are discovered, matched, and loaded on demand through the bundled read-only skill-engine Extension behind the existing stable extension gateway. Adding Skill Packs does not add MCP tool names.
  • Model-routed, not falsely forced: MCP initialization includes a bounded routing index for architecture, debugging, TDD, review, and implementation work. The model can call match and then get relevant methods; server_info reports this honestly as model-routed rather than guaranteed invocation.
  • Exact-hash Skill trust: external Skill Packs remain invisible to the model until the exact displayed hash is approved. Any later file change makes approval stale, and get re-hashes the exact bytes it returns so a changed Skill fails closed between selection and use.
  • Bundled engineering methods: folderbridge-engineering provides six focused methods for codebase design, architecture improvement, bug diagnosis, test-driven development, code review, and implementation. This FolderBridge-specific condensed/adapted Pack is derived from selected Skills in Matt Pocock's open-source mattpocock/skills project under the MIT License; it is not the official Matt Pocock plugin. Skills are methodology text only and are never executed as local code.
  • Extensions & Skills launcher: the existing right sidebar now manages Extensions and Skill Packs separately, including user Skill directory access, enable/disable state, exact-hash approval, revoke, provenance/details, and a clear warning that Skill text can influence model behavior without receiving executable permissions.
  • Packaged Skill verification: skills --json emits stable UTF-8 diagnostics on Windows; extensions --self-test exercises both the ComfyUI and Skill Engine workers; the Windows build embeds skill_packs and verifies both bundled Skill discovery and worker execution before writing the EXE checksum.
  • PPTX XML usage visibility: pptx_inspect now reports actual aggregate XML/relationship uncompressed bytes, configured limit, and usage ratio, while keeping the existing 256 MiB pre-parse guard.
  • Shared user-state root: launcher, MCP host, and cleaned Extension workers now resolve one canonical FolderBridge user configuration root, avoiding split Extension/Skill state under different environment views.
  • Verified Extension execution snapshots: exact-hash approval now stays bound to the bytes that actually execute. Each worker copies the hash-covered Extension tree to a private temporary snapshot, verifies that snapshot against the host-pinned SHA-256, and imports/runs only from the verified copy, including relative plugin file access.
  • Concurrency and protocol hardening: Extension trust-store mutations are process-locally serialized, strict JSON rejects non-standard NaN/Infinity values, overlapping secrets are redacted longest-first, and JSON-schema booleans no longer compare equal to numeric enum values.
  • Bounded first-party subprocess ownership: core Git inspection plus external Git Publisher and Office external-process calls now share owned-process timeout cleanup; partial/truncated Git safety inspection fails closed.
  • Additional resource/lifecycle guards: managed ComfyUI startup keeps a stable process handle across shutdown races, and core PPTX inspection rejects aggregate XML/relationship expansion above 256 MiB before parsing.
  • Cross-monitor DPI font resizing: on Windows Per-Monitor V2 displays, FolderBridge now explicitly recalculates named-font pixel sizes whenever the launcher moves between monitors with different scaling. Existing ttk labels/buttons/entries/Treeview text, the runtime log, the primary start/stop button, and setup-guide text all resize with the new monitor instead of relying on Tk's undefined runtime tk scaling behavior for existing widgets.
  • Long-running Extension jobs: actions may use run_mode=job, return immediately with a FolderBridge-owned job_id, and be inspected or cancelled through the same stable extension gateway. Timeouts may be configured from 1 second through 24 hours; 0 means no automatic timeout termination. Job ownership is bounded to 16 concurrently active jobs (including termination_pending) and 128 retained finished records per FolderBridge process; foreground Extension workers have a separate 16-worker lifecycle budget.
  • Explicit secret/environment boundary: extensions still start from a cleaned environment. Only variables named by exact environment.inherit:NAME permissions are copied; FolderBridge's CONTROL_PLANE_API_KEY and internal/control-plane names are permanently reserved. Values inherited through key/token/secret/password/auth-like names are recursively redacted from surfaced results/logs/errors. This makes API-backed integrations possible without exposing the Tunnel control key.
  • External HTTPS declaration: API-backed plugins can declare network.outbound:https so the user sees the network requirement during exact-hash approval. Permission declarations remain authorization contracts rather than a kernel sandbox.
  • Host-validated artifacts: plugins can return workspace_artifacts; FolderBridge revalidates each workspace-relative path and attaches size/SHA-256 metadata before exposing the result.
  • One deep process-ownership module: Extension workers/jobs, Tunnel commands, managed ComfyUI, approved tasks, and bounded Git inspection share one Windows/POSIX process-group implementation. Timeout, cancel, and shutdown terminate the complete FolderBridge-owned process tree, including child runtimes such as Node.js.
  • Content-sized, collapsible launcher: after Tk layout, the launcher grows to the actual requested page height/width up to 94% of the screen. Local Workspace/Permissions, Tunnel settings, and Runtime Log can each collapse independently, with a global Expand all / Collapse all control. The page scrollbar is hidden when everything fits and appears only as a fallback when visible content is taller than the available viewport; DPI changes, section toggles, and the Extension sidebar trigger a recalculation.
  • Live managed-service status: while the Extensions sidebar is open, managed ComfyUI status is refreshed every 2 seconds. Online states are green, offline/unconfigured states red, and detection/startup states neutral. Stable probes update the existing status label instead of rebuilding the whole sidebar.
  • API config files stay hidden: .api-config.json / api-config.json are treated as credential-like workspace files and are not exposed through normal MCP file tools.
  • Browser-authorized GitHub publishing: the optional external git-publisher extension can open GitHub authorization through Git Credential Manager, keep OAuth credentials in Windows Credential Manager, commit only an explicit file allowlist, push only the current branch to the existing GitHub HTTPS origin, and publish explicit workspace files as GitHub Release assets with bounded tag/title/filename inputs. Long generic Release uploads run as host-owned Jobs. No token/PAT/password field is exposed to the model.
  • Git publication remains constrained: Publisher rejects pre-existing staged changes, credential/key-like files, content-transforming Git attributes and unsafe repository-local Git settings; it never runs git add ., never accepts an arbitrary remote/ref, disables hooks/signing for its bounded commit, and never force-pushes.
  • Native Microsoft Office visual pipeline: the bundled office extension can render .pptx, .docx, and .xlsx with locally installed Microsoft Office. PowerPoint exports slides directly to PNG; Word/Excel use their native fixed-format layout engines and the Windows PDF renderer to produce page PNGs.
  • Word structure reading without launching Word: inspect_docx exposes paragraphs, styles/numbering, tables, sections/page setup, headers/footers, media, hyperlinks, footnotes/endnotes and comments from OOXML.
  • Excel structure/formula reading without launching Excel: inspect_xlsx exposes sheets, bounded cell ranges, formulas plus cached values, merged ranges, hidden rows/columns, defined names, calculation settings and external-link parts.
  • Audit-ready output: native rendering can write a deterministic PNG directory plus sibling ZIP and returns SHA-256/size metadata for both the Office source and generated outputs; the existing image_open tool can then inspect each page or ZIP member visually.
  • Office automation is constrained: only workspace-relative non-link paths are accepted; macro-enabled formats are excluded; Office automation macros are force-disabled; files open read-only; Excel link updates are disabled; the bundled PowerShell script is fixed and never accepts arbitrary commands.
  • Existing 0.4.x safety/UI improvements remain: high-DPI scrolling, ComfyUI managed-service diagnostics, stable extension gateway, bounded global capabilities, and single-file Windows delivery are unchanged.

See the changelog for the full release history and Extension ABI v1 for managed-service and plugin boundaries.

Why FolderBridge?

  • Independent folder boundaries: one connection can contain up to 16 canonical workspaces; every multi-workspace tool call selects a workspace_id instead of merging roots.
  • Read-only by default: switch to read/write explicitly in the launcher.
  • Conflict-safe edits: existing files require the SHA-256 returned by the last read; stale edits fail instead of overwriting newer work.
  • No arbitrary shell: optional tasks are named, locally reviewed, and approved by exact config hash.
  • No public listener: the MCP server uses stdio only.
  • No telemetry: FolderBridge itself makes no network requests.
  • Secret-aware launcher: the OpenAI Runtime API key stays in memory and is removed before the local MCP process can use it.
  • Beginner-friendly desktop UI: an add/remove folder list, global access mode, Tunnel setup, diagnostics, start/stop, process monitoring, and redacted logs live in one window.
  • Windows scaling support: fonts and window sizing follow the current display DPI and refresh when moving between monitors with different scale factors.

Quick start

Requirements depend on how you use FolderBridge:

  • Standalone Windows EXE: no separate Python or Node.js installation is required; Windows is the tested double-click launcher environment.
  • Run/develop from source: Python 3.11 or newer is required; Python 3.11 x64 is the recommended Windows build baseline.
  • Project capabilities: install only the toolchain required by the workspace itself (for example Node.js LTS for a Node/npm project's test/build scripts). Enabling a capability does not install that toolchain.
  • Git is optional. Bounded status/diff views use Git when available; the Git Publisher extension additionally requires Git for Windows with Git Credential Manager for browser-authorized GitHub commits/pushes.

Windows executable — recommended

Download the single FolderBridge-Windows-x64.exe from the latest GitHub release Assets, or download the EXE directly. The binary does not appear in the repository's source-file list. FolderBridge-Windows-x64.exe is the complete FolderBridge application and already contains its Python runtime, so normal EXE users do not install Python or Node.js. SHA-256 is still generated and verified during build/CI, but checksum sidecars are intentionally not published as GitHub Release assets.

The one-file executable deliberately does not rebundle OpenAI's independently released tunnel-client; download the official client separately from OpenAI's release and select tunnel-client.exe in the launcher only when using ChatGPT on the web.

[!NOTE] The current community build is not code-signed, so Windows identifies its publisher as unknown. If you do not trust an unsigned binary, build it from the audited source instead.

Run from source

Clone the repository and start the GUI:

git clone https://github.com/MoonTzai/folderbridge-mcp.git
cd folderbridge-mcp
python .\folderbridge_launcher.py gui

Add the workspaces you need, keep Read only selected for the first run, and use the status panel to finish setup. Launcher preferences are stored outside the repository; the Runtime API key is never saved. A legacy single-workspace setting is migrated into the first list entry automatically.

For source use, launch the GUI with python .\folderbridge_launcher.py gui; the standalone FolderBridge.exe remains the supported double-click entry point.

Optional development and project toolchains

These are not prerequisites for normal FolderBridge.exe use:

  • For source development or rebuilding the Windows EXE, install Python 3.11 x64 from the official Python Windows downloads and verify python --version. The packaging flow uses an isolated .build-venv and packaging/requirements-build.txt.
  • Install Node.js LTS from the official Node.js downloads only when a target Node/npm workspace needs node/npm for its own test or build commands; verify with node --version and npm --version.
  • Other projects may require their own runtimes or compilers. FolderBridge capabilities provide authorization and bounded discovery/execution, not dependency installation.

Connect ChatGPT on the web

ChatGPT cannot connect directly to a local stdio process. FolderBridge uses OpenAI's official Secure MCP Tunnel for this path. You need:

[!IMPORTANT] Secure MCP Tunnel requires only outbound HTTPS (port 443 by default) from this computer and no internet-facing inbound port. Never enable Windows Remote Desktop, router port forwarding, DMZ, UPnP mappings, or port 3389 for FolderBridge; none of them are part of Tunnel setup. If a firewall asks about inbound access, do not create a broad public inbound rule just to make the Tunnel work.

Click 连接设置向导 (Connection setup guide) in the launcher's upper-right corner for the same steps and shortcuts below, including the optional Python/Node appendix.

1. Download the official Windows x64 client

[!WARNING] Download only the complete tunnel-client-v<version>-windows-amd64.zip archive. Never download or select a tunnel-client-runtime-* file. Runtime files are internal components and do not implement the init command needed for setup; their similar names can still lead to “configuration failed.” After extracting the complete archive, select only the main program named exactly tunnel-client.exe.

  1. Open the latest openai/tunnel-client release and expand Assets.
  2. Download the complete archive named tunnel-client-v<version>-windows-amd64.zip. In release filenames, amd64 means Windows x64 and is correct for most Intel/AMD PCs.
  3. Optionally download SHA256SUMS.txt for verification. Do not choose tunnel-client-runtime-*, windows-arm64, all.zip, source-code archives, or license files; a Runtime archive cannot replace the complete client.
  4. Extract the entire ZIP to a stable folder; there is no installer, and you should not run it from inside the archive. The guide can create and open %LOCALAPPDATA%\FolderBridge\bin as a recommended location.
  5. Return to FolderBridge, click 选择已解压的 EXE, and select only the file named exactly tunnel-client.exe.

2. Create the Platform Tunnel

Open OpenAI Platform Tunnel settings, click Create tunnel, and use these current choices:

FieldRecommended valueNotes
NameFolderBridgeCustomizable display name
DescriptionLocal FolderBridge MCP for private workspace accessRequired; customizable
OrganizationsPersonal for a personal accountFor teams, select the Platform organization that manages this Tunnel
ChatGPT workspacesThe workspace where you will create the appDo not leave it blank; a personal account usually has one workspace ID

After creation, copy the Tunnel ID beginning with tunnel_. Running and selecting it requires Tunnels Read + Use; creating or editing it also requires Manage. Associate only the organizations and ChatGPT workspaces that need access to this local workspace.

Create the key for tunnel-client under the same Platform organization's Runtime API Keys; its creator needs Tunnels Read + Use. Paste it only into FolderBridge, where it remains in process memory. Do not use an Admin API key, and do not put the Runtime key into the ChatGPT app's Authentication field.

3. Start FolderBridge

  1. Add one or more explicit workspace folders (up to 16) and keep Read only (recommended) for the first run. The global access mode applies to every listed folder.
  2. Select tunnel-client.exe from the complete archive, never a tunnel-client-runtime-* component; the default folderbridge profile is suitable.
  3. Enter the same Tunnel ID and Runtime API key. Optionally enable the global capabilities you want once; leave per-workspace advanced named tasks disabled unless you need a custom command.
  4. Click Start connection. The launcher runs the official init, doctor, and run flow. Continue only after the top status reads 运行中 (Running). When changing the folder or access mode later, click 应用配置 (Apply configuration) again; the launcher updates the same profile that it manages.

4. Create the ChatGPT developer-mode app

Open ChatGPT Plugins, click +, and use these critical choices:

FieldRequired choice
ConnectionTunnel
Available TunnelSelect the same Tunnel, or paste its tunnel_... ID
AuthenticationNo authentication

[!WARNING] Do not leave the form on its default OAuth choice, and do not paste a https://tunnel-service... address into Server URL. FolderBridge does not implement user OAuth, so that configuration produces a does not implement OAuth error.

Invoke the app in a ChatGPT conversation

  1. Keep the FolderBridge status at 运行中 (Running), then start a new ChatGPT conversation.
  2. Select the + beside the composer, open More, and choose the FolderBridge app that you just created.
  3. Send a task such as: “First use FolderBridge server_info to list the available workspaces, then read the root of the workspace I name.” Review the workspace_id and target file in any tool confirmation before approving it.

This entry point follows OpenAI's official connect and test guidance. The launcher's connection guide includes the same steps and a one-click copyable example prompt.

Keep the launcher running while ChatGPT uses the workspace. Closing it stops the Tunnel process. Account-level developer-mode and app installation confirmations remain in ChatGPT; FolderBridge does not automate your browser session or security settings.

No browser extension is required. FolderBridge intentionally does not silently download or execute network-delivered binaries.

Connect another local MCP client

Yes. FolderBridge's compatibility seam is its standard MCP stdio server. The ChatGPT Tunnel is only a bridge for a web client that cannot launch a local process. The MCP stdio transport likewise specifies that the client launches the server subprocess and exchanges JSON-RPC over standard input/output. MCP stdio specification

Client requirements

  • It can configure a local command + args pair and keep the subprocess running.
  • It supports MCP over stdio, keeping stdout reserved for protocol messages.
  • It can discover and call MCP tools (initialize, tools/list, and tools/call, or the modern 2026-07-28 discovery flow).
  • It closes stdin or terminates the subprocess when the session ends.
  • Prefer a client with tool approval UX, but do not treat its confirmation dialog as the only security boundary.

FolderBridge currently handles the 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25, and 2026-07-28 protocol paths. It returns standard tool schemas, text content, and structuredContent; whether a confirmation prompt appears is client-specific. MCP Tools specification

Client typeDirect connection?Route
Local desktop app or IDE with stdio MCPYesUse FolderBridge.exe as command and serve ... as args
Local app with one combined command fieldUsuallyPaste the full stdio command and preserve path quoting
Client accepting only a remote HTTP/SSE URLNoUse that client's official stdio gateway/proxy, or deploy a separately protected MCP bridge
Web-only, mobile, or cloud sandboxUsually not to the local PCUse the vendor's official Tunnel/remote mechanism on a trusted host that can reach the workspace

Shortest local setup

  1. Add one or more workspaces in FolderBridge and keep Read only (recommended).
  2. Open page 5 of 连接设置向导 and copy JSON, TOML, or the complete stdio command.
  3. Paste it into the client's MCP Servers settings; follow that client's documentation for its exact field names.
  4. Restart or refresh the client and verify that server_info and workspace appear.

A direct stdio connection needs no tunnel-client, Tunnel ID, Runtime API key, or running FolderBridge GUI. The client starts this command when needed:

FolderBridge.exe serve --workspace C:\path\to\repo --read-only

Repeat --workspace to add folders while keeping each root independent:

FolderBridge.exe serve --workspace C:\work\frontend --workspace C:\work\backend --read-only

Generate ready-to-paste configurations from source:

python .\folderbridge_launcher.py client-config --workspace C:\path\to\repo --format json --read-only
python .\folderbridge_launcher.py client-config --workspace C:\path\to\repo --format toml --read-only
python .\folderbridge_launcher.py client-config --workspace C:\path\to\repo --format tunnel --read-only

The JSON output follows the common mcpServers convention used by many desktop clients:

{
  "mcpServers": {
    "folderbridge": {
      "command": "C:\\Tools\\FolderBridge.exe",
      "args": ["serve", "--workspace", "C:\\work\\frontend", "--workspace", "C:\\work\\backend", "--read-only"]
    }
  }
}

[!IMPORTANT] The JSON/TOML top-level keys are common conventions, not universal client requirements. Compatibility ultimately means that the client launches command/args unchanged as an MCP stdio subprocess. If the client accepts only a URL, this release has no built-in HTTP/SSE listener; do not expose an ad-hoc local port directly to the public internet.

See the client compatibility research for protocol versions, process lifecycle, cwd/env, approval boundaries, and remote bridging details.

Tools and editing workflow

The built-in server tools do not depend on per-workspace task configuration:

  • server_info: reports each available workspace name, stable workspace_id, built-in/global capabilities, and safety boundary;
  • flight_recorder: reads the built-in reliability flight recorder through status, recent, or errors; it keeps only compact MCP/Tunnel metadata from the latest 15 minutes under a 20 MiB cap and never records workspace request/response bodies;
  • workspace: lists and reads files, streams literal search across UTF-8 files up to 512 MiB, and exposes pageable/path-scoped Git status/diff output inside the selected workspace_id;
  • file_info: returns bounded metadata and a whole-file SHA-256 for regular files; use it to obtain the current SHA before editing text above 1 MiB. That 1 MiB threshold is only the workspace(read) inline-hash convenience boundary, not an edit-size limit;
  • pptx_inspect: inspects PPTX text, OOXML diagram relationships, and SmartArt data without executing Office content;
  • image_open: returns bounded PNG/JPEG/GIF/WebP image content to the MCP client, including exact image members inside ZIP files;
  • extension: the stable gateway for hot-loaded extensions; list returns a compact pageable catalog, info returns one extension's full action schemas, and run invokes the selected action without adding MCP tool names;
  • edit_file: in read/write mode, creates inline UTF-8 files and exactly edits existing UTF-8 text up to 128 MiB; existing-file edits require a current whole-file SHA-256, while large whole-file creation uses write_file;
  • write_file: in read/write mode, provides begin, append, status, commit, and abort for transactional whole-file UTF-8 creates or replacements up to 512 MiB; the MCP request framing ceiling is 32 MiB.

With one workspace, existing clients may continue omitting workspace_id. With multiple workspaces, workspace-scoped tools require a workspace_id returned by server_info; missing or unknown IDs are rejected. Duplicate roots, parent/child overlaps, and lists beyond sixteen entries are rejected before startup.

For local exact replacements, list/search the file, inspect the relevant range, retain the current whole-file SHA-256, call edit_file, then inspect the Git diff. workspace(read) returns the whole-file SHA for files up to 1 MiB; use file_info for larger files. New-file publication is no-clobber, and existing-file edits recheck the expected SHA immediately before atomic publication. If the underlying filesystem cannot provide safe atomic no-clobber publication, creation fails safely instead of falling back to an overwrite.

For a large whole-file create or replacement, use write_file: call begin (replace also requires the old SHA from file_info), send append chunks at the exact next UTF-8 byte offset, optionally call status, then commit with the complete new byte size and SHA-256 or abort. Each chunk is capped at 4 MiB so even pathological JSON escaping stays below the 32 MiB MCP request ceiling. Transactions are process-local, stage outside the workspace, support files up to 512 MiB, and clean stale staging older than 24 hours on a later startup. Commit revalidates UTF-8, size, new SHA, workspace/link policy, and replacement baseline before a fully written same-directory temporary file is atomically published; create mode never overwrites a path that appeared after begin.

Large-file inspection no longer falls back to a small-file search ceiling. Literal search scans UTF-8 content as a stream up to 512 MiB per file and reports binary/non-UTF-8/oversized/I/O skips separately; list and search results use result offsets, while Git status/diff use byte offsets and may be scoped to one workspace-relative path. These are bounded pages, not whole-response expansion; MCP request framing is independently bounded at 32 MiB.

Skill routing follows the same scaling rule. Initialization carries a compact 64 KiB round-robin routing index rather than embedding Skill bodies; if enabled Skills do not fit, the index says how many were omitted and skill-engine match remains the complete task-specific discovery path. Extension list similarly stays compact and pageable, with full schemas deferred to extension(info).

External Skill Packs and Extensions are user installations, not EXE payload. Their exact-hash approval records live under the user-level FolderBridge configuration and survive an EXE upgrade as long as the external bytes/declared permissions do not change. Repository source locations are intentionally separated: extensions/ and skill_packs/ contain bundled release-owned sources; Plugins/extensions/ and Plugins/skill-packs/ contain optional public external sources. New repository-local private integrations should normally use ignored local-private/; existing explicitly ignored local-only integrations may remain where operationally convenient, and in either case stay outside the public Git boundary. The Windows build packages only an explicit bundled allowlist, so public external sources, private local assets, and unrelated untracked folders are not promoted into the EXE. If a later release intentionally ships a bundled component with the same ID as an older external installation, the bundled copy safely takes precedence and the old external copy is ignored rather than causing a duplicate-ID startup error; external code can never override a bundled ID.

Bounded MCP concurrency

FolderBridge 0.8.0 uses separate bounded request lanes so a long data-plane operation does not make control/status calls unresponsive. The current defaults are 2 control workers with at most 8 in-flight control requests and 6 data workers with at most 12 in-flight data requests. Saturation never creates an unbounded queue: excess requests fail fast with JSON-RPC -32001 / Server busy. Concurrent responses may complete out of request order, as JSON-RPC permits, but FolderBridge serializes complete JSONL writes so response bytes never interleave.

Control work includes initialization/ping/catalog calls, server_info, flight_recorder, extension list/info/job status/cancel, and transactional write status/abort. Reads and independent data work can proceed while other data operations are running. Core writes to the same target file are serialized; different target files can overlap. Tasks, build/package/capability execution, and non-read-only Extension actions are treated as opaque workspace mutations and cannot overlap core file writes in that workspace. Both foreground non-read-only Extension actions and non-read-only Extension Jobs keep the workspace mutation lease until the host has confirmed that the worker process exited. If termination cannot be confirmed immediately, the worker enters host-owned termination_pending handling and the lease stays held; bounded daemon reapers reconcile it automatically when the process later exits. The 16-Job and 16-foreground-worker lifecycle budgets remain separate from MCP request-worker limits. On stdio shutdown FolderBridge first closes mutation admission and wakes queued mutation waiters, then retries termination of owned Extension workers, drains bounded request workers, and finally cleans transactional staging.

The server cannot delete or move files. Absolute paths, .., symlinks, junctions/reparse points, VCS internals, common dependency/build folders, and credential-like names are denied.

Global pre-authorized capabilities

The launcher can authorize common capabilities once for all current and future workspaces: test, build, package-windows, package-android, release-sync, and git-push. These permissions live in the launcher settings rather than .folderbridge.json. The launcher also provides Select all and Clear controls for this group.

For Node-based repositories, packaging and delivery handoff entry points can be declared explicitly in package.json as package:windows, package:android, and release:sync. FolderBridge discovers those fixed script names at call time and executes them only as npm run package:windows, npm run package:android, or npm run release:sync; it never copies the script body into a shell command. Existing bounded Windows PowerShell/PyInstaller and Android Gradle/Flutter discovery remains available as a compatibility fallback. release-sync intentionally has no implicit fallback: the repository owns the exact release/staging destinations and validation rules.

For globally authorized test and build, FolderBridge always exposes a provider for every selected workspace. A recognized project entry point such as npm run test, npm run build, Python unittest/pytest, and similar supported commands wins first. If no project entry point exists, test falls back to a FolderBridge-owned bounded workspace smoke that reuses the normal credential/VCS/dependency/link-denial policy, checks common UTF-8 text plus JSON/HTML structure, and optionally uses trusted system Node with --check for bounded JavaScript syntax parsing without executing workspace JavaScript. build falls back to a non-mutating safe build: static/content/no-build folders use explicit identity mode, while source folders without a build entry point use explicit validation-only mode. Neither fallback invents compiled artifacts, and server_info reports the selected provider.

git-push remains a low-level push-only capability constrained to a GitHub HTTPS origin, the current branch, no force push, and no repository-local credential helper / push-target rewrite configuration. For browser authorization plus explicit-file commit + push, use the hot-installable external Git Publisher extension instead. Explicit project build/package capabilities may execute local project code, so enable only the global capabilities you want.

For direct stdio clients, repeat --capability <name> on the serve or client-config command. The Windows launcher exposes the same choices as persistent checkboxes.

Extensions

FolderBridge Extension ABI v1 is the preferred way to add future global integrations such as ComfyUI, FFmpeg, Blender, Ollama, ADB, or other local tools without changing the MCP tool catalog. The Windows launcher has a default-collapsed Extensions sidebar that hot-scans the user extension directory, shows installed/approved/loaded state, and lets you approve or disable plugins while the Tunnel remains connected.

Each extension is a directory containing at least folderbridge-extension.json and plugin.py. External plugins are approved against the exact SHA-256 of the complete plugin directory plus the declared permission list; changing any file or permission makes the approval stale. Extensions execute in a separate subprocess with a cleaned environment, bounded protocol I/O, and a declared timeout. This isolates crashes and protocol pollution, but it is not an OS security sandbox: use a VM/container for untrusted plugin code.

Workspace-specific adaptation should use workspace_adapter.mode=dynamic with detect.any_of / detect.all_of. FolderBridge re-evaluates those patterns at call time, so extensions do not need to inject .folderbridge.json tasks when installed and can become applicable after a project changes later. Persistent plugin state should use the provided profile state directory rather than polluting repositories.

Keep public Extension actions small, fixed, and semantically bounded. Do not expose aggregate run-all, verification-suite, or do-everything actions that bundle dozens of independent tests/checks or a multi-stage pipeline into one foreground MCP call. Split them into fixed allowlisted actions with predictable timeout/output bounds and let the client invoke those steps in order. A read-only verification-plan may return the recommended sequence without executing it. A genuinely atomic long-running operation may use host-owned Job mode when the connected client can reliably query/cancel jobs, but Job mode should not be used to hide an action that should have been decomposed.

ComfyUI is a reference external hot-load Extension, distributed from Plugins/extensions/comfyui and intentionally not bundled into FolderBridge.exe. Its status action checks the fixed loopback endpoint 127.0.0.1:8188; workflow execution requires exact-hash approval in the Extensions sidebar. The Windows launcher can separately manage the local ComfyUI process itself: choose a supported Portable root (python_embeded\\python.exe + ComfyUI\\main.py) or source root (main.py + .venv\\Scripts\\python.exe / venv\\Scripts\\python.exe) once, and the launcher can auto-start it with explicit Python/main.py arguments, shell=False, fixed --fast-disk, and fixed 127.0.0.1:8188 binding. If that endpoint is already online before FolderBridge starts it, the service is marked external and reused rather than duplicated. The managed-service controller and the external Extension runtime are deliberately separate components.

Managed-service ownership is intentionally stricter than Extension permissions. FolderBridge stores only install_root and auto_start, never a PID or arbitrary command. Only the in-memory Popen handle created by the current launcher run is considered owned and stoppable. FolderBridge never runs a user-selected BAT/CMD for ComfyUI and never looks up or kills an unknown process merely because it occupies port 8188. On exit it stops owned managed services before Tunnel/MCP; external ComfyUI remains running.

On Windows, the launcher requests Per-Monitor DPI V2 awareness and also polls the current window DPI as a lightweight fallback. Fixed GUI metrics are recalculated from their original logical sizes (dpi / 96) only when DPI actually changes, so moving 96 → 144 → 96 DPI does not accumulate scale drift.

ABI v1 plugins should use FolderBridge-packaged modules and the Python standard library rather than assuming arbitrary pip dependencies inside the one-file EXE. Extra software should normally be reached through a precise loopback API or a declared process.execute:<basename> dependency. Run FolderBridge.exe extensions --json to inspect what the packaged executable can discover. The connection guide appendix contains the complete format plus a one-click LLM plugin-development prompt that tells the model to request/upload missing API docs, scripts, workflows, sample files, or project structure instead of guessing. See Extension ABI v1.

Optional per-workspace named tasks

Arbitrary command text is never accepted through MCP. For unusual repository-specific commands that are not covered by global capabilities, create and review a local task policy:

python .\folderbridge_launcher.py init --workspace C:\path\to\repo
# Review C:\path\to\repo\.folderbridge.json
python .\folderbridge_launcher.py approve --workspace C:\path\to\repo

Then enable approved tasks in the launcher or add --allow-tasks to the generated server command. Enabling this switch does not require every configured workspace to contain .folderbridge.json: no-config workspaces, approved-task workspaces, extension-only workspaces, and workspaces whose config has not yet been approved can coexist in one connection. Approval is checked when that workspace's named task is actually invoked. The model can select only a task name; it cannot provide a command, arguments, environment variables, or working directory.

[!WARNING] Tests, build tools, and package scripts execute repository code with your current OS user permissions. Use a disposable VM or container for untrusted repositories, or leave task execution disabled.

Security model

FolderBridge treats MCP requests, repository text, and tool output as untrusted data. Enforcement lives in the tool implementation rather than MCP annotations alone. The main controls are:

  • canonical path confinement and link rejection per workspace, with overlapping roots denied;
  • bounded UTF-8 reads, searches, Git output, subprocess output, and protocol messages;
  • atomic writes with a current-content hash precondition;
  • protected local policy files;
  • shell=False, fixed argument arrays, clean task environments, and timeouts;
  • extension manifests reject unknown/overbroad permission names, extension approvals bind exact code hashes and permissions, and plugin execution is moved out of the MCP process;
  • no inbound network listener and no FolderBridge telemetry.

Read the complete security model. To report a vulnerability, follow the security policy.

Development

There are no third-party runtime dependencies.

python -m unittest discover -s tests -v

See the contributing guide before opening a pull request.

Build the Windows executable

Builds use a pinned, build-time-only PyInstaller dependency. The released EXE uses the console bootloader with hide-console=hide-early: double-clicking opens only the GUI, while the same executable retains stdio when Tunnel starts its serve subcommand.

python -m venv .build-venv
.\.build-venv\Scripts\python.exe -m pip install -r packaging\requirements-build.txt
.\scripts\build_windows.ps1 -Python .\.build-venv\Scripts\python.exe

Artifacts and a SHA-256 file are written to release\windows-x64.

Publish a GitHub Release

Repository pushes and GitHub Releases are intentionally distinct. Git Publisher 1.6.0 stays project-agnostic: it preserves status, connect, commit, push, and release-assets, and adds first-publication-preflight, init-local-repository, create-github-repository, and initial-commit for first publication without a per-project Node task. Selective commit accepts only an explicit path allowlist, including validated Git-tracked deletions; staged-set validation disables rename detection so a delete+add migration cannot be mistaken for a missing allowlist entry. push remains limited to the selected repository's current named branch and existing credential-free GitHub HTTPS origin, with no force push. Existing-repository Git Publisher actions accept an optional workspace-relative POSIX repo_path (default .); all four first-publication actions require an explicit repo_path, allowing one FolderBridge project workspace to contain a separately published nested Git repository while preserving strict workspace confinement and exact repo-root validation. The generic release-assets action works only on the selected workspace repository and accepts a bounded tag/title plus an explicit allowlist of regular workspace files; tracked content must be clean, the current branch must already match origin, tag movement/force push are rejected, and explicit untracked build artifacts may be uploaded under GitHub-stable ASCII Release filenames with optional user-facing display labels. Assets are SHA-256 checked and snapshotted before remote mutation, and long uploads run as host-owned Jobs. Release authentication reuses the existing browser-authorized Git Credential Manager account: the isolated worker obtains the credential from GCM and passes it only in the child gh.exe process environment for the duration of the operation, so no separate gh auth login is required. No project-specific version extraction, build rule, release-commit convention, fixed asset name, token/PAT/password, or arbitrary Git/gh command input is part of Git Publisher.

FolderBridge's own repository-side .github/workflows/release-windows.yml is the project-specific publication path for commits titled exactly Release FolderBridge <version>. It independently re-reads the version, runs the full Windows tests, builds and verifies the EXE, and creates or repairs the matching Release. Existing tags are accepted only when they resolve to the same release commit, and existing Releases can be repaired by re-uploading the two fixed assets and marking that version Latest.

License

FolderBridge's project-authored code and documentation are licensed under the Apache License 2.0.

The bundled folderbridge-engineering Skill Pack contains condensed/adapted methodology text derived from selected Skills in Matt Pocock's mattpocock/skills project. Upstream copyright is held by Matt Pocock and the upstream material is licensed under MIT. FolderBridge preserves the attribution and full MIT permission notice in skill_packs/matt-pocock-engineering/NOTICE.md and LICENSE.upstream-MIT.txt. The Pack is a FolderBridge adaptation, not the official Matt Pocock plugin, and no affiliation or endorsement is implied.

FolderBridge MCP is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by OpenAI. ChatGPT, OpenAI, MCP, and other product names belong to their respective owners.

↑↓ navigate openesc close