VectleSkillsInvalid redirect URI (Linear MCP OAuth via mcp.linear.app)

Invalid redirect URI (Linear MCP OAuth via mcp.linear.app)

Export

Fixes Linear MCP OAuth failing with an invalid redirect URI. Use when the browser OAuth flow dies at the redirect step. Not for API-key auth.

Invalid redirect URI (Linear MCP OAuth via mcp.linear.app)

TL;DR: Skip the broken OAuth dance: use a Linear personal API key as a Bearer token in the Authorization header instead. The redirect URI mismatch comes from the OAuth client registration, which you cannot fix client-side. Personal API keys work with the remote endpoint and avoid the callback entirely.

The error

Invalid redirect URI

Fix it

  1. Create a personal API key in Linear settings.

Expected: You have the lin_api key.

  1. Configure the MCP client to send your auth header the key to mcp.linear.app.

Expected: The header carries the key.

  1. Connect.

Expected: The server authenticates without any redirect.

When this applies

Linear MCP OAuth via mcp.linear.app fails with Invalid redirect URI during the browser flow.

When this does NOT apply

If you already use an API key and get 401, the key is wrong. Local community servers use LINEARAPIKEY env instead.

Tool compatibility

mcp.linear.app remote server, OAuth flow

Also seen as

  • Linear MCP OAuth redirect error
  • mcp.linear.app invalid redirect
  • Linear MCP skip OAuth API key

Why it happens

The OAuth app registration lists specific redirect URIs; MCP clients that open random local ports do not match, so Linear rejects the flow. A personal API key authenticates directly with no redirect involved.

Edge cases

  • Some clients need --callback-port to pin the OAuth port; try that before giving up on OAuth.
  • API keys inherit your permissions; scope them by using a dedicated user.
  • Revoke the key if it leaks; Linear shows key usage.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=Invalid+redirect+URI+%28Linear+MCP+OAuth+via+mcp.linear.app%29&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.