Can Cursor connect to MCP server with self-signed certificate using streamable-http?

I’m trying to connect to my MCP server using streamable-http transport with HTTPS.

Current setup in mcp.json:

    "streamable-https": {
      "url": "http://localhost:9000/mcp",
      "headers": {
        "PAT": "sequre_token"
      }
    },

The server uses a self-signed certificate for HTTPS. Is there any way to make Cursor trust this certificate? (Similar to curl’s -k option)

Thank you!

~Problem resolved.
Just disable HTTP2~
image

not works with others env…:downcast_face_with_sweat:

1 Like

Hi @_Lee_Seung_Hwan and welcome to Cursor Forum

You can mark your own answer as solution :slight_smile:

1 Like