
Give Cursor access to Linear
You copy ticket details into the editor by hand before every task.
How it connects
This setup is for developers who plan work in Linear and write code in Cursor. Cursor's agent reads a Linear issue by its ID, plans the change from the description and comments, and opens a GitHub pull request linked back to the issue. You stop copying ticket text into the editor by hand.
Set it up
1Add Linear to Cursor
Open Cursor Settings > MCP (Tools & Integrations in newer versions) and add a new server. Use Linear's remote server URL, https://mcp.linear.app/mcp, in your mcp.json. Save the file and wait for the server to show as connected.
Tip: Put it in the project's .cursor/mcp.json if only one repo needs Linear, or in your global config for all projects.
2Authorise your workspace
When Cursor first calls Linear, a browser window opens for OAuth. Sign in and pick the workspace your team uses, then return to Cursor. Ask the agent to list your assigned issues to confirm it sees the right workspace.
Tip: If you switch workspaces later, remove and re-add the server to re-authorise.
3Reference issues in prompts
In Agent mode, ask Cursor to read an issue by ID, such as ENG-412, and propose a plan before writing code. Check the plan against the issue's acceptance criteria and comments. Then let it make the change in your branch.
Tip: Ask the agent to post a short progress comment on the Linear issue when it finishes.
4Open the pull request
Add GitHub's MCP server with a fine-grained token that can create branches and pull requests in the repository. Ask Cursor to open a PR with the Linear issue ID in the title or branch name. Linear's GitHub integration then links the PR to the issue automatically.
Tip: Linear's GitHub integration must be enabled in Linear settings for the automatic link.
Then just ask
Good to know
What you need
- Cursor with Agent mode
- A Linear account in the workspace you want to use
- A GitHub fine-grained token with pull request access
- Linear's GitHub integration enabled for automatic PR linking
Limits
- The agent only knows what is in the issue, its comments and your repo; decisions made in meetings stay invisible.
- OAuth access uses your Linear permissions, so the agent can see every team you can.
- Long issue threads can take up context space; ask for a summary first on big issues.
Keep it safe
- Use OAuth rather than a personal API key where possible.
- Review any issue updates Cursor proposes.



