install go first, 1.24 or higher is recommended.
go install github.com/austiecodes/gomor/cmd/gomor@latestthe gomor binary will be installed to ~/go/bin directory.
add it to your PATH environment variable, like this:
export PATH=$PATH:~/go/binthen add following config to your mcp-server config file:
{
"mcpServers": {
"gomor": {
"command": "gomor",
"args": ["mcp"]
}
}
}- set up provider,
use
gomor setcommand and selectproviderto set up currently supporting:
- openai: chat-completion api
- google gemini
- anthropic use your own apikey and setup your baseurl
-
set up
tool-modelandembedding-modelusegomor setcommand and selecttool-modelandembedding-modelto set up -
config your own memory settings use
gomor setcommand and selectmemoryto set up -
edit memory history use
gomor memorycommand to edit memory history -
call memory operations directly from an agent or shell
# Save a memory
gomor memory --save "The user prefers concise answers" --tags "preference,style"
# Query memories in a LLM-friendly JSON format
gomor memory --query "How should I answer this user?" --json
# Delete an incorrect memory by id
gomor memory --delete "memory-id" --jsonFor shell or LLM usage, prefer --json so the caller can reliably parse ids and scores.
Memory retrieval is a weak signal for recency, not a correctness confirmation. Delete memories that are clearly wrong or obsolete.
now you are ok to gomor!