-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior (Mandatory)
Claude can connect to the MCP server
Actual Behavior (Mandatory)
Claude can't connect to the MCP server
How to Reproduce the Problem
I uploaded my code and followed the README, just adapted it for windows
Simple Example
I was able to fix it replacing
if __name__ == "__main__":
main()
by
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Screenshots (where it's possibile)
In log Claude mcp-server-neo4j.log
2025-07-15T00:49:18.101Z [neo4j] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} { metadata: undefined }
C:\Users\XavierPilas\Documents\GitHub\mcp-neo4j\servers\mcp-neo4j-cypher\src\mcp_neo4j_cypher\server.py:188: RuntimeWarning: coroutine 'main' was never awaited
main()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Specifications (Mandatory)
Not sure what to put
Versions
- OS: Windows
- Library: latest MCP server
- Neo4j: 2025.06
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working