Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit c78e28d

Browse files
Merge pull request #12 from EdouardCourty/fix/use-proper-initialize-method-content
fix(project): fix initialize method result
2 parents a0def04 + 3fda763 commit c78e28d

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.1",
21+
"php": "^8.3",
2222
"symfony/framework-bundle": "^6.4 || ^7.0",
2323
"symfony/serializer-pack": "^1.3",
2424
"symfony/http-kernel": "^6.4 || ^7.0",

src/MethodHandler/InitializeMethodHandler.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ public function handle(JsonRpcRequest $request): array
3535
return [
3636
'protocolVersion' => self::PROTOCOL_VERSION,
3737
'capabilities' => [
38-
'logging' => [],
39-
'prompts' => [],
40-
'resources' => [],
41-
'tools' => [],
38+
'prompts' => [
39+
'listChanged' => false,
40+
],
41+
'tools' => [
42+
'listChanged' => false,
43+
],
4244
],
4345
'serverInfo' => [
4446
'name' => $this->serverName,

0 commit comments

Comments
 (0)