Skip to content

Trae ​

Ask the agent to use obit bury when removing a file. In graveyard mode you can bring it back with obit resurrect during the retention period. Ask for a workspace with obit mktemp 1d and its temporary files get a one-day lifespan.

Connect Obituary ​

Run this in the project you want to connect:

sh
obit init --agent trae --mcp

For the trae-cn edition, use this command instead. Use the same ID when checking or uninstalling.

sh
obit init --agent trae-cn --mcp

Default configuration locations:

  • .trae/hooks.json
  • .trae/mcp.json

In Settings → MCP, enable project-level MCP. Both editions read the same project directory.

Check the connection ​

Restart the agent and ask it to call obit_list. An empty list is a successful response too. To inspect the configuration on disk, run:

sh
obit init --agent trae --show

Pause or disconnect ​

To pause callbacks, start the agent with OBIT_DISABLED=1. Explicit MCP calls still work.

To uninstall this integration, run the command below and restart the agent. Also remove any entries you added by hand. Files in the graveyard stay there.

sh
obit init --agent trae --uninstall
Need to install Obituary first?

Download and review the script before you run it.

powershell
irm https://raw.githubusercontent.com/woodfishhhh/obituary/main/packaging/install.ps1 -OutFile install.ps1
.\install.ps1
bash
curl -fsSL https://raw.githubusercontent.com/woodfishhhh/obituary/main/install.sh -o install.sh
bash install.sh

:::

MIT