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

Method notify

tests/integration/test_mcp.py:138–140  ·  view source on GitHub ↗

Send a JSON-RPC notification (no response expected).

(self, method: str, params: Optional[dict] = None)

Source from the content-addressed store, hash-verified

136 return response.get("result")
137
138 def notify(self, method: str, params: Optional[dict] = None) -> None:
139 """Send a JSON-RPC notification (no response expected)."""
140 self._send({"jsonrpc": "2.0", "method": method, "params": params or {}})
141
142 def raw_send(self, obj: dict) -> dict:
143 """Send a raw object and return the raw response (no error raising)."""

Callers 1

Calls 1

_sendMethod · 0.95

Tested by

no test coverage detected