iflow-mcp_ferrants_memvid-mcp-server 0.1.0__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.
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: iflow-mcp_ferrants_memvid-mcp-server
3
+ Version: 0.1.0
4
+ Summary: Memvid MCP Server - Video memory search and retrieval
5
+ Requires-Python: >=3.11
6
+ License-File: LICENSE
7
+ Requires-Dist: mcp>=1.9.4
8
+ Requires-Dist: memvid>=0.1.3
9
+ Dynamic: license-file
@@ -0,0 +1,7 @@
1
+ server.py,sha256=aTwwaPJilJARvWuDdanufkvfukv0OdgLdX3dHwhPxzA,629
2
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/METADATA,sha256=yuPRSuaA4dLMGnzyc_Z4tkpDmjwzWUuCmNK7aCFqujc,266
4
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
5
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/entry_points.txt,sha256=0MPqwD43yAnxdfM3BmNF5dJxHbX3kHWBPeLigT2eKvs,43
6
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/top_level.txt,sha256=StKOSmRhvWS5IPcvhsDRbtxUTEofJgYFGOu5AAJdSWo,7
7
+ iflow_mcp_ferrants_memvid_mcp_server-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (79.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ memvid-mcp = server:main
server.py ADDED
@@ -0,0 +1,28 @@
1
+ import os
2
+ from mcp.server.fastmcp import FastMCP
3
+
4
+ PORT = os.getenv("PORT", "3000")
5
+
6
+ # Create an MCP server
7
+ mcp = FastMCP("memvid", port=PORT, debug=True, log_level="DEBUG")
8
+
9
+ # Add an addition tool
10
+ @mcp.tool()
11
+ def add_chunks(chunks: list[str]) -> str:
12
+ """Add chunks to memory video"""
13
+ return "added chunks to memory.mp4 (demo mode)"
14
+
15
+
16
+ @mcp.tool()
17
+ def search(query: str, top_k: int = 5) -> str:
18
+ """Search memory chunks"""
19
+ return f"Demo search results for query: {query} (demo mode)"
20
+
21
+
22
+ def main():
23
+ print(f"Running on port {PORT}")
24
+ mcp.run(transport="streamable-http")
25
+
26
+
27
+ if __name__ == "__main__":
28
+ main()