MCPcopy Create free account
hub / github.com/github/copilot-sdk / MCPAppsDiagnoseResult

Class MCPAppsDiagnoseResult

python/copilot/generated/rpc.py:11383–11403  ·  view source on GitHub ↗

Diagnostic snapshot of MCP Apps wiring for the named server.

Source from the content-addressed store, hash-verified

11381# Experimental: this type is part of an experimental API and may change or be removed.
11382@dataclass
11383class MCPAppsDiagnoseResult:
11384 """Diagnostic snapshot of MCP Apps wiring for the named server."""
11385
11386 capability: MCPAppsDiagnoseCapability
11387 """Capability negotiation snapshot"""
11388
11389 server: MCPAppsDiagnoseServer
11390 """What the server returned for this session"""
11391
11392 @staticmethod
11393 def from_dict(obj: Any) -> 'MCPAppsDiagnoseResult':
11394 assert isinstance(obj, dict)
11395 capability = MCPAppsDiagnoseCapability.from_dict(obj.get("capability"))
11396 server = MCPAppsDiagnoseServer.from_dict(obj.get("server"))
11397 return MCPAppsDiagnoseResult(capability, server)
11398
11399 def to_dict(self) -> dict:
11400 result: dict = {}
11401 result["capability"] = to_class(MCPAppsDiagnoseCapability, self.capability)
11402 result["server"] = to_class(MCPAppsDiagnoseServer, self.server)
11403 return result
11404
11405# Experimental: this type is part of an experimental API and may change or be removed.
11406@dataclass

Callers 1

from_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…