Fix missing instructions from builder to handler (#90)
This commit is contained in:
parent
d06b57d285
commit
cbd1b298e9
1 changed files with 16 additions and 15 deletions
|
|
@ -20,6 +20,7 @@ logger()->info('Starting MCP Stdio Calculator Server...');
|
|||
|
||||
$server = Server::builder()
|
||||
->setServerInfo('Stdio Calculator', '1.1.0', 'Basic Calculator over STDIO transport.')
|
||||
->setInstructions('This server supports basic arithmetic operations: add, subtract, multiply, and divide. Send JSON-RPC requests to perform calculations.')
|
||||
->setContainer(container())
|
||||
->setLogger(logger())
|
||||
->setDiscovery(__DIR__, ['.'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue