Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Slack MCP authentication from the Cursor CLI fails during OAuth. After running agent mcp login slack, the browser opens to Slack’s authorization page and Slack shows an error that the redirect_uri is not registered. The URI the CLI uses is http://localhost:8787/callback for OAuth client id 3660753192626.8903469228982 (the official Slack MCP config from Cursor/Slack docs). Authorization never completes, so Slack MCP tools cannot be used from the CLI. The same Slack MCP integration can work from
the Cursor IDE (connected in Settings), but the CLI login flow fails independently.
Steps to Reproduce
- Ensure ~/.cursor/mcp.json (or project .cursor/mcp.json) contains the official Slack MCP server entry pointing at https://mcp.slack.com/mcp with auth.CLIENT_ID set to 3660753192626.8903469228982.
- In a terminal, run: agent mcp login slack.
- Allow the browser window to open to Slack’s OAuth page.
- Observe Slack’s error instead of a workspace/workspace-grant success screen.
Expected Behavior
After approving in the browser, the OAuth callback should hit the local listener successfully and the CLI should finish authentication so agent mcp list-tools slack works and the agent can call Slack MCP tools (e.g. slack_read_user_profile).
Operating System
Windows 10/11
Version Information
About Cursor CLI
CLI Version 2026.04.17-479fd04
Model Composer 2 Fast
Subscription Tier Enterprise
OS win32 (x64)
Terminal unknown
Shell cmd
Does this stop you from using Cursor
No - Cursor works, but with this issue