GitHub Copilot writes code fast. Give it a file, place your cursor, and it guesses the next lines with uncanny speed. But ask it what you were wrestling with in a different editor two hours ago, or how you configured the database connection over in PyCharm before switching to Visual Studio Code, and it draws a blank. Copilot lives in the immediate present of the active repository.
That boundary frustrates developers who jump across environments. You write an API endpoint in IntelliJ, switch to VS Code to build the React frontend, check API schemas in the browser, and test payloads in the terminal. Copilot in VS Code knows nothing about what happened in IntelliJ unless you manually copy-paste code blocks into chat prompts.
Pieces attacks this problem from the opposite end. It does not try to out-autocomplete GitHub Copilot; it acts as a persistent, local memory layer for your entire workstation. At 365Finds, we have tracked how AI developer tools handle multi-tool workflows, and pairing Pieces with GitHub Copilot represents one of the most practical setups available—provided you understand how their roles divide and where the setup currently hits friction.
The Division of Labor: Muscle vs. Memory
Before configuring anything, understand what each tool is built to do:
- GitHub Copilot is the generation engine. It excels at inline autocompletion, rapid boilerplate creation, unit test drafting, and repository-scoped refactoring.
- Pieces is the long-term context index. Running locally via PiecesOS, it tracks your development workstream across editors, browser tabs, terminal sessions, and snippet libraries. It captures snippets, notes, terminal outputs, and screenshots, indexing them with local Long-Term Memory (LTM).
Pieces previously offered standalone plugins across half a dozen IDEs, but it has fundamentally shifted its architecture: Pieces has sunset legacy plugins in favor of the Model Context Protocol (MCP). Instead of juggling separate editor extensions, PiecesOS now functions as an MCP server. This allows GitHub Copilot (specifically within VS Code and MCP-compatible environments) to query your cross-IDE Pieces history as an external context tool.
Step 1: Install and Configure PiecesOS with Long-Term Memory
The backbone of this workflow is PiecesOS, which runs locally on macOS, Windows, or Linux.
- Install PiecesOS and Pieces Desktop: Download both from the official Pieces website. PiecesOS runs quietly in the system tray or menu bar.
- Enable Long-Term Memory (LTM): Open the Pieces Desktop App, head into Settings, and turn on the Long-Term Memory engine (LTM). This enables Pieces to capture contextual signals from your active windows, terminal commands, and clipboard snippets without requiring manual bookmarking for every line of code.
- Set Privacy and Exclusions: We strongly recommend configuring capture exclusions immediately. Exclude password managers, private credential vaults, and proprietary internal directories where you do not want background OCR or snippet tracking running.
Step 2: Connect Pieces to GitHub Copilot via MCP
With PiecesOS indexing your workflow, you need to expose that context to GitHub Copilot in your primary development environment (Visual Studio Code).
- Retrieve the Pieces MCP Configuration:
- Open the Pieces Desktop App and navigate to Settings > Model Context Protocol (MCP).
- Pieces displays the local endpoint configuration (typically using Server-Sent Events or local process transport via
localhost:39300).
- Configure VS Code:
- Ensure both the GitHub Copilot and GitHub Copilot Chat extensions are installed and updated in Visual Studio Code.
- In VS Code, configure your MCP server settings (
.vscode/mcp.jsonfor a specific project or your global VS Code MCP configuration). Add the Pieces MCP server block provided in your Pieces settings:{ "mcpServers": { "pieces": { "url": "http://localhost:39300/model_context_protocol/2024-11-05/sse" } } } - Save the file. VS Code will detect the server and prompt you to trust and enable the Pieces MCP connection.
- Verify Tool Availability:
- Open GitHub Copilot Chat (
Ctrl + Alt + Ion Windows/Linux orCmd + Ctrl + Ion macOS). - Switch the Copilot Chat mode from standard Ask mode to Agent mode.
- Type
/or review available agent tools to confirm that Pieces tools (such as searching snippets, fetching workflow context, or querying recent activities) are recognized by Copilot.
- Open GitHub Copilot Chat (
Step 3: Bridging the Cross-IDE Gap in Daily Work
Here is how the combined workflow functions across different coding tasks:
Scenario A: Moving Backend Logic from JetBrains into Frontend VS Code
You spend the morning in JetBrains GoLand or PyCharm defining API response contracts and data models. When you open VS Code in the afternoon to consume those endpoints in a frontend component, Copilot's local repository context is completely unaware of the Go or Python files sitting in the other project folder.
Instead of hunting for those files and copying their definitions:
- Open GitHub Copilot Chat in Agent mode in VS Code.
- Prompt Copilot:
"Look up the UserProfile schema I worked on this morning via Pieces and generate a TypeScript interface matching those fields." - Copilot queries the Pieces MCP server, locates the UserProfile structure from your morning session, pulls the field definitions, and writes the TypeScript interface directly into your frontend project.
Scenario B: Reviving Ephemeral Terminal Commands and Error Solutions
You resolved a tricky Docker build error or Kafka configuration script inside your terminal yesterday, but you didn't commit it to git.
- Pieces automatically captured the snippet and terminal command.
- In VS Code, prompt GitHub Copilot Chat:
"Search Pieces for the Docker compose command I ran yesterday to debug the memory leak." - Copilot retrieves the exact command from PiecesOS memory and pastes it into your chat or editor buffer.
Scenario C: Working in Non-MCP IDEs
If you are actively coding inside JetBrains IDEs or another editor where GitHub Copilot does not yet offer direct MCP client integration, you still retain the shared history:
- PiecesOS continues running in the background, logging work from your JetBrains IDE.
- When you need cross-referencing, trigger the Pieces Quick Menu (
Cmd + Shift + VorCtrl + Shift + V) to grab context, or jump into VS Code where Copilot can query the full timeline.
Where the Friction Lies: 365Finds' Honest Assessment
While the combination solves context amnesia, it is not without real tradeoffs:
| Aspect | GitHub Copilot Alone | Pieces + GitHub Copilot | 365Finds Take |
|---|---|---|---|
| Context Scope | Current repository and open tabs | Workstation-wide (all IDEs, browser, terminal) | Major upgrade for multi-repo and multi-IDE engineers |
| Resource Footprint | Lightweight cloud calls | Requires local PiecesOS background engine | PiecesOS consumes noticeable RAM and CPU during intensive indexing |
| Setup Complexity | Plug-and-play extension | Requires PiecesOS install, LTM configuration, MCP setup | Worth the 15-minute setup, but fragile if local ports conflict |
| Interaction Mode | Inline Tab completion + Chat | Requires Copilot Chat in Agent mode for MCP queries | Tab completion won't auto-read Pieces; you must explicitly ask Chat |
365Finds considers this setup well worth the effort for full-stack engineers and technical leads who switch constantly between tools. However, do not expect inline Tab suggestions to magically predict your JetBrains work without prompting Copilot Chat. MCP is an intentional query protocol: Copilot only asks Pieces for external memory when a chat prompt calls for it or when an agent loop determines it needs supplementary data.
To get the most out of the pairing, treat Pieces as your personal developer blackboard and GitHub Copilot as the hand holding the chalk.