Skip to main content
Glama
test_mcp_server_version.py591 B
import pytest from main import mcp class TestMCPServerVersion: async def _ensure_response_has_two_periods(self, tool_name): _, structured_response = await mcp.call_tool(tool_name, {}) assert structured_response['result'].count('.') == 2 @pytest.mark.asyncio async def test_read_verion(self): await self._ensure_response_has_two_periods('read_mcp_server_version') @pytest.mark.asyncio async def test_read_latest_verion(self): await self._ensure_response_has_two_periods( 'read_latest_mcp_server_version' )

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/i-dream-of-ai/quantconnect-mcp-jwt'

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