mem-brain-mcp 1.0.7__py3-none-any.whl → 1.0.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mem_brain_mcp/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Mem-Brain MCP Server - Exposes Mem-Brain API as MCP tools."""
2
2
 
3
- __version__ = "1.0.6"
3
+ __version__ = "1.0.8"
4
4
 
mem_brain_mcp/server.py CHANGED
@@ -416,7 +416,7 @@ async def get_agent_instructions(include_dynamic_context: bool = True) -> str:
416
416
 
417
417
  @mcp.tool()
418
418
  async def add_memory(
419
- content: str, tags: Optional[List[str]] = None, category: Optional[str] = None
419
+ content: str, tags: Optional[Union[List[str], str]] = None, category: Optional[str] = None
420
420
  ) -> str:
421
421
  """Create a new memory with content, optional tags, and category. Use this when user reveals preferences, goals, or facts. Store FACTS, not conversation. Examples: 'User prefers dark mode' vs 'You said you like dark mode'. See mem-brain://docs/storage-guidelines for tagging patterns. DO NOT store conversation snippets - only store factual information.
422
422
 
@@ -794,7 +794,7 @@ async def get_memories(memory_ids: List[str]) -> str:
794
794
 
795
795
  @mcp.tool()
796
796
  async def update_memory(
797
- memory_id: str, content: Optional[str] = None, tags: Optional[List[str]] = None
797
+ memory_id: str, content: Optional[str] = None, tags: Optional[Union[List[str], str]] = None
798
798
  ) -> str:
799
799
  """Update an existing memory when information evolves or changes. Use this when user contradicts a past memory ('I no longer like X') or when details need updating.
800
800
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mem-brain-mcp
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: MCP Server for Mem-Brain API - Exposes memory operations as MCP tools
5
5
  Keywords: ai,claude,cursor,llm,mcp,memory,model-context-protocol
6
6
  Classifier: Development Status :: 4 - Beta
@@ -0,0 +1,9 @@
1
+ mem_brain_mcp/__init__.py,sha256=4gTKntJjg7JiV6dGhDNy1yFh3TW2tCdME_GR-pnSXwk,89
2
+ mem_brain_mcp/__main__.py,sha256=H_mwoKm1FBmu4KzAcQcq-TXZqeNvlrAekAxB1s4F4hA,712
3
+ mem_brain_mcp/client.py,sha256=jpf0fCupoRI8xZnPF4OntAQYxDAiVetIfL3S5GUOwUo,8009
4
+ mem_brain_mcp/config.py,sha256=xx2lBkCIeT85t0HxtORwZHSU3hZT_EdsThpfjwPJhbQ,1261
5
+ mem_brain_mcp/server.py,sha256=c57j4MeAnekMkEnDzen8bi3TX6ZjEAWS1bnk4uJ1414,71875
6
+ mem_brain_mcp-1.0.8.dist-info/METADATA,sha256=c86gHcn9gWwBes8VMKi3CBa17GITo3DxXE-Okp-Y184,5228
7
+ mem_brain_mcp-1.0.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
8
+ mem_brain_mcp-1.0.8.dist-info/entry_points.txt,sha256=NH6QYQ-Sd8eJn5crpe_DL1PvGeUlL3y65968xPhmwG8,62
9
+ mem_brain_mcp-1.0.8.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- mem_brain_mcp/__init__.py,sha256=u8pOjQqzMWIWU9TmVSkCxEA_LeUDUzEEatvXMKa1REs,89
2
- mem_brain_mcp/__main__.py,sha256=H_mwoKm1FBmu4KzAcQcq-TXZqeNvlrAekAxB1s4F4hA,712
3
- mem_brain_mcp/client.py,sha256=jpf0fCupoRI8xZnPF4OntAQYxDAiVetIfL3S5GUOwUo,8009
4
- mem_brain_mcp/config.py,sha256=xx2lBkCIeT85t0HxtORwZHSU3hZT_EdsThpfjwPJhbQ,1261
5
- mem_brain_mcp/server.py,sha256=RjDILkItnEbaLRPg_Nq3ZcnPCAVW_GR0OGCiyI0IXEo,71851
6
- mem_brain_mcp-1.0.7.dist-info/METADATA,sha256=tJRhY8PALTv2Udo1qgSe51LYF21d2Vrs9Ykpb_xDaPU,5228
7
- mem_brain_mcp-1.0.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
8
- mem_brain_mcp-1.0.7.dist-info/entry_points.txt,sha256=NH6QYQ-Sd8eJn5crpe_DL1PvGeUlL3y65968xPhmwG8,62
9
- mem_brain_mcp-1.0.7.dist-info/RECORD,,