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 Full definition for pattern (opens in a new tab)A graph structure written in Cypher, such as a node joined to another node by a relationship. for accessing shared state and providing feedback during tool execution.