Skip to content

Exposing a MCP Server to OpenAI

Since the summer of 2025, you can enable “Custom Connectors” in Developer Mode in ChatGPT to use remote MCP Servers!

With the MCP (Model Context Protocol), you can connect proprietary systems and apps to OpenAI, allowing you to search, reason, and act with any local MCP server in ChatGPT, right alongside web results and built-in connectors.

Inspectr makes it simple to expose your MCP server securely and inspect how ChatGPT uses your MCP tools, prompts, and resources.


  • Enable Developer Mode in ChatGPT
  • Expose your local MCP server using Inspectr
  • Connect it to ChatGPT as a “custom connector”
  • Use your MCP server directly in ChatGPT conversations
  • Inspect requests and responses in the Inspectr UI


Make sure your MCP server is running locally, using the “streamable http” as transport. For this example we run it on port 3000.

Terminal window
mcp-server --port 3000

Run Inspectr with the --expose flag:

Terminal window
inspectr \
--listen=:8080 \
--backend=http://localhost:3000 \
--expose \
--channel=mcp-demo \
--channel-code=mcpserver123
Inspectr exposing MCP server

Your MCP server is now available at:

https://mcp-demo.in-spectr.dev/mcp
  • Inspectr listens on port 8080
  • Forwards traffic to your MCP server on port 3000
  • Captures and displays traffic in the App UI at http://localhost:4004

Go to “Settings” → “Connectors” → “Advanced settings”

ChatGPT connector settings

and enable Developer Mode.

Enable Developer Mode in ChatGPT

In ChatGPT, go to “Settings” → “Connectors”

Create new connector

After enabling Developer Mode, click “Create” to add a new connector.

Add new MCP connector

Fill in the connector details, for example:

  • Name: Inspectr
  • Description: Inspectr MCP Server
  • MCP Server URL: https://mcp-demo.in-spectr.dev/mcp
  • Authentication: “No authentication” (or set to the method your MCP server requires)
  • Tick “I trust this application”
Connector details entered

Press “Create” to save the connector. ChatGPT will then attempt to connect to your MCP server.

Once connected, you should see connection details and a list of available actions.

Connector connected view

Once connected, you can select the connector, and the MCP server will appear under “Use tools” in the composer.

Inspectr available as a tool

You can now run prompts that leverage the tools inside the MCP server and see the results directly in the chat.

For example, let’s run a prompt that searches for the most used API endpoints:

Most used API endpoints result

Next we want see how the response times behaves:

Response times over time graph

To view how ChatGPT interacts with your MCP server; including tools, prompts, and resources — go to http://localhost:4004, where you’ll find a history of requests and responses.

Requests made by ChatGPT

Inspectr request view

Responses from the MCP server

Inspectr response view

Inspectr makes it easy to:

  • Expose your local MCP server to OpenAI ChatGPT
  • Monitor and review how ChatGPT uses your MCP tools, prompts, and resources