Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update test_mcp_config.py

Jeremiah Lowin3598e947b2cb
diff --git a/tests/utilities/test_mcp_config.py b/tests/utilities/test_mcp_config.py
index 7775e12bc..ec6833b0a 100644
--- a/tests/utilities/test_mcp_config.py
+++ b/tests/utilities/test_mcp_config.py
@@ -39,7 +39,7 @@ def test_parse_single_remote_config():
mcp_config = MCPConfig.from_dict(config)
transport = mcp_config.mcpServers["test_server"].to_transport()
assert isinstance(transport, StreamableHttpTransport)
- assert transport.url == "http://localhost:8000/"
+ assert transport.url == "http://localhost:8000"
def test_parse_remote_config_with_transport():
@@ -54,7 +54,7 @@ def test_parse_remote_config_with_transport():
mcp_config = MCPConfig.from_dict(config)
transport = mcp_config.mcpServers["test_server"].to_transport()
assert isinstance(transport, SSETransport)
- assert transport.url == "http://localhost:8000/"
+ assert transport.url == "http://localhost:8000"
def test_parse_remote_config_with_url_inference():