Can't chat with agent with enabled mcp server

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I try to use many model, but get errors. If i disable my mcp server - than chat works, see attached video.
Auto-mode - work!
Why other models don’t work ? gtp*, claude4sonnet - will give me an error

Steps to Reproduce

in agent chat write:
use get_apps, and write me count of published apps

Expected Behavior

I build mcp server for Qlik Sense enterprise, but can’t use it
source code here: GitHub - bintocher/qlik-sense-mcp

my mcp.json config:

{
  "mcpServers": {
    "qlik-sense": {
      "command": "python3",
      "args": [
        "-m",
        "qlik_sense_mcp_server.server"
      ],
      "env": {
        "QLIK_SERVER_URL": "https://qlik1",
        "QLIK_USER_DIRECTORY": "qlik1",
        "QLIK_USER_ID": "bintocher",
        "QLIK_CLIENT_CERT_PATH": "/Users/bintocher/git/cursor/qlik/certs/client.pem",
        "QLIK_CLIENT_KEY_PATH": "/Users/bintocher/git/cursor/qlik/certs/client_key.pem",
        "QLIK_CA_CERT_PATH": "/Users/bintocher/git/cursor/qlik/certs/root.pem",
        "QLIK_REPOSITORY_PORT": "4242",
        "QLIK_PROXY_PORT": "4243",
        "QLIK_ENGINE_PORT": "4747",
        "QLIK_HTTP_PORT": "443",
        "QLIK_VERIFY_SSL": "false",
        "LOG_LEVEL": "DEBUG",
        "QLIK_HTTP_TIMEOUT": "10",
        "QLIK_WS_TIMEOUT": "8",
        "QLIK_WS_RETRIES": "2"
      }
    }
  }
}

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.11 (Universal)
VSCode Version: 1.99.3
Commit: ea659ac512725d8ba835e9e77b826949d829d680
Date: 2025-09-11T15:12:12.526Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

gtp*, claude4sonnet

For AI issues: add Request ID with privacy disabled

(Request ID: 6256360c-2e97-481b-a094-ee5faec6a973)
(Request ID: 547a9a71-587a-4ab7-bafa-576d83296405)
(Request ID: 4153d0ed-e66c-4d67-b560-2fffbc6353c8)
(Request ID: 9a1b72a1-f06d-4023-899f-6c11abe9960b)

Does this stop you from using Cursor

Yes - Cursor is unusable

if i use mcp with uvx run, i have same error with gtp5

(Request ID: 583e7c4c-a771-4cb3-879a-dd2527571a78)

{
  "mcpServers": {
    "qlik-sense": {
      "command": "uvx",
      "args": ["qlik-sense-mcp-server"],
      "env": {
        "QLIK_SERVER_URL": "https://qlik1",
        "QLIK_USER_DIRECTORY": "qlik1",
        "QLIK_USER_ID": "bintocher",
        "QLIK_CLIENT_CERT_PATH": "/Users/bintocher/git/cursor/qlik/certs/client.pem",
        "QLIK_CLIENT_KEY_PATH": "/Users/bintocher/git/cursor/qlik/certs/client_key.pem",
        "QLIK_CA_CERT_PATH": "/Users/bintocher/git/cursor/qlik/certs/root.pem",
        "QLIK_REPOSITORY_PORT": "4242",
        "QLIK_PROXY_PORT": "4243",
        "QLIK_ENGINE_PORT": "4747",
        "QLIK_HTTP_PORT": "443",
        "QLIK_VERIFY_SSL": "false",
        "LOG_LEVEL": "DEBUG",
        "QLIK_HTTP_TIMEOUT": "10",
        "QLIK_WS_TIMEOUT": "8",
        "QLIK_WS_RETRIES": "2"
      }
    }
  }
}