From 6294f31226bffe6160ec06244245fd636d5e717a Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Sat, 24 May 2025 07:56:14 -0700 Subject: [PATCH] skip mcp test for http client --- tests/integration/tool_runtime/test_mcp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/tool_runtime/test_mcp.py b/tests/integration/tool_runtime/test_mcp.py index e553c6a0b..9dd767b2f 100644 --- a/tests/integration/tool_runtime/test_mcp.py +++ b/tests/integration/tool_runtime/test_mcp.py @@ -102,6 +102,9 @@ def mcp_server(): def test_mcp_invocation(llama_stack_client, mcp_server): + if not isinstance(llama_stack_client, LlamaStackAsLibraryClient): + pytest.skip("The local MCP server only reliably reachable from library client.") + port = mcp_server test_toolgroup_id = "remote::mcptest"