Skip to main content
Glama
Huangwh826

Halo MCP Server

by Huangwh826
conftest.py667 B
"""Pytest 配置文件 提供测试 fixtures 和全局配置。 """ import pytest @pytest.fixture async def halo_client(): """创建测试用 Halo 客户端""" from halo_mcp_server.client.halo_client import HaloClient client = HaloClient() await client.connect() await client.authenticate() yield client await client.close() @pytest.fixture def mock_settings(): """Mock 配置用于单元测试""" from halo_mcp_server.config import Settings return Settings( halo_base_url="http://localhost:8091", halo_token="test_token", mcp_server_name="test-server", mcp_log_level="DEBUG", )

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/Huangwh826/halo-mcp-server'

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