GitHub Copilot is extraordinary at guessing what line of code you are about to write next. It reads your active buffer, peeks into nearby tabs, and predicts boilerplate with uncanny precision. But the moment you switch projects, close an editor window, or try to recall that obscure jq filter you spent forty minutes debugging on Tuesday, Copilot draws a complete blank.
Copilot suffers from working-memory amnesia. It knows your open files, but it does not know your personal development history.
At 365Finds, our engineering workflow routinely spans multiple repositories, terminals, and scratchpads across both VS Code and JetBrains IDEs. For months, we struggled with the friction of losing ephemeral code snippets: brilliant one-off regex solutions generated by Copilot that vanished into chat scrollback, or tricky multi-service setup scripts that never quite justified a formal Git commit.
This is precisely where Pieces (specifically Pieces for Developers powered by PiecesOS) steps in. Rather than replacing GitHub Copilot, Pieces acts as its long-term memory layer. By pairing Pieces’ contextual asset management and Workstream Pattern Engine with Copilot’s generation engine—especially through the Model Context Protocol (MCP)—you can eliminate the constant copy-paste tax and build a persistent, cross-project coding brain.
Here is 365Finds’ practical guide on how to configure, structure, and master this dual-engine workflow.
The Division of Labor: Why You Need Both
Before configuring tools, it helps to understand why running both tools side by side makes sense rather than choosing between them.
| Dimension | GitHub Copilot | Pieces for Developers |
|---|---|---|
| Core Role | In-editor code generation and local workspace reasoning | Long-term memory, cross-app snippet curation, workflow tracking |
| Context Scope | Active file, open tabs, local repository (@workspace) | Cross-IDE, terminal history, browser documentation, saved snippets |
| Persistence | Ephemeral session memory; disappears on window reset | Persistent, searchable on-device database via PiecesOS |
| IDE Support | Primarily IDE-bound (VS Code, JetBrains, Visual Studio, Neovim) | Universal (VS Code, JetBrains, Chrome, Obsidian, system CLI) |
| Integration Protocol | GitHub Copilot Chat / Agent mode | Native MCP Server, REST API, IDE plugins |
At 365Finds, we look at the pairing this way: GitHub Copilot is your fast, reactive execution muscle. Pieces is your persistent hippocampus. Asking Copilot to remember how you handled OAuth token rotation across three separate microservices six months ago is asking for hallucinations. Storing that pattern in Pieces and piping it into Copilot Chat gives you exact, repeatable code.
Step 1: Connecting Pieces to GitHub Copilot via MCP
The most powerful way to combine both products is through Anthropic’s Model Context Protocol (MCP), which Pieces now natively supports. This allows GitHub Copilot Chat inside Visual Studio Code to directly call Pieces as a local context server.
Prerequisites
- PiecesOS and Pieces Desktop: Installed and running locally on macOS, Windows, or Linux.
- Visual Studio Code: With the official GitHub Copilot and GitHub Copilot Chat extensions enabled.
- Long-Term Memory (LTM): Activated within your Pieces settings.
Configuration
You can link the two environments either automatically via Pieces Desktop or manually in VS Code.
Method A: Automatic Connection
- Launch Pieces Desktop.
- Click your user profile in the top-left corner, navigate to Settings, and select Model Context Protocol (MCP).
- Scroll down to MCP Connections, locate GitHub Copilot, and click Connect.
- Pieces will automatically write the required endpoint configuration into your VS Code
settings.json.
Method B: Manual JSON Setup
If you manage your VS Code settings programmatically, open your global settings.json (Ctrl+Shift+P or Cmd+Shift+P -> Preferences: Open User Settings (JSON)) and add the Pieces SSE endpoint under mcpServers:
{
"mcpServers": {
"Pieces": {
"url": "http://localhost:39300/model_context_protocol/2024-11-05/sse"
}
}
}
Restart VS Code after saving. In GitHub Copilot Chat, toggle to Agent mode or use the @pieces participant to verify that Copilot can invoke Pieces tools (such as ask_pieces_ltm and snippet retrieval).
Step 2: Caching Ephemeral AI Brilliance into Persistent Snippets
One of the quietest productivity drains in AI pair programming is losing throwaway code. Copilot Chat frequently generates brilliant architectural sketches, database migrations, or complex shell scripts. Once you close the chat thread, that context is gone.
In our day-to-day work at 365Finds, we enforce a simple rule: If Copilot generates a script or utility that took more than two prompt iterations to refine, it goes straight into Pieces.
How to execute this:
- Highlight the generated code block inside your editor or Copilot Chat panel.
- Hit the Pieces capture shortcut (
Alt+Shift+Pon Windows/Linux,Option+Shift+Pon macOS) or right-click and choose Save to Pieces. - Let Pieces Enrich the Asset: Pieces automatically parses the language, detects dependencies, tags the snippet (e.g.,
#docker,#jwt,#fastapi), and generates a human-readable description. - Attach Origin Context: When you save from the browser or IDE, Pieces captures the source URL, repository path, and relevant git branch. Six weeks later, you won’t be staring at an anonymous 15-line bash function wondering what environment it was intended for.
Step 3: Bridging Context Across Multiple IDEs and Projects
Modern engineering rarely happens in a single VS Code window. You might build an API in Go using JetBrains GoLand, write the web client in VS Code, and reference API specifications in your browser.
GitHub Copilot does not synchronize context across different IDE processes. It treats every opened folder as a silo.
Pieces bridges this gap by acting as a universal clipboard and context hub:
- Shared Collections: Group related snippets into a Pieces Collection (e.g.,
Payment Gateway Migration). Whether you are in GoLand or VS Code, the Pieces side-panel displays the exact same collection. - Context Injection: When prompting Copilot Chat in your frontend project, invoke
@piecesto pull in data schemas, TypeScript interfaces, or API contracts captured while working in your backend environment. - Cross-App OCR: If an architect sketches a sequence diagram during a design review or posts a config screenshot in Slack, Pieces' on-device OCR can grab the code directly from the image and make it queryable for Copilot.
Step 4: Exploiting Long-Term Memory (LTM) for Lost Workflow History
Git history only records what you committed. It does not record the failed curl flags, the diagnostic logs you inspected, or the Stack Overflow documentation page you visited before arriving at the solution.
Pieces’ Workstream Pattern Engine (WPE) continuously indexes your local developer activity on-device. When combined with GitHub Copilot, you can recover working context that would otherwise require hours of backtracking.
Instead of writing vague prompts, you can ask GitHub Copilot Chat:
"@pieces What was the authorization header format I tested in the terminal yesterday afternoon for the staging auth service?"
Copilot delegates the query to the Pieces MCP server, which searches its local event log and returns the exact header snippet, allowing Copilot to synthesize the final implementation without leaving your editor.
What We Like—and What Still Annoy Us
At 365Finds, we prefer tools that tell the truth about their rough edges. Here is our unvarnished verdict on living with this stack:
What We Genuinely Like
- True Cross-IDE Portability: Being able to save an algorithmic helper in PyCharm and instantly pull it into VS Code via Pieces MCP solves a major headache in polyglot teams.
- Local-First Privacy: PiecesOS processes snippets, OCR, and pattern recognition locally. We appreciate that sensitive snippet context isn’t automatically uploaded to a third-party cloud vector index.
- Automatic Metadata: Manually tagging and describing snippets is something developers promise to do and never actually do. Pieces' auto-enrichment makes code salvage effortless.
What Annoy Us
- Resource Overhead: PiecesOS runs as a persistent background daemon. When you run PiecesOS, its local LLM features, Docker, and VS Code with GitHub Copilot simultaneously, memory usage creeps up quickly on machines with 16GB RAM. We recommend 32GB if you plan to keep Live Context running all day.
- Context Hoarding: If you leave WPE and automatic capture on unrestricted mode, Pieces can accumulate redundant clutter—like partial snippets copied from random web forms. You will need to prune your snippet library periodically.
- MCP Tool Latency: Querying
@piecesinside Copilot Chat introduces a short round-trip latency compared to native@workspacelookups. It is fast enough for deep queries, but noticeably slower than pure inline completions.
365Finds Recommendation
If you treat GitHub Copilot as a standalone completion tool, you are only using half of what AI-assisted development can offer. But running Copilot without an external memory engine forces you to constantly re-explain your architectural context.
365Finds recommends setting up Pieces alongside GitHub Copilot under two specific conditions:
- You work across multiple repositories, languages, or IDEs where Copilot's local workspace boundaries feel suffocating.
- You frequently deal with reusable boilerplate, shell scripts, or API integration patterns that fall outside your formal Git commit history.
Start simple. Install PiecesOS, wire the MCP server into your VS Code settings.json, and make it a habit to capture high-value Copilot outputs. The time saved from never having to rewrite that one perfect configuration snippet pays for the setup within the first week.