Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PATHMARK_STORE_DIRNoDirectory for memory.jsonl. Default: ~/.pathmark/memory
PATHMARK_CODEX_MODELNoOptional Codex model override. Default: unset
PATHMARK_CHAT_COMMANDNoCommand provider: receives a synthesized prompt on stdin and writes an answer on stdout. Default: unset
PATHMARK_OPENAI_MODELNoModel id for OpenAI-compatible synthesis. Default: unset
PATHMARK_CODEX_COMMANDNoCodex provider command. Default: codex
PATHMARK_OPENAI_API_KEYNoOpenAI-compatible API key. Default: unset
PATHMARK_CHAT_TIMEOUT_MSNoSynthesis command timeout. Default: 120000
PATHMARK_OPENAI_BASE_URLNoOpenAI-compatible API base URL. Default: https://api.openai.com/v1
PATHMARK_MAX_SEARCH_RESULTSNoDefault search limit. Default: 12
PATHMARK_SYNTHESIS_PROVIDERNoSynthesis provider: client, command, codex, or openai-compatible. Default: client

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_configA

Show the local Pathmark Memory store location and enabled optional features.

rememberC

Save a durable local memory item.

create_conclusionC

Save a durable conclusion or preference that should be treated as higher-signal than raw memory.

search_memoryC

Search saved local memories and conclusions.

get_contextC

Return compact local memory context for a task or question.

recall_memoryB

Transparent recall for any MCP-capable harness. Use this at task start or before answering to show exactly which memories were used.

session_traceA

Show a bounded chronological audit trail for one captured session: prompts, exact injected memory IDs, redacted tool inputs/results, and answers.

list_conclusionsC

List saved durable conclusions.

delete_memoryC

Soft-delete a saved memory or conclusion by id.

update_memoryC

Correct an existing memory while preserving its prior versions in local history.

supersede_memoryC

Replace an outdated memory with a linked current record while preserving history.

purge_memoryB

Preview or permanently remove matching records from the canonical store. A backup is created before an applied purge.

doctor_memoryA

Report duplicate, deleted, expired, conclusion, invalid-record, and index health counts without changing data.

compact_memoryA

Preview or apply exact deduplication, expired-record removal, retention, and deleted-record purging. Applied runs create a backup.

backup_memoryC

Create a point-in-time copy of the canonical local JSONL store.

export_memoryB

Export a scoped, mergeable JSONL bundle for another Pathmark installation or trusted sync transport.

ask_memoryB

Retrieve relevant context and optionally synthesize an answer through PATHMARK_CHAT_COMMAND. Without a command, returns context for the MCP client to synthesize.

chatC

Ask Pathmark memory a question. Returns the exact retrieved context so the MCP client can show what memory was used.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hacksurvivor/pathmark'

If you have feedback or need assistance with the MCP directory API, please join our Discord server