Skip to content

Commit 6100ffc

Browse files
authored
Missing Mcp-Protocol-Version to access control (#110)
1 parent 54a5d14 commit 6100ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Transport/StreamableHttpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class StreamableHttpTransport implements TransportInterface
4444
private array $corsHeaders = [
4545
'Access-Control-Allow-Origin' => '*',
4646
'Access-Control-Allow-Methods' => 'GET, POST, DELETE, OPTIONS',
47-
'Access-Control-Allow-Headers' => 'Content-Type, Mcp-Session-Id, Last-Event-ID, Authorization, Accept',
47+
'Access-Control-Allow-Headers' => 'Content-Type, Mcp-Session-Id, Mcp-Protocol-Version, Last-Event-ID, Authorization, Accept',
4848
];
4949

5050
public function __construct(

0 commit comments

Comments
 (0)