Updates an MCP server in user configuration.\n\nArgs:\n params: MCP server name and replacement configuration to write to user configuration.
(self, params: MCPConfigUpdateRequest, *, timeout: float | None = None)
| 25160 | await self._client.request("mcp.config.add", params_dict, **_timeout_kwargs(timeout)) |
| 25161 | |
| 25162 | async def update(self, params: MCPConfigUpdateRequest, *, timeout: float | None = None) -> None: |
| 25163 | "Updates an MCP server in user configuration.\n\nArgs:\n params: MCP server name and replacement configuration to write to user configuration." |
| 25164 | params_dict = {k: v for k, v in params.to_dict().items() if v is not None} |
| 25165 | await self._client.request("mcp.config.update", params_dict, **_timeout_kwargs(timeout)) |
| 25166 | |
| 25167 | async def remove(self, params: MCPConfigRemoveRequest, *, timeout: float | None = None) -> None: |
| 25168 | "Removes an MCP server from user configuration.\n\nArgs:\n params: MCP server name to remove from user configuration." |
nothing calls this directly
no test coverage detected