TeleMem's MCP server is now built on the official MCP Python SDK v2 (mcp>=2.0.0,<3), implementing the current MCP specification (2026-07-28) while remaining compatible with legacy initialize-handshake clients.
Changed
- MCP server migrated to
mcp.server.mcpserver.MCPServer— the v1 SDK'sFastMCPimport path was removed upstream; the server now declares server-level metadata (title,version,website_url, icon). - Every MCP tool now carries the standard metadata from the 2025-11-25/2026-07-28 specs: a human-readable
title, behavior annotations (readOnlyHint/destructiveHint/idempotentHint/openWorldHint), and a derived output schema; results are emitted asstructuredContent(wrapped under a"result"key) alongside the unchanged JSON text content. memory_historynow returns{"memory_id": ..., "history": [...]}instead of a bare JSON array.telemem.mcp.create_server()no longer takeshost/port; pass them toserver.run(transport="streamable-http", host=..., port=...).--transport sseis deprecated (the MCP spec deprecated HTTP+SSE); it still works but logs a warning. Docs and the Docker image now showstreamable-http.examples/mcp_client.pyuses the SDK v2 high-levelmcp.client.Client; the MCP test suite drives both the modern (stateless) and legacy protocol paths.server.jsonregistry manifest: schema bumped to2025-12-11.
Upgrade note: this release requires mcp>=2. If you embed the server via create_server(), move host/port from the constructor to run().
Full changelog: https://github.com/TeleAI-UAGI/telemem/blob/main/CHANGELOG.md