@@ -1042,14 +1042,6 @@ def __init__(self, client: AsyncRunloop) -> None:
10421042 async def create (self , ** params : Unpack [SDKMcpConfigCreateParams ]) -> AsyncMcpConfig :
10431043 """Create a new MCP config.
10441044
1045- Example:
1046- >>> mcp_config = await runloop.mcp_config.create(
1047- ... name="my-mcp-server",
1048- ... endpoint="https://mcp.example.com",
1049- ... allowed_tools=["*"],
1050- ... description="MCP server for my tools",
1051- ... )
1052-
10531045 :param params: See :typeddict:`~runloop_api_client.sdk._types.SDKMcpConfigCreateParams` for available parameters
10541046 :return: The newly created MCP config
10551047 :rtype: AsyncMcpConfig
@@ -1060,11 +1052,6 @@ async def create(self, **params: Unpack[SDKMcpConfigCreateParams]) -> AsyncMcpCo
10601052 def from_id (self , mcp_config_id : str ) -> AsyncMcpConfig :
10611053 """Get an AsyncMcpConfig instance for an existing MCP config ID.
10621054
1063- Example:
1064- >>> mcp_config = runloop.mcp_config.from_id("mcp_1234567890")
1065- >>> info = await mcp_config.get_info()
1066- >>> print(f"MCP Config name: {info.name}")
1067-
10681055 :param mcp_config_id: ID of the MCP config
10691056 :type mcp_config_id: str
10701057 :return: AsyncMcpConfig instance for the given ID
@@ -1075,11 +1062,6 @@ def from_id(self, mcp_config_id: str) -> AsyncMcpConfig:
10751062 async def list (self , ** params : Unpack [SDKMcpConfigListParams ]) -> list [AsyncMcpConfig ]:
10761063 """List all MCP configs, optionally filtered by parameters.
10771064
1078- Example:
1079- >>> configs = await runloop.mcp_config.list(limit=10)
1080- >>> for config in configs:
1081- ... print(config.id)
1082-
10831065 :param params: See :typeddict:`~runloop_api_client.sdk._types.SDKMcpConfigListParams` for available parameters
10841066 :return: List of MCP configs
10851067 :rtype: list[AsyncMcpConfig]
0 commit comments