2.3 · Lesson

Shared State and Logging

In the previous lesson, you learned how to create a module-scope Neo4j driver and share it across your MCP server.

Now let's explore practical patterns for accessing shared state and providing feedback during tool execution.