GitHub Copilot is exceptionally capable at synthesizing code within an open file, but it suffers from persistent workspace amnesia. The moment you switch from frontend TypeScript in Visual Studio Code to a backend microservice in JetBrains IntelliJ, or review an API specification in your browser, Copilot’s conversational awareness resets to zero. Each workspace operates in an isolated silo.
Pieces addresses this fundamental fragmentation. Rather than forcing developers to manually copy-paste snippets or paste giant context dumps into every chat window, Pieces operates as an on-device workflow engine with a local Long-Term Memory (LTM) system.
At 365Finds, we have tracked how developers attempt to link these two ecosystems. The integration has recently evolved in a critical way: Pieces officially sunset its legacy IDE-specific plugins in favor of Anthropic's open Model Context Protocol (MCP). Here is how you configure Pieces with GitHub Copilot to preserve cross-IDE context, what the architectural shift means for your workflow, and where the practical limits lie.
The Architecture: Why MCP Replaced Bespoke IDE Plugins
For years, developer tooling suffered from "plugin fatigue." Pieces previously maintained separate extensions for Visual Studio Code, JetBrains IDEs, Visual Studio, and Sublime Text. Maintaining custom plugins across multiple rapidly moving IDE ecosystems was inherently brittle.
Pieces has transitioned its integration strategy entirely to the Model Context Protocol. Under this model:
- PiecesOS runs locally as a background operating service, capturing snippets, clipboard context, git history, and browsing research through its Long-Term Memory engine.
- PiecesOS exposes an MCP server locally via Server-Sent Events (SSE).
- GitHub Copilot Chat (running in VS Code or other MCP-compatible environments) connects directly to PiecesOS as an MCP client.
365Finds considers this architectural change a substantial improvement. Instead of synchronizing state between competing IDE extensions, PiecesOS functions as a single source of truth on your machine. Any context captured while working in one environment is immediately queryable by GitHub Copilot in another.
Step-by-Step Setup: Connecting Pieces to GitHub Copilot
Integrating Pieces with GitHub Copilot requires running PiecesOS locally and configuring GitHub Copilot to recognize Pieces as an active MCP server.
1. Ensure PiecesOS and LTM Are Active
- Download and run PiecesOS on your development machine.
- Open the Pieces Desktop App or the PiecesOS Quick Menu in your system tray.
- Verify that the Long-Term Memory Engine (LTM) is enabled under your settings. This engine indexes your workflow events, copied code blocks, and active technical context.
2. Configure the Pieces MCP Server
You have two straightforward methods to link Pieces to your IDE environment:
Method A: Automatic Setup via the Pieces CLI
If you have the Pieces CLI installed, open your terminal and run:
pieces mcp setup
- Select your target environment (such as VS Code) from the interactive prompt.
- When asked, choose User Settings rather than Workspace Settings. Configuring this globally at the User level ensures that every workspace and project you open automatically inherits access to Pieces.
- Validate the connection by running:
pieces mcp status
Method B: Manual Configuration in VS Code Settings
If you prefer direct configuration, or need to verify your endpoint:
- Open the Pieces Desktop App and navigate to Settings > Model Context Protocol (MCP) to view your local SSE endpoint (typically structured as
http://localhost:39300/model_context_protocol/2024-11-05/sseor a dynamically assigned local port). - Open VS Code and press
Ctrl+,(Windows/Linux) orCmd+,(macOS), search forMCP, and click Edit in settings.json. - Add the server entry:
{
"mcpServers": {
"Pieces": {
"url": "http://localhost:39300/model_context_protocol/2024-11-05/sse"
}
}
}
- Save the file. Ensure the server indicator registers as connected.
Preserving Context Across Multiple IDEs in Practice
Once PiecesOS is running and Copilot is connected via MCP, context preservation shifts from a manual copy-paste exercise to an ambient retrieval process.
Scenario: Moving from Backend (JetBrains) to Frontend (VS Code)
- Work and Research: You are debugging a database migration or microservice in IntelliJ IDEA or PyCharm. You inspect stack traces, check documentation in Chrome using the Pieces Web Extension, or save transient SQL snippets into Pieces.
- Ambient Ingestion: PiecesOS indexes these actions locally into your LTM timeline without interrupting your typing.
- Retrieval in Copilot Chat: You open Visual Studio Code to update the corresponding frontend API client. Open GitHub Copilot Chat and switch the interaction mode to Agent Mode (or mention
@pieces). - Context-Grounded Prompting: Instead of retyping the schema or hunting down the terminal output, you prompt Copilot:
"@pieces Look at the API error and response structure I investigated earlier today in my backend session, and implement the corresponding TypeScript interface and fetch handler."
- Copilot calls the Pieces MCP tool (
ask_pieces_ltm), retrieves the exact payload structure recorded by PiecesOS from your earlier session, and writes the code without forcing you to switch back and forth.
The 365Finds Assessment: Capabilities vs Limitations
While the combination of Pieces and GitHub Copilot solves genuine pain points, 365Finds advises developers to maintain realistic expectations regarding how the context is utilized:
| Feature Dimension | GitHub Copilot Native | Pieces + GitHub Copilot via MCP |
|---|---|---|
| Context Scope | Current active workspace and open tabs | Entire OS developer workflow, past research, and cross-IDE sessions |
| Integration Layer | Embedded inside specific editor process | Decoupled background service (PiecesOS) communicating via MCP |
| Inline Autocompletion | Yes, generates ghost text on keystroke | No, MCP context feeds GitHub Copilot Chat, not inline Tab-completions |
| Data Privacy | Cloud inference subject to GitHub policy | Context indexing and LTM storage remain strictly local on-device |
| Memory Persistence | Cleared when IDE closes or repo switches | Persists continuously across system restarts and multi-IDE transitions |
Key Boundaries to Understand
- Chat vs. Inline Completions: The MCP bridge feeds GitHub Copilot Chat. It does not dynamically inject multi-IDE memory into inline Tab-autocomplete suggestions while you type. Expecting ghost text to guess what you did in another editor without querying Copilot Chat is a misconception.
- Resource Overhead: Running PiecesOS with its continuous embedding models alongside resource-heavy IDEs like IntelliJ and Visual Studio requires sufficient hardware. We recommend at least 16 GB of RAM to prevent memory pressure during intensive indexing.
- JetBrains and Multi-Editor MCP Support: While VS Code provides native MCP tooling for Copilot Chat, developers working primarily in JetBrains IDEs or Visual Studio may encounter varying levels of native MCP support for Copilot. In environments where Copilot Chat MCP support is still catching up, developers can query Pieces Desktop directly or use MCP-native bridges like Continue.
Configuring Pieces as an MCP server at the global User level allows GitHub Copilot Chat to transcend single-project boundaries, grounding code generation in your actual multi-tool developer history.