remote-workspace-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@remote-workspace-mcpList the projects in the workspace and show their top-level files."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Remote Workspace MCP
Connect a private filesystem workspace to MCP clients such as ChatGPT without uploading the repository or opening an inbound firewall port.
The server exposes six read-only tools:
workspace_info— show the active root, policy, and limitslist_projects— list top-level directorieslist_tree— inspect a bounded directory treefile_info— inspect file or directory metadataread_file— read a bounded range from a text filesearch_text— search text recursively with a filename glob
It deliberately has no write, delete, shell, or process-execution tools.
Why this exists
Uploading a large research or engineering workspace to ChatGPT is slow and quickly becomes stale. Remote Workspace MCP keeps the files where they already live and lets an MCP client retrieve only the directory entries, source ranges, and search results needed for the current question.
When paired with OpenAI Secure MCP Tunnel,
the MCP server stays private. tunnel-client makes an outbound HTTPS connection,
forwards MCP requests locally, and returns the results through the same tunnel.
Related MCP server: permission-aware-mcp
Requirements
Python 3.10+
An MCP client, or an OpenAI account with access to Secure MCP Tunnel
For ChatGPT: developer mode and a tunnel associated with the target ChatGPT workspace
Install
From a clone:
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .Or with pipx after cloning:
pipx install .Check a workspace
remote-workspace-mcp check \
--root /home/user/projects \
--policy projectRun as a standard stdio MCP server
remote-workspace-mcp serve \
--root /home/user/projects \
--policy projectThe same values can be supplied through environment variables:
export REMOTE_WORKSPACE_ROOT=/home/user/projects
export REMOTE_WORKSPACE_POLICY=project
export REMOTE_WORKSPACE_MAX_READ_BYTES=8000000
export REMOTE_WORKSPACE_MAX_RESULT_CHARS=100000
remote-workspace-mcp serveAccess policies
project is the default. It omits common VCS internals, virtual environments,
caches, dependency trees, and secret-like filenames. Source code, data directories,
model directories, checkpoints, weights, and experiment outputs remain visible.
open exposes all names beneath the configured root. Path traversal and symlink
escape are still rejected, and known binary formats are metadata-only:
remote-workspace-mcp serve --root /srv/workspace --policy openConnect through OpenAI Secure MCP Tunnel
Do not commit a runtime API key or tunnel profile. Each user creates a tunnel and
runtime key in Platform tunnel settings.
Install the latest official tunnel-client from the Platform download link or the
OpenAI tunnel-client releases.
Following the official stdio profile flow:
export CONTROL_PLANE_API_KEY="sk-..."
tunnel-client init \
--sample sample_mcp_stdio_local \
--profile remote-workspace \
--tunnel-id tunnel_0123456789abcdef0123456789abcdef \
--mcp-command "remote-workspace-mcp serve --root /home/user/projects --policy project"
tunnel-client doctor --profile remote-workspace --explain
tunnel-client run --profile remote-workspaceKeep tunnel-client run alive while using the connector. In ChatGPT, open the
Plugins page, create a developer-mode MCP app,
choose Tunnel, and select or paste the tunnel ID.
Secure MCP Tunnel is intended for private connections and developer-mode testing. It is not itself a public plugin distribution mechanism; public plugins require a stable public HTTPS MCP endpoint.
Outbound proxy
If the host cannot reach api.openai.com:443 directly, tunnel-client supports an
explicit outbound proxy:
export TUNNEL_CLIENT_HTTP_PROXY=http://127.0.0.1:7890
tunnel-client run --profile remote-workspaceSee Proxy and restricted-network setup for the reverse-SSH pattern used when the proxy is on another machine.
Example prompts
Use the remote workspace connector. Call workspace_info first, then list_projects.
Summarize the available projects without modifying anything.Search the workspace for "mixed precision" in Markdown and Python files. Read the
most relevant files and explain how the implementation is organized, citing paths.Development
python -m pip install -e '.[dev]'
ruff check .
pytest -qNon-goals
Remote shell access
Editing or deleting files
Running project code
Replacing authentication or authorization at the workspace boundary
Bundling OpenAI credentials or the
tunnel-clientbinary
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Browse and manage files in your Moxt AI workspace from any MCP client.
Free read-only MCP endpoint preflight with self-service external credentials.
1Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Read-only Remote MCP for externally grounded AI agent trust receipts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables file system operations such as listing, reading, and creating files within a scoped local project directory. It provides a secure way to manage local files through standardized MCP tools built with FastMCP.-
- FlicenseAqualityDmaintenanceEnables secure file system operations (read, write, delete) and simulated command execution with server-enforced permission policies, risk assessment, and human-in-the-loop approval.5-
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients to connect to a local workspace over a public tunnel and lets them run shell commands and transfer files bidirectionally.262 npm21GPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables secure, read-only access to local project files (including text, DOCX, PDF, and XLSX) through MCP, with strict directory whitelisting and no write, edit, or command-execution tools.1MIT