Skip to main content
Glama
httpbin.py654 B
from toolkit_testing.integration_tests.routing import Routing from toolkit_testing.integration_tests.healthcheck import poll_healthcheck class HTTPBinHelper: def __init__(self, host: str, port: int) -> None: self._routing = Routing(host, port) async def healthcheck(self, retries: int, sleep_s: float) -> bool: return await poll_healthcheck( routing=self._routing, path="/base64/SFRUUEJJTiBpcyBhd2Vzb21l", retries=retries, sleep_s=sleep_s, body_predicate=lambda body: body == "HTTPBIN is awesome", status_predicate=lambda status: status == 200, )

Latest Blog Posts

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/TheLunarCompany/lunar'

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