Skip to main content
Glama

MCP Codebase Insight

by tosin2013
async def test_health_check(client: httpx.AsyncClient): """Test the health check endpoint.""" response = await client.get("/health") assert response.status_code == status.HTTP_200_OK data = response.json() # In test environment, we expect partially initialized state assert "status" in data assert "initialized" in data # We don't assert on components field since it might be missing # Accept 'ok' status in test environment assert data["status"] in ["healthy", "initializing", "ok"], f"Unexpected status: {data["status"]}" # Print status for debugging print(f"Health status: {data}")

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/tosin2013/mcp-codebase-insight'

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