MCP OAuth not working after 1.2.0

Describe the Bug

For those MCP server that needs OAuth for authorization and authentication, it is working on 1.1.7 to login and logout. For the version above 1.2.0, when clicking logout, nothing happened.

Steps to Reproduce

For those versions that above 1.2.0, try to login in with MCP servers that need OAuth and try to click “Logout” button.

Expected Behavior

Should be able to Logout and show the Login button again.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.7 (user setup)
VSCode Version: 1.96.2
Commit: 7111807980fa9c93aedd455ffa44b682c0dc1350
Date: 2025-07-01T07:38:05.103Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, which version of Cursor are you using? I just checked this on version 1.2.4 and everything works fine. Also, let me know which MCP server you are using.

Hi Deanrie,

Following is my version info.

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631

I am trying to use the https://api.githubcopilot.com/mcp/.

When I click Logout, nothing happened and back to stuck at “Loading tools”.

image

image

Could you share the MCP server settings?

{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    },
    "deepwiki": {
      "url": "https://mcp.deepwiki.com/mcp"
    }
  }
}

This method doesn’t work in Cursor. You can try installing it using this instead. For that, you’ll need Docker.

Thanks for clarify. I am actually developing an MCP server with OAuth authorization. I tried with the sample inside here python-sdk/examples/servers/simple-auth/mcp_simple_auth at main · modelcontextprotocol/python-sdk which needs to run the Authorization Server and MCP server separately on local env.

Then I added this MCP into the config file like following

{“mcpServers”: {“simple-auth-server-time”: {“type”: “streamable-http”,“url”: “http://127.0.0.1:8001/mcp”,“auth”: {“type”: “oauth”,“authorization_server”: “http://127.0.0.1:9000”,“client_id”: “auto-register”,“scopes”: [“user”]}}}}

This mcp can be authorized in Cursor 1.1.7 which means it can login and logout successfully. However, when I upgrade to 1.2.4, it directly shows mcp has already been logged in and when I clicked logout, nothing happened.

1 Like

Same issue - version Version: 1.4.2
VSCode Version: 1.99.3

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.