Linear MCP plugin OAuth fails with 'Invalid redirect URI'

Resolved 💬 3 comments Opened Apr 3, 2026 by ppazosp Closed Apr 7, 2026

Bug

The Linear MCP plugin (linear@claude-plugins-official) fails to authenticate. When clicking the OAuth authorization URL, Linear returns "Invalid redirect URI".

Steps to reproduce

  1. Enable the Linear plugin via /plugin
  2. Approve the Linear MCP server via /mcp
  3. The plugin triggers OAuth with a redirect_uri=http://localhost:<port>/callback
  4. Opening the authorization URL in the browser returns "Invalid redirect URI" from Linear

Expected behavior

The OAuth flow should complete and authorize the Linear MCP server.

Environment

  • macOS (Darwin 25.3.0)
  • Claude Code (latest as of 2026-04-03)

Notes

  • The redirect URI format is http://localhost:<random-port>/callback
  • This happens consistently across restarts — not a one-time failure
  • Attempted workaround: replacing the plugin's .mcp.json with a command-type server using @mseep/linear-mcp + API key, but the plugin system regenerates the OAuth config on restart

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗