If you spend your entire working day inside a single VS Code window, GitHub Copilot feels almost psychic. It reads your open tabs, follows your naming conventions, and autocompletes function bodies before you finish typing the signature.
The illusion collapses the moment you leave that window.
Modern development rarely happens in a single editor. You might build your Spring Boot or Go backend in JetBrains IntelliJ, debug a Next.js front end in VS Code, inspect an API schema in the browser, and tweak Docker configs in the terminal. When you return to VS Code and ask GitHub Copilot Chat how you structured the authentication middleware two hours ago in IntelliJ, Copilot stares back blankly. Its context boundary is the current repository workspace. It has zero cross-IDE memory.
This is where Pieces enters the picture. Instead of trying to replace GitHub Copilot’s inline autocomplete, Pieces acts as an operating-system-level long-term memory (LTM) layer. Through the Model Context Protocol (MCP), Pieces integrates directly into GitHub Copilot Chat, enabling Copilot to query your cross-IDE workflow, saved snippets, and research history on demand.
At 365Finds, we consider context fragmentation one of the sharpest friction points in AI-assisted engineering. Here is exactly how the Pieces and GitHub Copilot integration works, how to configure it across multiple environments, and where its practical limits lie.
The Architecture: Why PiecesOS Solves the Multi-IDE Problem
To understand why this pairing works, you have to look at where each tool lives in your operating system.
GitHub Copilot is editor-bound. Whether installed in VS Code, Visual Studio, or JetBrains IDEs, Copilot spins up within the host editor process. It inspects local workspace files, git status, and immediate editor tabs. When you switch IDEs, you enter a separate process sandbox. Copilot cannot natively see what happened in your other editor.
Pieces approaches the problem from the outside in:
- PiecesOS as the Local System Daemon: Pieces runs as a background service (
PiecesOS) directly on macOS, Windows, or Linux. It operates independently of any IDE. - Passive Context and Workstream Ingestion: PiecesOS monitors your developer workflow, indexing code snippets, terminal commands, documentation visited in the browser, and metadata (language, source project, tags, and timestamps) into a local Long-Term Memory engine.
- The MCP Bridge: Pieces recently sunsetted its fragmented collection of standalone IDE plugins in favor of the Model Context Protocol (MCP). PiecesOS runs a local MCP server (typically listening on
http://localhost:39300). - Agentic Consumption in Copilot: When GitHub Copilot Chat runs in Agent mode, it discovers the Pieces MCP server as an external tool provider (
ask_pieces_ltm).
Instead of copying code from IntelliJ into a scratchpad, opening VS Code, and pasting it into GitHub Copilot’s prompt window, Copilot queries PiecesOS directly over the local MCP connection.
Step-by-Step Setup: Connecting Pieces to GitHub Copilot
Setting up the cross-IDE context pipeline requires three components: PiecesOS running locally, Long-Term Memory enabled, and GitHub Copilot configured to query the Pieces MCP endpoint.
Step 1: Install and Run PiecesOS
- Download and install the Pieces Desktop App and PiecesOS from the official Pieces website.
- Launch PiecesOS and verify it is running in your system tray or menu bar.
- Open the Pieces Desktop App, go to Settings, and ensure Long-Term Memory (LTM) is toggled on. This allows PiecesOS to build a temporal index of your coding activity across active applications.
Step 2: Retrieve the Pieces MCP Configuration
- In the Pieces Desktop App, navigate to Settings > Model Context Protocol (MCP) (or Connected Applications).
- Locate the MCP Server connection details. Pieces exposes a local endpoint (such as
http://localhost:39300/model_context_protocol/v1/sse). - Copy the preconfigured JSON configuration snippet provided in the app.
Step 3: Add Pieces to Your IDE MCP Settings
GitHub Copilot supports MCP tool integrations inside supported environments like VS Code.
In VS Code:
- Open your user settings or create/edit your workspace MCP configuration (
settings.jsonor.vscode/mcp.json). - Add the Pieces MCP server entry:
{
"mcpServers": {
"pieces": {
"url": "http://localhost:39300/model_context_protocol/v1/sse",
"type": "sse"
}
}
}
- Restart or reload your editor to register the MCP server tools.
Step 4: Query Across Environments in GitHub Copilot Chat
Open GitHub Copilot Chat in your primary editor (Ctrl + Alt + I on Windows/Linux or Cmd + Ctrl + I on macOS):
- Set the chat interaction mode to Agent (or invoke the
@piecesparticipant if configured). - Prompt Copilot using temporal and cross-project questions:
- "What PostgreSQL schema migration did I write in IntelliJ earlier this morning?"
- "Find the error handling utility I saved while debugging the auth service in the terminal yesterday."
- "Based on the API spec I reviewed in the browser 30 minutes ago, generate the client fetch function for this React component."
GitHub Copilot calls the underlying ask_pieces_ltm tool, retrieves the relevant context block from PiecesOS, and generates code that reflects what you did outside the active editor window.
The 365Finds Assessment: What Works and What Stumbles
At 365Finds, we strongly prefer tools that solve systemic workflow problems over tools that merely add another chat sidebar.
What We Like
- The Pivot to MCP: Pieces made an aggressive, correct call by abandoning maintenance of dozens of brittle IDE plugins in favor of standard MCP. When you update your JetBrains suite or migrate from VS Code to another MCP-ready client, your memory layer doesn't vanish.
- Local-First Privacy: PiecesOS stores and indexes workstream data locally on your drive. You are not shipping your entire system clipboard and browsing history to a third-party hosted cloud memory broker just to give Copilot extra context.
- True Multi-Stack Continuity: If you manage a polyglot system—say, Rust backend in CLion and TypeScript frontend in VS Code—the cognitive cost of re-explaining architecture to Copilot every time you switch windows drops noticeably.
Where You Will Hit Friction
- Resource Footprint: Running PiecesOS constantly in the background alongside heavy IDEs (especially JetBrains instances) and local language servers demands memory. On a machine with 16 GB of RAM, you will notice the overhead; 32 GB is practically necessary for a fluid experience.
- Context Noise: Long-term memory captures what you do, including mistakes, dead-end terminal experiments, and quick web searches. If your query to Copilot is vague, Copilot may latch onto an abandoned code draft retrieved by Pieces rather than your finalized logic. You still need to be specific about timeframes and filenames.
The Verdict
If you only use GitHub Copilot for quick inline line completions inside a single repository, adding Pieces is unnecessary overhead.
However, if your daily engineering workflow is split across multiple IDEs, terminals, and documentation windows, GitHub Copilot’s single-workspace blind spot is a constant tax. By using PiecesOS as a local MCP memory provider, you turn GitHub Copilot from an amnesiac pair programmer into an assistant that understands your full, continuous workday across every editor on your machine.