v1.4.0
Adding Model Context Protocol (MCP) support: any MCP-compatible client — Claude Desktop, Claude Code, Cursor, custom agents — can now use TeleMem as its long-term memory.
Highlights
- MCP server (
telemem-mcp/python -m telemem.mcp) over stdio, SSE, or streamable HTTP, exposing eight tools:add_memory,search_memories,get_memories,get_memory,update_memory,delete_memory,delete_all_memories,memory_history - Configure with
TELEMEM_CONFIG(YAML/JSON) andTELEMEM_DEFAULT_USER_ID; lazy initialization, structured JSON errors, and an explicit-scope guard on bulk deletion - Install via the new extra:
pip install "telemem[mcp]" - New public exports:
telemem.TeleMemory,telemem.TeleMemoryConfig,telemem.__version__ - 25 offline tests including a full client/server protocol round-trip; stray debug prints removed from the core so the stdio protocol stream stays clean
Docs & examples
- docs/MCP.md — full reference (tools, transports, client setup)
- examples/mcp_client.py — the quickstart flow as MCP tool calls
- examples/mcp_config.json — Claude Desktop / Cursor config snippet
🤖 Generated with Claude Code