Removes an MCP server from user configuration.\n\nArgs:\n params: MCP server name to remove from user configuration.
(self, params: MCPConfigRemoveRequest, *, timeout: float | None = 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." |
| 25169 | params_dict = {k: v for k, v in params.to_dict().items() if v is not None} |
| 25170 | await self._client.request("mcp.config.remove", params_dict, **_timeout_kwargs(timeout)) |
| 25171 | |
| 25172 | async def enable(self, params: MCPConfigEnableRequest, *, timeout: float | None = None) -> None: |
| 25173 | "Enables MCP servers in user configuration for new sessions.\n\nArgs:\n params: MCP server names to enable for new sessions." |
nothing calls this directly
no test coverage detected