How can I connect a local MCP server (Python) to ChatGPT? - “Unsafe URL” issue

Published: (December 6, 2025 at 04:45 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Question

Hello,

I’m running a local MCP server using the official Python SDK (mcp, Anthropic).

The server works and exposes the MCP endpoint at:

<your‑local‑endpoint‑URL>

When I try to add this endpoint inside ChatGPT under:

Apps & Connectors → Add Connector → MCP Server URL

ChatGPT rejects it with the message:

Unsafe URL

My ChatGPT account does not have the “Developer Tools → MCP Servers” menu that some documentation mentions. I only have the “Apps & Connectors (Beta)” section.

Questions

  1. Is it currently possible to connect a local MCP server (HTTP / localhost) to ChatGPT?
  2. Does “Apps & Connectors” support MCP, or only remote HTTPS endpoints?
  3. If ChatGPT cannot connect to localhost, what is the correct way to test MCP locally — should I implement my own MCP client or host the server publicly over HTTPS?

My goal is to have an AI (ChatGPT) call MCP tools such as a Selenium test via my local MCP server. Any clarification on the current limitations or correct workflow would be appreciated.

Back to Blog

Related posts

Read more »

The ChatGPT app store is here

On Wednesday evening, OpenAI launched an App Directory to browse all the tools currently available and opened its SDK for developers to build new interactive ex...