# How do I give Claude Code or Cursor context from Linear, Notion and GitHub?


URL: https://getunblocked.com/answers/claude-code-cursor-context-linear-notion-github/
Published: 2026-12-02T14:00:00Z
Updated: 2026-11-30T20:55:53Z
Author: Brandon Waselnuk
Categories: Context Engine, Engineering Insights

**Short answer:** Two ways. Add Linear's, Notion's and GitHub's own MCP servers to each agent, or connect all three to one context engine. With Unblocked, you connect Linear, Notion and GitHub as data sources once, then one MCP server gives Claude Code and Cursor a research tool that searches issues, pages, pull requests and code together and returns a cited answer.

---
There are two ways to give Claude Code or Cursor context from Linear, Notion and GitHub. You can add each vendor's own MCP server to each agent, or connect all three to a context engine and give the agent one MCP server. With Unblocked, an admin connects Linear, Notion and GitHub as data sources once. Each developer then runs one installer that sets up Claude Code, Cursor and other agents it finds. **A context engine** is a service that indexes your team's tools and answers an agent's question from all of them at once. Unblocked is one example: an agent can ask "why does checkout retry three times?" and get back the Linear issue, the Notion design doc and the pull request that set the limit.

## Option 1: add the Linear, Notion and GitHub MCP servers one by one

**An MCP server** is a service that exposes a tool's data to an AI agent through the Model Context Protocol. Linear, Notion and GitHub each host a remote one, and each documents setup for Claude Code and Cursor. Cursor is now Grok Build ([renamed November 30, 2026](https://grok.com/news/cursor-is-now-grok-build)), and it still reads `.cursor/mcp.json` and supports OAuth ([Grok Build MCP docs](https://docs.grok.com/build/agents-window/mcp)).

| Tool | Server URL | Claude Code | Cursor |
| --- | --- | --- | --- |
| Linear | https://mcp.linear.app/mcp | claude mcp add --transport http linear-server https://mcp.linear.app/mcp, then /mcp to sign in | One-click link in Linear's docs, or add the URL to .cursor/mcp.json |
| Notion | https://mcp.notion.com/mcp | claude mcp add --transport http notion https://mcp.notion.com/mcp, then /mcp | Add the URL to .cursor/mcp.json and complete OAuth |
| GitHub | https://api.githubcopilot.com/mcp | claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR\_GITHUB\_PAT"}}' | Same URL in .cursor/mcp.json |


Sources: [Linear MCP docs](https://linear.app/docs/mcp), [Notion MCP setup](https://developers.notion.com/guides/mcp/get-started-with-mcp), [GitHub MCP server install guide](https://github.com/github/github-mcp-server/blob/main/docs/installation-guides/install-claude.md).

Change two settings on day one. Linear gives "read-write access" by default; for an agent that should only read, connect to `https://mcp.linear.app/mcp/readonly` instead. GitHub's server lets you choose toolsets, and its README says "enabling only the toolsets that you need can help the LLM with tool choice and reduce the context size" ([GitHub MCP server](https://github.com/github/github-mcp-server)). In Claude Code, add `--scope project` and commit the resulting `.mcp.json` so "everyone on your team gets the same MCP tools" ([Claude Code MCP docs](https://code.claude.com/docs/en/mcp)).

## What three separate servers leave to the agent

With three servers, the agent still has to pick which one to ask and connect the results. A Linear issue rarely links the Notion spec it came from, and the pull request may cite neither, so the agent guesses at search terms in each tool. Our answer on [a context engine versus direct MCP servers](https://getunblocked.com/answers/context-engine-vs-direct-mcps-github-confluence-slack/) compares the two in full.

Raw results are the second cost. Claude Code's tool search defers tool definitions so "adding more MCP servers has minimal impact on your context window" ([Claude Code MCP docs](https://code.claude.com/docs/en/mcp)). The results still arrive raw: a 2026 study found that tool responses to coding agents "routinely exceed the agent's per-turn token budget." Its research method: read session logs from a public MCP middleware, then test on 500 SWE-bench Verified tasks with 4,800 LLM calls. In those logs, no agent asked for a second page of results ([arXiv 2608.26130](https://arxiv.org/abs/2608.26130)). The first page is what the agent works from. Our post on [what the GitHub MCP server costs in tokens](https://getunblocked.com/blog/github-mcp-token-cost/) measures the token side.

Our [Linear MCP](https://getunblocked.com/blog/linear-mcp/) and [Notion MCP](https://getunblocked.com/blog/notion-mcp/) posts cover each server.

## Option 2: connect Linear, Notion and GitHub to Unblocked once

1. **Connect the sources.** In Unblocked, open Settings, then Data Sources. Linear installs as a workspace app that a Linear admin approves, and you pick the teams to include ([Linear data source](https://docs.getunblocked.com/data-sources/linear.md)). For Notion, you select pages; picking a parent page means "any pages added to that space in the future will be automatically indexed" ([Notion data source](https://docs.getunblocked.com/data-sources/notion.md)). GitHub covers "repositories, pull requests, issues, and discussions" ([GitHub data source](https://docs.getunblocked.com/data-sources/github.md)).
2. **Install the MCP server.** Each developer runs `curl -fsSL https://getunblocked.com/install-mcp.sh | bash`. It installs the Unblocked CLI, "sets up each supported agent it finds, such as Claude Code, Cursor, OpenCode, and Windsurf," and adds skills that teach the agent when to call Unblocked ([Unblocked MCP overview](https://docs.getunblocked.com/unblocked-mcp/mcp-overview.md)). If you already have the CLI, `unblocked install` does the same. For a manual setup, the server URL is `https://getunblocked.com/api/mcpsse`.
3. **Check it.** Restart the agent, run `/mcp` in Claude Code, and ask it to use Unblocked to find the Linear issue behind a recent pull request.

Linear and Notion changes arrive through webhooks, GitHub pull requests sync in real time, and default-branch code is indexed at least every 8 hours. **Data Shield** is Unblocked's per-source setting that filters answers by each tool's own permissions; it is off by default for every source except Slack. With Data Shield on, answers respect each source's permissions, and it supports Linear issues, Notion pages and GitHub code, issues and pull requests ([Data Shield](https://docs.getunblocked.com/team-settings/data-shield.md)).

Gustavo Alvarez, Software Engineer, Sixfold: "My biggest use of Unblocked MCP has been AI governance — searching across Slack, fourteen Notion docs, S3, trying to understand where data lives and where the gaps are. There is no other way to humanly accomplish this task. It's an absolute godsend for getting context out of sources that don't talk to each other."

## What the agent gets back from one research call

Unblocked's `context_research` tool "runs a multi-source research query across code, pull requests, documentation, issues, and messaging." It returns a summary plus the specific sources behind it, "each with a title, URL, and relevant content" ([context research tool](https://docs.getunblocked.com/unblocked-mcp/mcp-context-research.md)). For a link someone pastes, such as a Linear issue or a Notion page, `context_get_urls` fetches that one item.

It changes the first prompt of a task. For example, instead of "read LIN-482, then search Notion for the spec, then find the PR," you write "plan LIN-482" and the agent starts from the issue, the spec and the earlier pull requests at once. Some teams we work with put one line in `CLAUDE.md` or their Cursor project rules (`.cursor/rules`): before changing code, ask Unblocked why the code is the way it is.

## Which setup to choose

Use the three vendor servers when your agent needs to write, such as creating Linear issues or editing Notion pages, or when one person works in one repository. Use a context engine when the answers sit across tools, when several developers and agents need the same context, or when you want one place to manage access. You can also run both: Linear's server for creating issues, Unblocked for research.

## Read more

- [Linear MCP: Sync Linear Tickets to Your AI Coding Agent](https://getunblocked.com/blog/linear-mcp/)
- [Notion MCP: Connect Notion to Claude Code and Cursor](https://getunblocked.com/blog/notion-mcp/)

## Related answers

- [What enterprise search works for a 50 to 300 person engineering team when Glean feels like too much?](https://getunblocked.com/answers/enterprise-search-mid-size-engineering-team/)
- [How do we cut ramp-up time for engineers joining a large existing codebase?](https://getunblocked.com/answers/cut-ramp-up-time-large-codebase/)
- [How do I give Claude Code docs for our internal SDK that isn't on the public internet?](https://getunblocked.com/answers/claude-code-docs-internal-sdk/)
- [Which AI assistants answer engineering questions in Slack with links to their sources?](https://getunblocked.com/answers/ai-assistant-engineering-questions-slack-sources/)
