← longmem.dev
INDIVIDUAL MCP TOOL
archive_stale
Soft-archive memories not updated in `older_than_days` days (skips pinned and already-archived).
Input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent endpoint
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.longmem-dev]
url = "https://longmem.dev/v1/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"longmem-dev": {
"type": "http",
"url": "https://longmem.dev/v1/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: longmem-dev
Remote MCP URL: https://longmem.dev/v1/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"longmem-dev": {
"url": "https://longmem.dev/v1/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"longmem-dev": {
"type": "http",
"url": "https://longmem.dev/v1/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "longmem-dev",
"transport": "streamable-http",
"url": "https://longmem.dev/v1/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_memory— Semantic search over the caller's long-term memory.get_memory— Fetch the full text of a single memory by id, plus a download URL for its file if any.store_memory— Store a new memory (a fact, note, or document text) for later recall.list_collections— List the caller's memory collections with item counts.related_memory— Find the memories most semantically related to a given memory id — its nearest neighbours in the same collection.what_changed— Show where the current truth in a collection superseded an older fact (graph 'updates' edges) — each {current, superseded} pair, newest first.collection_health— At-a-glance health of a shared collection as agents write to it: total / current / stale / expired / supersessions and a single needs_attention roll-up.summarize_collection— Roll a shared collection into a board-report-style briefing: a concise summary plus key themes, drawn from the most important recent memories.