fredcaixeta commited on
Commit ·
0deeb9e
1
Parent(s): 19a5711
debug
Browse files- mcp_server.py +7 -0
mcp_server.py
CHANGED
|
@@ -134,6 +134,13 @@ def rakitic_goal_statistics() -> str:
|
|
| 134 |
|
| 135 |
if __name__ == "__main__":
|
| 136 |
import traceback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
try:
|
| 138 |
print("🚀 MCP server starting (stdio)...", flush=True)
|
| 139 |
mcp.run()
|
|
|
|
| 134 |
|
| 135 |
if __name__ == "__main__":
|
| 136 |
import traceback
|
| 137 |
+
try:
|
| 138 |
+
neo4j.execute_query("RETURN 1 as ok")
|
| 139 |
+
print("✅ Neo4j connectivity ok", flush=True)
|
| 140 |
+
except Exception as e:
|
| 141 |
+
print("❌ Neo4j connectivity failed:", repr(e), flush=True)
|
| 142 |
+
raise
|
| 143 |
+
|
| 144 |
try:
|
| 145 |
print("🚀 MCP server starting (stdio)...", flush=True)
|
| 146 |
mcp.run()
|