Linear API key, OAuth and MCP

Create issues, read cycles and track Linear projects from your tools. The API key is created in 3 steps et voyage dans l'en-tête de chaque appel. OAuth is used when the access must act on behalf of other accounts. An official MCP server (mcp.linear.app) connects it to Claude, ChatGPT or Le Chat.

Project management and organisation · Projects and development

Linear

Create issues, read cycles and track Linear projects from your tools.

  • GraphQL
  • Key or personal token
  • OAuth
  • Official MCP server
  1. 1

    Ouvrez Paramètres, Compte, puis Sécurité et accès.

  2. 2

    Sous Clés d'API personnelles, créez une clé et limitez-la aux équipes utiles.

  3. 3

    Copiez-la : elle commence par lin_api_.

Send with every call
Authorization: <key>   (no Bearer for a personal key)
Test the key
curl -X POST https://api.linear.app/graphql \
  -H "Authorization: $LINEAR_CLE" \
  -H "Content-Type: application/json" \
  -d '{"query":"{ viewer { id name } }"}'

Your questions about Linear.

Where do you create a Linear API key?

Ouvrez Paramètres, Compte, puis Sécurité et accès. Sous Clés d'API personnelles, créez une clé et limitez-la aux équipes utiles. Copiez-la : elle commence par lin_api_.

How do you check that Linear access works?

With a call that changes nothing, on the GraphQL API of Linear, l'en-tête Authorization: … en place. The “API key” tab gives the command to copy. A 200 response confirms the key; a 401 or 403 error means it is wrong, expired or too restricted.

Do you need OAuth with Linear?

Only if the access must act on behalf of accounts other than yours. Settings, API, OAuth applications: create the app, then the flow at https://linear.app/oauth/authorize; send the resulting token with Bearer.

Does Linear have an official MCP server?

Official MCP server. Its address: https://mcp.linear.app/mcp. OAuth sign-in with your Linear account. The “MCP server” tab explains how to add it in Claude, ChatGPT or Le Chat.

What precautions should you take with Linear access?

One key per use.. One for the CRM, another for the website. If one leaks, you revoke only that one.