refactor: Enforce strict typed JsonSchema for all MCP tools

This commit is contained in:
Riz Ashraf committed 2026-09-12 22:20:01 +01:00
1 parent 686fea683d
commit 2d3aaed289
31 files changed
+2892 -308

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import sys
main_path = r"C:\Users\reazul.ashraf\workspace\rust\mcp-memory\server\src\main.rs"
with open(main_path, "r", encoding="utf-8") as f:
content = f.read()
content = content.replace(
'handler: Arc::new(MemoryHandler { state }),',
'handler: Arc::new(MemoryHandler { state: Arc::clone(&state) }),'
)
with open(main_path, "w", encoding="utf-8") as f:
f.write(content)
print("Fixed main.rs move error")