2.1 · Lesson

Connecting to Neo4j

Now that you have a working MCP server, it's time to connect it to a database.

In this lesson, you will learn how to connect your MCP server to Neo4j by managing the driver at module scope and sharing it across all your tool handlers.