I know Cursor Pyright uses the open source basedpyright, but I am experiencing several issues where the settings are not respected whatsoever, nor can I restart the Cursor Pyright server because it just errors when I try to do so. The huge amount of error reporting from things that are not even errors makes editing python in Cursor nearly unbearable, not to mention it makes the AI do really annoying and needless workarounds, that part is super annoying and borderline unusable.
In short, the errors are:
Cursor Pyright does not respect the type checking mode setting, even when I turn it completely off, it seemingly reports errors as if it were on strict mode
Screenshot 2025-12-09 at 1.43.35 PM.png
I cannot restart the Cursor Pyright server. The command is there in the command palette, and it goes away when I uninstall the plugin, but it never works when I execute it
Screenshot 2025-12-09 at 1.44.44 PM.png
Screenshot 2025-12-09 at 1.44.36 PM.png
Steps to Reproduce
Install cursor pyright
Set type checking mode to off
Open any reasonably sized python file that uses external libraries
Observe tons of errors and warnings despite being set to off
Try and restart the server
It will error
Expected Behavior
type checking mode is respected
Operating System
MacOS
Current Cursor Version (Menu â About Cursor â Copy)
I have basedpyright in my dev dependencies in my pyproject.toml. From the basedpyright log files:
[Info - 4:06:44 PM] basedpyright language server 1.36.1 starting
[Info - 4:06:44 PM] Server root directory: file:///[PATH TO MY PROJECT]/.venv/lib/python3.13/site-packages/basedpyright/dist
[Info - 4:06:44 PM] Starting service instance "[MY PROJECT]"
Received pythonPath from Python extension: [PATH TO MY PROJECT]/.venv/bin/python
[Info - 4:06:44 PM] Setting pythonPath for service "[MY PROJECT]": "[PATH TO MY PROJECT]/.venv/bin/python"
[Info - 4:06:44 PM] No include entries specified; assuming [PATH TO MY PROJECT]
[Info - 4:06:44 PM] Auto-excluding **/node_modules
[Info - 4:06:44 PM] Auto-excluding **/__pycache__
[Info - 4:06:44 PM] Auto-excluding **/.*
[Info - 4:06:44 PM] Assuming Python version 3.13.11.final.0
[Info - 4:06:44 PM] BG: Background analysis(1) root directory: file:///[PATH TO MY PROJECT]/.venv/lib/python3.13/site-packages/basedpyright/dist
[Info - 4:06:44 PM] BG: Background analysis(1) started
[Info - 4:06:44 PM] Found 108 source files
I can tell it is identifying and trying to use the basedpyright in my virtual environment. It is only when I uninstall it by removing it from my pyproject.toml and running uv sync then quitting and reopening cursor that it starts working again.
Thanks for the detailed report. I see this was previously fixed in Anysphere Python extension v1.0.6 but appears to have regressed.
The âcommand âcursorpyright.restartserverâ not foundâ error suggests the extension may not be loading correctly. Could you try:
Check your Cursor Pyright extension version (Extensions sidebar > search âCursor Pyrightâ)
Uninstall the extension completely, restart Cursor, then reinstall
This has been flagged to extensions team. If the reinstall doesnât help, please share the extension version number so we can investigate this further.
Hey so I had uninstalled Cursor Pyright in favor of ty because of the issues I was having. I just went to go install it again to try your suggestion and uhh well itâs gone and only the Microsoft one is showing upâŚ
This is odd to me given the weird vscode extension lockdown/Pylance licensing stuff. Not to mention before this one was not available and only the Cursor Pyright one was, now it is the opposite