Ability to set custom protocol version (#117)
This commit is contained in:
parent
85549cb835
commit
09596c0382
1 changed files with 124 additions and 4 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
namespace Mcp\Server;
|
||||
|
||||
use Mcp\Schema\Enum\ProtocolVersion;
|
||||
use Mcp\Schema\Implementation;
|
||||
use Mcp\Schema\ServerCapabilities;
|
||||
|
||||
|
|
@ -34,6 +35,7 @@ class Configuration
|
|||
public readonly ServerCapabilities $capabilities,
|
||||
public readonly int $paginationLimit = 50,
|
||||
public readonly ?string $instructions = null,
|
||||
public readonly ?ProtocolVersion $protocolVersion = null,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue