mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-22 00:04:21 +01:00
feat: add version string parameter to 'create_initialization_options'
This commit is contained in:
committed by
David Soria Parra
parent
e691c511ab
commit
937c640f04
@@ -135,14 +135,7 @@ async def run():
|
||||
await server.run(
|
||||
read_stream,
|
||||
write_stream,
|
||||
InitializationOptions(
|
||||
server_name="example",
|
||||
server_version="0.1.0",
|
||||
capabilities=server.get_capabilities(
|
||||
notification_options=NotificationOptions(),
|
||||
experimental_capabilities={},
|
||||
)
|
||||
)
|
||||
server.create_initialization_options("0.1.0")
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user