Tool type: Open-source coding assistant (VS Code / JetBrains extension) Website: continue.dev Transport support: stdio, SSE, Streamable HTTP
Agent mode required: MCP servers in Continue.dev only work in agent mode. They are not available in regular chat or plan modes.
| Scope | Path |
|---|---|
| Workspace | .continue/config.yaml at project root (recommended — commit to version control) |
| Alternative JSON | .continue/mcpServers/mcp.json |
Continue.dev uses YAML with an mcpServers array.
Recommended when PiecesOS and Continue.dev are on the same machine.
mcpServers:
- name: Pieces LTM
type: streamable-http
url: http://localhost:39300/model_context_protocol/2025-03-26/mcpmcpServers:
- name: Pieces LTM
type: sse
url: http://localhost:39300/model_context_protocol/2024-11-05/sseUse this when Continue.dev is running on a different machine from PiecesOS. For setup, see: Connecting to PiecesOS from the Outside World via Ngrok.
mcpServers:
- name: Pieces LTM
type: streamable-http
url: https://YOUR_NGROK_URL.ngrok.app/model_context_protocol/2025-03-26/mcpIf you prefer JSON, create .continue/mcpServers/mcp.json:
{
"mcpServers": [
{
"name": "Pieces LTM",
"type": "streamable-http",
"url": "http://localhost:39300/model_context_protocol/2025-03-26/mcp"
}
]
}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.
- Switch Continue.dev to agent mode in the UI
- Check the available tools — Pieces LTM tools should appear
- Ask the agent to search your Long-Term Memory
| Issue | Solution |
|---|---|
| Tools not appearing | Ensure you are in agent mode, not regular chat |
| YAML parse error | Check indentation; YAML is whitespace-sensitive |
| Server not connecting | Check PiecesOS port (39300-39333) and URL |
| Type value wrong | Use streamable-http (with hyphen), not streamableHttp or http |
- Pieces MCP and LTM Tools Reference — Complete reference for all 39 tools available to your agents
- Connecting to PiecesOS via Ngrok — Expose your local Pieces server for remote access
| ← Back to All Agent Setup Guides |