Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
test_client.py716 B
import pytest from phoenix.client import Client @pytest.mark.parametrize( "input, expected", [ # Note the addition of the trailing slash here ("https://app.phoenix.arize.com/s/me", "https://app.phoenix.arize.com/s/me/"), ("http://localhost:6006/", "http://localhost:6006/"), ("http://localhost:6006", "http://localhost:6006"), ], ) def test_url_sanitization(input: str, expected: str) -> None: """ This test exists mainly to show the diverging behavior within httpx where a trailing / is added to URLs that contain slugs. """ client = Client(base_url=input) assert str(client._client.base_url) == expected # pyright: ignore[reportPrivateUsage]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server