DEV Community

Makki
Makki

Posted on

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

Hello,
I’m running a local MCP server using the official Python SDK (mcp, Anthropic).
The server works and exposes the MCP endpoint at:

http://localhost:8000/mcp

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.

My questions:
Is it currently possible to connect a local MCP server (HTTP / localhost) to ChatGPT?

Does “Apps & Connectors” support MCP, or only remote HTTPS endpoints?

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.

Top comments (0)