Tool type: Open-source AI agent framework (CLI and desktop) Website: block.github.io/goose Transport support: stdio, SSE, Streamable HTTP
| Platform | Path |
|---|---|
| macOS / Linux | ~/.config/goose/config.yaml |
| Windows | %APPDATA%\Block\goose\config\config.yaml |
Goose uses YAML (not JSON) with an extensions top-level key. Environment variables use ${VAR_NAME} syntax (no env: prefix).
Recommended when PiecesOS and Goose are on the same machine.
extensions:
pieces:
name: Pieces LTM
type: sse
url: http://localhost:39300/model_context_protocol/2024-11-05/sse
enabled: true
timeout: 30extensions:
pieces:
name: Pieces LTM
type: streamable_http
url: http://localhost:39300/model_context_protocol/2025-03-26/mcp
enabled: true
timeout: 30Use this when Goose is running on a different machine from PiecesOS. For setup, see: Connecting to PiecesOS from the Outside World via Ngrok.
extensions:
pieces:
name: Pieces LTM
type: streamable_http
url: https://YOUR_NGROK_URL.ngrok.app/model_context_protocol/2025-03-26/mcp
enabled: true
timeout: 30goose configure- Select "Add Extension"
- Choose SSE or Streamable HTTP as the provider type
- Enter your Pieces URL
- Name it "Pieces LTM"
Open this in a browser to install directly in Goose (update the URL first):
goose://extension/add?name=pieces&type=sse&url=http%3A%2F%2Flocalhost%3A39300%2Fmodel_context_protocol%2F2024-11-05%2Fsse
To add Pieces for just one session without saving to config:
goose session --with-remote-extension "http://localhost:39300/model_context_protocol/2024-11-05/sse"Edit ~/.config/goose/config.yaml, update the url, and start a new Goose session.
- Run
goose sessionto start a new session - Ask: "What tools do you have from Pieces?"
- Pieces LTM tools should be listed
| Issue | Solution |
|---|---|
| Extension not loading | Run goose configure and verify the URL |
| YAML parse error | Ensure consistent indentation; YAML is whitespace-sensitive |
| Connection timeout | Ensure PiecesOS is running; check port 39300-39333 |
| Tools not available | Restart the Goose session after editing config |
- 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 |