MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / initialize

Method initialize

tests/integration/test_mcp.py:151–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

149 # ------------------------------------------------------------------
150
151 def initialize(self) -> dict:
152 return self.request(
153 "initialize",
154 {
155 "protocolVersion": "2024-11-05",
156 "clientInfo": {"name": "pytest-mcp-client", "version": "1.0.0"},
157 "capabilities": {},
158 },
159 )
160
161 def tools_list(self) -> list[dict]:
162 result = self.request("tools/list")

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected