ChatGPT Workspace Exposure MCP

ChatGPT Workspace Exposure MCP

Automatically starts a repo-aware MCP server for the current workspace, finds a free port, and optionally exposes it via Cloudflare tunnel for integration with ChatGPT/OpenAI.

Category
Visit Server

README

ChatGPT Workspace Exposure MCP

ChatGPT Workspace Exposure MCP is a VS Code extension that automatically starts a bundled, repo-aware MCP server for the current workspace, finds the first free port in a configured range, and optionally exposes that server through a Cloudflare quick tunnel.

What it does

  • Starts a Python MCP server automatically when VS Code opens a workspace.
  • Uses all open workspace folders as allowed roots for repo access.
  • Checks whether the preferred port is already in use and increments until it finds a free port.
  • Starts a Cloudflare quick tunnel and writes the public URL to the ChatGPT Workspace Exposure MCP output channel.
  • Generates a ChatGPT/OpenAI remote MCP configuration snippet from the active Cloudflare URL and writes it into the workspace.
  • Provides commands to start, stop, restart, inspect status, and copy the Cloudflare URL.

Requirements

  • uv must be available on your PATH, or you must point chatgptWorkspaceExposureMcp.uvCommand at the correct executable.
  • cloudflared must be available on your PATH if chatgptWorkspaceExposureMcp.enableCloudflare is enabled.
  • A workspace folder must be open. Without one, the extension will not start the repo server.

Commands

  • ChatGPT Workspace Exposure MCP: Start Server
  • ChatGPT Workspace Exposure MCP: Stop Server
  • ChatGPT Workspace Exposure MCP: Restart Server
  • ChatGPT Workspace Exposure MCP: Show Status
  • ChatGPT Workspace Exposure MCP: Copy Cloudflare URL
  • ChatGPT Workspace Exposure MCP: Generate ChatGPT MCP Config
  • ChatGPT Workspace Exposure MCP: Open Cloudflare URL

Settings

  • chatgptWorkspaceExposureMcp.autoStart: start automatically after VS Code startup.
  • chatgptWorkspaceExposureMcp.enableCloudflare: create a Cloudflare quick tunnel.
  • chatgptWorkspaceExposureMcp.host: local bind host for the MCP server.
  • chatgptWorkspaceExposureMcp.startingPort: first port to try.
  • chatgptWorkspaceExposureMcp.maxPort: last port to try before failing.
  • chatgptWorkspaceExposureMcp.mountPath: HTTP path for the MCP endpoint.
  • chatgptWorkspaceExposureMcp.uvCommand: command used to launch the bundled Python server.
  • chatgptWorkspaceExposureMcp.cloudflaredCommand: command used to create the quick tunnel.
  • chatgptWorkspaceExposureMcp.startTimeoutSeconds: startup wait timeout for the local server.
  • chatgptWorkspaceExposureMcp.serverLabel: server_label used in the generated remote MCP config snippet.
  • chatgptWorkspaceExposureMcp.serverDescription: server_description used in the generated remote MCP config snippet.
  • chatgptWorkspaceExposureMcp.requireApproval: approval mode in the generated remote MCP config snippet.
  • chatgptWorkspaceExposureMcp.generatedConfigPath: workspace-relative path where the generated helper JSON file is written.

Output

The extension writes lifecycle logs, the selected local port, and the Cloudflare URL to the ChatGPT Workspace Exposure MCP output channel. When a tunnel is created successfully, the URL is also copied to the clipboard. The generated ChatGPT/OpenAI helper JSON includes a responses_api_tool object with type, server_label, server_description, server_url, and require_approval, plus basic ChatGPT connection steps.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured