Actually use cache across example runs (#116)

This commit is contained in:
Christopher Hertel 2025-10-26 21:49:45 +01:00 • committed by GitHub
commit e5a4cb5906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ logger()->info('Starting MCP Stdio Environment Variable Example Server...');
$server = Server::builder()
->setServerInfo('Env Var Server', '1.0.0')
->setLogger(logger())
->setDiscovery(__DIR__, ['.'])
->setDiscovery(__DIR__)
->build();
$transport = new StdioTransport(logger: logger());