GitHub Copilot is fast at line-level autocomplete, but it suffers from immediate workspace amnesia. The minute you close a tab, jump to documentation in Chrome, or solve an obscure database migration bug in a terminal window, Copilot forgets it ever happened. Its attention is strictly bounded by active files and the immediate repository workspace.
Pieces fixes this blind spot. Instead of trying to replace GitHub Copilot, Pieces positions itself underneath it as an external memory bank. By running a local daemon (PiecesOS), capturing workflow history across applications through its Long-Term Memory (LTM) engine, and exposing that data via the Model Context Protocol (MCP), Pieces allows GitHub Copilot to query your cross-tool development history on demand.
At 365Finds, we prefer this decoupled architecture over monolithic "all-in-one" AI editors. You keep GitHub Copilot’s established code generation inside VS Code, while Pieces silently tracks what you actually did across your desktop.
The Core Problem: Why GitHub Copilot Needs an External Memory
Standard GitHub Copilot relies on local context windows: open tabs, recent cursor movements, git diffs, and relevant project files. It does not know:
- The Stack Overflow thread or API documentation page you read forty minutes ago.
- The command you executed in your terminal to fix a broken brew dependency yesterday.
- The authentication snippet you wrote three weeks ago in a completely different repository.
When you ask Copilot Chat a question that relies on past decisions outside the active workspace, it either hallucinates or gives a generic textbook response. Manually copying snippets back and forth or pasting long documentation chunks into chat windows is tedious work that breaks coding flow.
How Pieces Bridges the Context Gap via MCP
Pieces operates as a two-tier system: a background operating service and a standardized context provider.
+-------------------------------------------------------+
| Developer Desktop (Browsers, Terminal, Slack, IDE) |
+-------------------------------------------------------+
|
(Passive & Active Capture)
v
+-------------------------------------------------------+
| PiecesOS + Long-Term Memory Engine |
| (Local Vector Storage, Temporal Knowledge Graph) |
+-------------------------------------------------------+
|
(Model Context Protocol / MCP)
v
+-------------------------------------------------------+
| GitHub Copilot (VS Code / Copilot Chat) |
| Answers grounded in cross-tool workflow history |
+-------------------------------------------------------+
1. PiecesOS and Long-Term Memory (LTM)
PiecesOS runs as a background process on macOS, Windows, or Linux. With Long-Term Memory enabled, it indexes developer activity across browser extensions, terminal sessions, and saved snippets. It constructs a chronological, local knowledge graph of code blocks, documentation URLs, and technical notes.
Crucially, Pieces processes this context locally on your machine. 365Finds considers this local-first approach essential: feeding an entire desktop history to a third-party cloud service would be an unacceptable security risk for proprietary codebases.
2. The Model Context Protocol (MCP) Bridge
Rather than maintaining a fragile custom chat extension for every IDE update, Pieces acts as an MCP server. MCP is an open standard that allows AI assistants like GitHub Copilot to discover and call local tools.
When connected, GitHub Copilot Chat gains access to Pieces tools, such as searching past snippets, retrieving recent clipboard history, and querying LTM for specific development sessions.
Step-by-Step Setup: Connecting Pieces to GitHub Copilot
Integrating the two tools does not require custom scripting. Pieces Desktop provides automated wiring for MCP-compatible editors.
Step 1: Install and Run PiecesOS
Download and launch PiecesOS along with the Pieces Desktop application. PiecesOS must remain running in the background to maintain context capture and host the local MCP endpoint.
Step 2: Enable Long-Term Memory
In the Pieces Desktop app (or via the PiecesOS quick menu in the system tray/menu bar):
- Navigate to Settings > Long-Term Memory.
- Toggle LTM On.
- Choose your capture scope (browser plugins, IDE extensions, or broader system activity).
Step 3: Connect Pieces MCP to GitHub Copilot
Pieces simplifies MCP registration:
- Open Pieces Desktop and go to Settings > Model Context Protocol (MCP).
- Locate GitHub Copilot (or VS Code) in the client list.
- Click the connect button to automatically register the Pieces MCP server configuration into your editor's MCP settings.
For manual configurations (such as custom VS Code MCP extensions or config files), retrieve your local endpoint URL directly from the Pieces MCP settings panel. It standardizes on a local HTTP endpoint:
http://localhost:39300/model_context_protocol/2025-03-26/mcp
Step 4: Query Across Tools in Copilot Chat
Open VS Code and bring up GitHub Copilot Chat. You can now prompt Copilot to retrieve historical context that never existed in the current project repository:
"What was the Docker Compose configuration I tested yesterday for the Redis caching layer?"
"Pull the API error handling pattern from the docs I browsed this morning and adapt it to this controller."
GitHub Copilot invokes the Pieces MCP server, inspects the local LTM timeline, and incorporates the retrieved snippet or documentation context directly into the generated output.
365Finds Assessment: Practical Trade-offs
365Finds strongly backs the pairing of Pieces with GitHub Copilot, but developers should go in with clear eyes regarding hardware and noise trade-offs.
| Dimension | Pieces + GitHub Copilot Pairing | Standalone GitHub Copilot |
|---|---|---|
| Context Scope | Cross-app: browser tabs, terminal, past repos, snippets | Strictly active repository files and open editor tabs |
| Data Privacy | Workflow history and vector indices stay local on-device | Workspace snippets sent to cloud LLM per Copilot policy |
| System Overhead | Moderate RAM and CPU footprint from running PiecesOS daemon | Minimal local footprint; heavy lifting handled in cloud |
| Noise Potential | Occasional indexing of unrelated browser tabs if uncurated | Zero cross-app noise; limited exclusively to project code |
The background daemon does consume local resources. If you are developing on an 8GB RAM machine, running PiecesOS alongside Docker and VS Code will create memory pressure. Furthermore, LTM capture requires periodic curation; if you do not configure domain exclusion rules, non-technical web browsing can pollute query recall.
Pieces exposes standard MCP tools including snippet search and timeline queries over a local HTTP transport endpoint hosted by default on port 39300.