Software development rarely breaks down because an AI model cannot write a function. It breaks down because the context required to write that function lives scattered across twenty browser tabs, an unresolved terminal stack trace, an architecture snippet from two sprints ago, and a Slack thread you can no longer find.
GitHub Copilot excels at local workspace code completion and file-level refactoring. But it operates in a silo: it knows your open repository, not your broader daily workflow. Pieces for Developers solves the opposite problem: it runs as an operating-system-level context engine, capturing snippets, terminal outputs, and research history.
At 365Finds, our stance is clear: do not treat Pieces as just another snippet manager, and do not run it as an isolated second chat sidebar alongside GitHub Copilot. Juggling two competing chat windows increases cognitive fatigue rather than curing it. The high-leverage setup is connecting Pieces directly to GitHub Copilot through the Model Context Protocol (MCP). By turning Pieces into a background context supplier and GitHub Copilot into the active execution agent, you eliminate the constant Alt+Tab copy-paste cycle.
Why Pair Pieces with GitHub Copilot?
Developers lose up to 40% of productive momentum to context switching. A typical workflow involves researching an API specification in Chrome, finding an auth snippet on GitHub, debugging a command in the terminal, and then manually pasting chunks of text into GitHub Copilot Chat with a verbose explanatory prompt.
| Capability | GitHub Copilot | Pieces | Combined MCP Workflow |
|---|---|---|---|
| Primary Role | In-editor code generation and agentic file refactoring | Long-term workflow memory and cross-app context capture | Copilot generates code grounded in your cross-tool research |
| Context Scope | Current active workspace and open editor tabs | System-wide: browsers, terminals, screenshots, saved snippets | Global workflow context surfaced inside the editor buffer |
| Interaction Surface | Inline autocomplete, Copilot Chat, Agent Mode | Desktop dashboard, OS background service, CLI | Single interaction point: Copilot Chat in VS Code |
| Context Switching Overhead | Requires manual copy-pasting of external research | Captures context passively, but requires retrieval | Zero manual switching; Copilot queries Pieces autonomously |
The Architectural Shift: Deprecating Plugins in Favor of MCP
Until recently, developers attempted to combine these tools by installing both the Pieces extension and the GitHub Copilot extension in their IDE. That created visual clutter, competing keyboard shortcuts, and duplicate AI sidebars.
Pieces made an architectural pivot: it officially deprecated individual IDE plugins and transitioned its entire ecosystem to the Model Context Protocol (MCP). Instead of running a heavy editor UI, PiecesOS acts as a local MCP server running in the background.
GitHub Copilot in VS Code now supports MCP natively through Agent Mode. In this setup, GitHub Copilot remains your single interface. When Copilot needs external documentation, historical code snippets, or a command you ran an hour ago, it queries Pieces via MCP tools without you ever leaving the code file.
Step-by-Step: Setting Up Pieces with GitHub Copilot via MCP
Step 1: Initialize PiecesOS and Long-Term Memory (LTM)
- Download and install Pieces Desktop and PiecesOS from the official site.
- Verify that PiecesOS is running in your system tray or menu bar.
- Open the Pieces Desktop App or the PiecesOS Quick Menu, navigate to settings, and enable Long-Term Memory (LTM).
- Allow Pieces to passively capture workflow context across your browser, terminal sessions, and snippet library.
Step 2: Configure the Pieces MCP Server in VS Code
You can wire Pieces into VS Code either automatically via the Pieces CLI or manually via configuration files:
Option A: Automated Setup (Pieces CLI)
pieces mcp setup
Select VS Code from the terminal prompt and confirm whether you want user-wide or workspace-specific configuration.
Option B: Manual Setup (mcp.json)
Open your VS Code MCP configuration (via Command Palette MCP: Open User Configuration or in .vscode/mcp.json) and register the local Pieces SSE endpoint:
{
"mcpServers": {
"Pieces": {
"url": "http://localhost:39300/model_context_protocol/2024-11-05/sse"
}
}
}
Tip: If your local port varies, verify the active endpoint under the PiecesOS Quick Menu under the MCP tab.
Step 3: Switch GitHub Copilot Chat to Agent Mode
- Open the GitHub Copilot Chat sidebar in VS Code (
Ctrl+Alt+Ion Windows/Linux orCmd+Ctrl+Ion macOS). - Switch the chat dropdown mode from Ask to Agent Mode.
- Confirm that GitHub Copilot detects the Pieces MCP tools (such as querying long-term memory and saved snippets).
Real-World Workflow: Zero Alt-Tab Development
Once configured, your daily routine shifts from manual searching to direct intent prompting:
1. Researched an API endpoint in your browser?
Instead of copying curl parameters and header definitions into your editor:
Prompt in Copilot Agent Mode: "Using the payment webhook payload structure I researched earlier today in Pieces, generate a Zod validation schema and the corresponding Express route handler."
Copilot triggers the Pieces MCP tool, pulls the payload specification captured during your browsing session, and writes the TypeScript schema directly into your project.
2. Solved a Docker or build error in your terminal earlier?
Instead of digging through your terminal scrollback or shell history:
Prompt in Copilot Agent Mode: "Retrieve the Prisma migration flag workaround I ran in the terminal this morning from Pieces and add it to our project's Makefile."
Copilot queries Pieces LTM for recent terminal command executions and inserts the exact command without you switching windows.
365Finds Judgment: Strengths and Necessary Caveats
At 365Finds, we strongly endorse pairing Pieces with GitHub Copilot via MCP over standalone snippet hoarding. It delivers what developer tooling has promised for years: ambient context delivered to the cursor without friction.
However, two practical trade-offs demand realistic consideration:
- Hardware Resource Footprint: PiecesOS runs background indexing, OCR, and local embeddings. On machines with limited RAM (16 GB or lower running heavy Docker containers), running PiecesOS alongside VS Code and a web browser can cause noticeable memory pressure.
- Context Hygiene: Pieces' Long-Term Memory captures broad desktop context. If you spend an hour casually browsing unrelated technical blogs or debugging irrelevant issues, Copilot's Agent Mode can occasionally retrieve loose or tangential context. Explicit prompting—mentioning the specific topic or tool name—keeps Copilot focused.
- Data Boundary Awareness: While PiecesOS keeps your memory repository local on your machine, queries made through GitHub Copilot transmit retrieved snippets to Copilot's cloud models. Teams with strict data sovereignty policies must ensure their GitHub Copilot enterprise agreement excludes code telemetry and snippet training.
The verdict: stop keeping snippets in scattered text files and stop copying terminal dumps into Copilot prompts. Run PiecesOS silently in the background, plug it into VS Code with MCP, and let GitHub Copilot do the work.