All answers

We use Copilot and Claude Code on our repo. What does a context engine add?

Brandon WaselnukBrandon Waselnuk·Nov 16, 2026·Context Engine · Engineering Insights

Copilot and Claude Code already see your code, your instruction files and their own memory. A context engine adds what sits outside the repo: PR history, Slack decisions, Jira tickets, incidents and other repos. Unblocked connects to both tools over one MCP server and returns the same cited answer to each, so the two agents stop working from different notes.

Copilot and Claude Code both see the code in front of them, the instruction files you commit, and notes they keep for themselves. What neither sees on its own is the history around the code: why a PR was merged, what the team decided in Slack, which Jira ticket asked for the change, what broke in the last incident, and how the next repo calls yours. A context engine adds that. A context engine is a service that indexes code, PRs, tickets, docs, chat and incidents together, works out which source is current, and returns one cited answer to whatever agent asks. Unblocked is one example: it plugs into Claude Code and into GitHub Copilot agent mode in VS Code and JetBrains through the same MCP server, so both tools get the same answer to the same question. In brief: the two agents keep what they have and stop guessing at what lives outside the repo.

What Copilot already sees#

Copilot reads more than the open file. Repository custom instructions live in .github/copilot-instructions.md, and path-specific instructions apply to matching files. Copilot also reads agent instructions "in files called AGENTS.md, CLAUDE.md, or GEMINI.md," though not every Copilot feature supports them (GitHub docs).

Copilot Spaces are shared bundles of context that Copilot answers from. "Spaces can include repositories, code, pull requests, issues, free-text content like transcripts or notes," and GitHub sources are "automatically updated as they change." In the IDE you reach a space through the GitHub MCP server (GitHub docs). The boundary is GitHub. A Slack decision or a Jira ticket gets into a space only if someone pastes or uploads it, and then it stops changing.

Copilot Memory is a store of facts Copilot picks up while it works. Repository facts "are shared with your collaborators," and "the default expiry period is 90 days." The clock resets only when Copilot validates a memory and upvotes it (GitHub docs). In VS Code, memory stays off until you turn on a local setting. Those memories serve Copilot's own surfaces. Claude Code never sees them.

What Claude Code already sees#

Claude Code starts each session with the CLAUDE.md files you write and its own auto memory. Auto memory is a set of notes Claude Code writes from your corrections, such as "always use pnpm, not npm." Anthropic advises keeping each CLAUDE.md "under 200 lines," and only the first 200 lines or 25KB of the memory index load at session start. Auto memory "is machine-local," and its files "are not shared across machines or cloud environments" (Claude Code docs). What one engineer's Claude learned stays on that laptop.

For everything else, Claude Code uses MCP. A project-scoped server lives in .mcp.json, which you check in "so everyone on your team gets the same MCP tools and services." Claude Code warns when one tool result passes 10,000 tokens and caps it at 25,000 by default (Claude Code docs). Size matters, because models show "significant performance degradation as context length increases" (Cao et al., March 2026). We measured the same prompt on the same model and repo on 2026-04-16: with Unblocked attached, Claude used 42 percent fewer tokens and 29 tool calls instead of 80 (same prompt, same model, different context). The direct MCPs answer covers that tradeoff.

What both are missing#

Put the two side by side and the gap is the same for both tools.

CopilotClaude CodeContext engine
Instruction filescopilot-instructions.md, AGENTS.md, CLAUDE.mdCLAUDE.md, AGENTS.mdReads both
Own memoryPer repo, 90-day default expiryPer repo, one machine onlyShared by every agent
PRs and issuesThrough Spaces and the GitHub MCPThrough an MCP serverIndexed with the code
Slack, Jira, incidentsPasted text onlyOne raw MCP per sourceIndexed and reconciled
Other reposRepos you add to a SpaceRepos on disk or via MCPAll connected repos

Neither tool, by default, reads the PR discussion that explains why the retry limit is five, the Slack thread where the team stopped writing to the old table, or the incident review behind a deploy freeze.

For example, in a made-up case, an engineer asks Copilot to add a field to the billing webhook. Copilot reads the handler and the instructions file and writes a clean change. Two weeks earlier, a Slack thread had moved webhook consumers to a new schema, and an incident had capped the payload size. Copilot saw neither. A teammate asking Claude Code the same question that afternoon gets a different wrong answer, built from different notes.

The 2026 Stack Overflow survey named Claude Code (66 percent) and GitHub Copilot (59 percent) the agents of choice, and 93 percent of developers need source attribution to trust AI output (Stack Overflow).

How Unblocked fits into both tools#

Unblocked runs as one remote MCP server that both tools call. Its main tool, context_research, does "multi-source research across code, PRs, docs, issues, and messaging" and "returns a synthesized answer with citations." Another tool, context_get_rules, returns the coding rules Unblocked pulls from a repository's AGENTS.md and CLAUDE.md files (Unblocked docs). So both agents read the same rules and the same history. How it decides which source wins is in inside the Unblocked context engine.

Setup is one config per tool. In VS Code, Unblocked "works with VS Code's built-in MCP support, including GitHub Copilot agent mode." Commit .vscode/mcp.json to share the server, and "each user authenticates with their own Unblocked account" (Unblocked docs). JetBrains has its own guide, and one MCP for Claude Code, Codex and Devin has the Claude Code config. On Copilot Business or Enterprise, an admin must first turn on the "MCP servers in Copilot" policy, which "is disabled by default" (GitHub docs).

With Data Shield on, answers include only what the asking user can see in each source. It is off by default for each source except Slack, where it "is always enabled" (Unblocked docs). Turn it on per source before rollout.

When you do not need one#

If the work fits in one repo, the team is small, and decisions get written into the code or the instructions file, then the two tools' own files cover most of it. Keep them short and point both tools at the same AGENTS.md.

You need more when the two agents give different answers to the same question, or when either one repeats a choice the team dropped in Slack. That means the context lives outside the repo. For why a store of notes alone does not fix it, read a context layer is not a context engine.