refactor: rename Server::make() to Server::builder() (#84)

This commit is contained in:
Kyrian Obikwelu 2025-09-28 17:51:44 +01:00 • committed by GitHub
commit 38441b8dc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@ require_once __DIR__ . '/vendor/autoload.php';
use Mcp\Server;
use Mcp\Server\Transport\StdioTransport;
Server::make()
Server::builder()
->setServerInfo('Stdio Calculator', '1.1.0', 'Basic Calculator over STDIO transport.')
->setDiscovery(__DIR__, ['.'])
->build()