Ghostkeep
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ghostkeepsearch for facts about the payment gateway migration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Phase 0 spike
Goal: see real hook data arrive from each agent. Nothing smarter yet.
1. Start the server
pip install fastapi uvicorn
uvicorn server:app --port 8765Related MCP server: MCP Shared Memory Hub
2. Test it without any agent (new terminal)
curl -X POST http://127.0.0.1:8765/observe -H "Content-Type: application/json" -d '{"agent":"test","event":"ping"}'
A line should print in the server terminal and appear in events.jsonl.
3. Wire ONE agent first
Cursor (hooks confirmed in Cursor docs)
Create /.cursor/hooks.json (Cursor reloads it automatically):
{
"version": 1,
"hooks": {
"beforeSubmitPrompt": [ { "command": "python /ABSOLUTE/PATH/TO/phase0/hook.py --agent cursor" } ],
"afterFileEdit": [ { "command": "python /ABSOLUTE/PATH/TO/phase0/hook.py --agent cursor" } ],
"stop": [ { "command": "python /ABSOLUTE/PATH/TO/phase0/hook.py --agent cursor" } ]
}
}Claude Code
Copy settings.example.json to /.claude/settings.json and replace /ABSOLUTE/PATH/TO. Restart Claude Code (hooks load at session start).
Gemini CLI, Antigravity
Hook support is NOT verified here. Check each tool's current docs for a hooks or lifecycle-events feature. If one exists, point it at: python /ABSOLUTE/PATH/TO/phase0/hook.py --agent gemini-cli (or antigravity) If none exists, say so and stop. Do not invent a config format.
4. Use the agent
Send a prompt, let it edit a file. Watch the server terminal and events.jsonl.
5. Report back
Share the first 3 to 5 lines of events.jsonl (or ~/.shared-memory/fallback.jsonl if the server was down). The log schema is designed from real data.
Notes
The hook always exits 0. It prints nothing, except {"continue": true} for Cursor.
If the server is down, events go to ~/.shared-memory/fallback.jsonl.
"raw" keeps up to 4000 characters of each payload so we can see what each agent really sends.
This server cannot be deployed
Related MCP Connectors
- memnodeOAuthdev.memnode
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
- KogniteOAuthdev.kognite
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
- MemocoreOAuthai.memocore
Shared memory for all your AI agents, your whole team and every MCP client — save, search, recall.
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides persistent, searchable memory for MCP-compatible agents, enabling recall by meaning, automatic decay, trust scoring, and cross-agent handoffs.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple MCP-compatible AI clients to share persistent, versioned project knowledge across sessions with conflict-safe updates, provenance, hybrid retrieval, stale-memory handling, and context-budgeted recall.MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent, shared memory for AI agents via MCP, enabling retrieval of relevant memories instead of loading entire context. Allows agents across projects, machines, and tools to share a single auditable, markdown-native brain.3AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables multiple AI agents to share a persistent, attributable memory space through MCP, supporting durable storage, keyword search, and event history for cross-agent continuity.MIT