refactor: Modularize NC and Notes app client

This commit is contained in:
Chris Coutinho
2025-07-06 08:39:28 +02:00
parent 266d2dac8d
commit 5b512f83bd
9 changed files with 552 additions and 571 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ async def app_lifespan(server: FastMCP) -> AsyncIterator[AppContext]:
yield AppContext(client=client)
finally:
# Cleanup on shutdown
await client._client.aclose()
await client.close()
# Create an MCP server