Get Started
Integrating the Pieces MCP with Continue.dev brings your workflow context directly into your editor. Continue.dev is an open-source coding assistant available as a VS Code or JetBrains extension.
Prerequisites
There are two prerequisites for integrating Pieces with Continue.dev as an MCP—an active instance of PiecesOS and the fully-enabled Long-Term Memory engine.
Installing PiecesOS & Configuring Permissions
Follow the instructions below for a detailed guide on setting up and configuring PiecesOS to correctly pass captured workflow context to the Pieces MCP server.
Setting Up Continue.dev
Continue.dev uses YAML configuration with an mcpServers array. The recommended location is .continue/config.yaml at your project root (you can commit it to version control for team sharing).
Config File Location
| Scope | Path |
|---|---|
| Workspace (recommended) | .continue/config.yaml at project root |
| Alternative JSON | .continue/mcpServers/mcp.json |
Local Setup (Streamable HTTP — recommended)
Create or edit .continue/config.yaml:
mcpServers:
- name: Pieces LTM
type: streamable-http
url: http://localhost:39300/model_context_protocol/2025-03-26/mcp
Local Setup (SSE)
mcpServers:
- name: Pieces LTM
type: sse
url: http://localhost:39300/model_context_protocol/2024-11-05/sse
Using Pieces MCP Server in Continue.dev
Once integrated, you can utilize Pieces LTM directly in Continue.dev.
Updating
Edit your config.yaml (or JSON file), update the url, and switch to agent mode. Continue picks up the change on the next agent session.
Troubleshooting
If you're experiencing issues integrating Pieces MCP with Continue.dev:
Verify PiecesOS Status: Ensure PiecesOS is actively running on your system.
Use Agent Mode: MCP tools do not appear in regular chat—you must be in agent mode.
YAML Parse Error: Check indentation; YAML is whitespace-sensitive.
Type Value: Use
streamable-http(with hyphen), notstreamableHttporhttp.Server Not Connecting: Check the PiecesOS port (39300-39333) and URL format.
You're now set to enhance your Continue.dev workflow with powerful context retrieval through Pieces MCP. Happy coding!