MCPcopy Index your code
hub / github.com/github/copilot-sdk / list

Method list

python/copilot/generated/rpc.py:25153–25155  ·  view source on GitHub ↗

Lists MCP servers from user configuration.\n\nReturns:\n User-configured MCP servers, keyed by server name.

(self, *, timeout: float | None = None)

Source from the content-addressed store, hash-verified

25151 self._client = client
25152
25153 async def list(self, *, timeout: float | None = None) -> MCPConfigList:
25154 "Lists MCP servers from user configuration.\n\nReturns:\n User-configured MCP servers, keyed by server name."
25155 return MCPConfigList.from_dict(await self._client.request("mcp.config.list", {}, **_timeout_kwargs(timeout)))
25156
25157 async def add(self, params: MCPConfigAddRequest, *, timeout: float | None = None) -> None:
25158 "Adds an MCP server to user configuration.\n\nArgs:\n params: MCP server name and configuration to add to user configuration."

Callers

nothing calls this directly

Calls 3

_timeout_kwargsFunction · 0.85
from_dictMethod · 0.45
requestMethod · 0.45

Tested by

no test coverage detected