Skip to content

Commit c09582c

Browse files
jpheinclaude
andcommitted
feat(plugin): route MCP and hooks through palace-daemon on disks
Switch MCP server from in-process mempalace.mcp_server to the mempalace-mcp.py proxy client pointing at http://disks.jphe.in:8085. All reads and writes now go through the daemon; katana no longer opens the palace files directly, eliminating any Syncthing conflict risk. Stop hook gets PALACE_DAEMON_URL + PALACE_API_KEY inline so silent saves go through the daemon's queue-safe /silent-save endpoint, picking up rebuild-window queuing and themed messages. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent 7f1abc6 commit c09582c

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.claude-plugin/.mcp.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
"mempalace": {
33
"command": "${CLAUDE_PLUGIN_ROOT}/venv/bin/python",
44
"args": [
5-
"-m",
6-
"mempalace.mcp_server"
7-
]
5+
"/home/jp/Projects/palace-daemon/clients/mempalace-mcp.py",
6+
"--daemon", "http://disks.jphe.in:8085"
7+
],
8+
"env": {
9+
"PALACE_API_KEY": "adb43b99effac3aced2c82de54827850c6da1fbf4a5e473e1938529b27c08ab3"
10+
}
811
}
912
}

.claude-plugin/hooks/hooks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"hooks": [
77
{
88
"type": "command",
9-
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh"
9+
"command": "PALACE_DAEMON_URL=http://disks.jphe.in:8085 PALACE_API_KEY=adb43b99effac3aced2c82de54827850c6da1fbf4a5e473e1938529b27c08ab3 bash ${CLAUDE_PLUGIN_ROOT}/hooks/mempal-stop-hook.sh"
1010
}
1111
]
1212
}

0 commit comments

Comments
 (0)