Skip to main content
TRW
Skip to content
TRWTroubleshooting — Install and MCP Connection Fixes

Docs

Troubleshooting

Solutions for common issues when working with TRW. For initial setup, see the Quickstart.

Start with the fastest checks

Check these first. They resolve the most common onboarding and day-to-day failures in a few seconds.

  1. 01Check

    Confirm the selected client surface

    Check that the generated MCP config for the client you selected still contains its TRW entry.

  2. 02Check

    Confirm the executable

    Run which trw-mcp from the same environment that launches your client, then restart or reconnect that client.

  3. 03Check

    Start with project context

    Call trw_session_start() before other TRW tools so middleware can load learnings and recover an active run.

Memory errors after upgrading to 6.0.0

If memory tools or trw-mcp doctor report that a project memory database still contains learnings, update the project first. Run the migration command that update-project prints from that checkout; preview without --applybefore applying it. The apply step requires the memory daemon to be running.

  1. Reconnect each MCP client so its stdio server runs the upgraded version.
  2. Start the daemon, then apply the printed migration command from the affected checkout.
  3. If it reports busy, retry. If it reports uncertain, rerun the idempotent migration.
  4. For trw-mcp doctor reporting a namespace or grant problem, confirm the checkout is pinned and its grant matches the daemon namespace.

Daemon will not start or the store refuses access

A memory daemon serves one machine-wide store. Security settings such as RBAC, role mappings, recall filtering, and trust scoring must match between the stdio server and the daemon. Set them in the daemon's environment and restart it. A mismatch is fail-closed; do not work around it by pointing a checkout at another database. The first recall after a cold daemon start can take longer while retrieval models load.

Then match the failure to a category

If the quick checks do not fix it, use the category below that matches where the failure occurs: MCP connection, local setup, runtime behavior, or deployment.

MCP server issues

Installation and setup

Runtime errors

Docker and local storage

WSL2 file system notes

  • Retry an intermittent ENOENT once; if it repeats, confirm the executable and generated client path instead of treating it as transient.
  • For persistent issues, work in the Linux filesystem (~/) instead of /mnt/c/.
  • Set WATCHPACK_POLLING=true for Next.js hot-reload (already set in dev compose).

Where to go next

If this is an install or access problem, go back to quickstart. If the issue is configuration-, auth-, or environment-specific, continue into configuration or the hosted API reference.

Next

Troubleshooting gets you unstuck. Configuration and lifecycle help keep the happy path stable before the next failure shows up.