Improve redMCP server operations
This commit is contained in:
@@ -16,7 +16,7 @@ final class McpStdioServer
|
||||
public function run(): void
|
||||
{
|
||||
while (($message = $this->readMessage(STDIN)) !== null) {
|
||||
$response = $this->dispatcher->handleMessage($message);
|
||||
$response = $this->dispatcher->handleMessage($message, ['transport' => 'stdio']);
|
||||
if ($response !== null) {
|
||||
$this->writeMessage($response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user