dot_files/dot_local/bin/executable_claude-memory-mcp-wrapper
Viktor Barzin a748a63e00
move claude-memory MCP server to ~/.claude for global access
Previously lived in ~/code/claude-memory-mcp/src/, which was only
accessible from sessions in ~/code/. Now at ~/.claude/claude-memory/
so all Claude sessions can use it regardless of working directory.
2026-03-18 22:29:00 +00:00

7 lines
414 B
Bash

#!/bin/bash
# Wrapper for claude-memory MCP server that sources secrets from GPG-encrypted file.
# This avoids committing API keys in plaintext JSON configs.
source ~/.oh-my-zsh/custom/secrets.zsh 2>/dev/null
export MEMORY_API_URL="${MEMORY_API_URL:-https://claude-memory.viktorbarzin.me}"
export PYTHONPATH="$HOME/.claude/claude-memory"
exec python3 "$HOME/.claude/claude-memory/claude_memory/mcp_server.py" "$@"