OpenAI Secure MCP Tunnel
Allows AI agents to securely access and manipulate local file systems and execute PowerShell commands by exposing the MCP server through OpenAI Tunnel, enabling file read, write, edit, and command execution within a workspace.
Click on "Install 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., "@OpenAI Secure MCP Tunnelshow me the contents of package.json"
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.
OpenAI Secure MCP Tunnel
一个基于 TypeScript 的 MCP 文件工具服务,通过 OpenAI Tunnel Client 将本地 stdio MCP 服务安全暴露给工作区。
功能
read:读取工作区内的文本文件write:创建或覆盖工作区内的文本文件edit:精确替换文件内容bash:在工作区内执行 PowerShell 命令
文件工具会限制路径必须位于工作区目录内。
Related MCP server: notion-local-ops-mcp
技术栈
Node.js 24+
pnpm 11
TypeScript
pnpm workspace + Turborepo
Vite Plus(Oxfmt、Oxlint、类型检查)
目录结构
apps/mcp-server MCP 服务入口
packages/pi-adapter 文件和命令工具适配层
packages/types 共享类型
scripts/start-tunnel-client Tunnel Client 启动脚本和配置快速开始
安装依赖:
vp install首次配置
打开 Tunnels 管理页面,创建 Tunnel,将生成的 Tunnel ID 填入
CONTROL_PLANE_TUNNEL_ID。打开 API Keys 页面,创建 API Key,将生成的 Key 填入
CONTROL_PLANE_API_KEY。在项目根目录创建
.env.local:
CONTROL_PLANE_TUNNEL_ID=tunnel_...
CONTROL_PLANE_API_KEY=sk-...下载 Tunnel Client
请从 OpenAI 控制台的 Tunnels 管理页面 下载与你的系统匹配的 tunnel-client,并将 Windows 可执行文件放到:
scripts/start-tunnel-client/tunnel-client.exe也可以查看 OpenAI tunnel-client 仓库 获取文档和源码。下载后可先检查配置:
.\scripts\start-tunnel-client\tunnel-client.exe doctor `
--config .\scripts\start-tunnel-client\tunnel-client.yaml `
--explain启用 Vite Plus 提交前检查:
pnpm setup:hooks启动 Tunnel:
pnpm start-tunnelTunnel Client 的本地运维地址:
本地 Tunnel 启动后,打开 ChatGPT Plugins,在其中添加对应的 Plugin。
开发命令
pnpm format # 格式化代码
pnpm lint # 静态检查
pnpm quality # 格式化、lint 和类型检查
pnpm check # workspace 类型检查
pnpm build # 构建全部 workspace
pnpm ci # CI 全量检查也可以单独启动 MCP 服务:
pnpm start-mcp-server请勿将 .env.local、API Key 或 Tunnel 凭据提交到 Git。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/6maple/mcp-for-chatgpt-web-tunnel'
If you have feedback or need assistance with the MCP directory API, please join our Discord server