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

**URL:** <https://community.openai.com/t/how-can-i-connect-a-local-mcp-server-python-to-chatgpt-unsafe-url-issue/1368574>\
**Category:** Plugins / Actions builders\
**Tags:** mcp\
**Created:** [December 6, 2025, 9:31pm UTC](https://community.openai.com/t/how-can-i-connect-a-local-mcp-server-python-to-chatgpt-unsafe-url-issue/1368574 "2025-12-06T21:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roger.hudginss](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@roger.hudginss](https://community.openai.com/u/roger.hudginss)\
**Post date:** [December 6, 2025, 9:31pm UTC](https://community.openai.com/t/how-can-i-connect-a-local-mcp-server-python-to-chatgpt-unsafe-url-issue/1368574/1 "2025-12-06T21:31:56Z")

</div>

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

```auto
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:

```auto
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:**

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.
