Skip to main content
Glama

WebSearch MCP Server

by Howe829
test_result_formatter.py745 B
import pytest from xagents.result_formatter import result_format_agent from agents import Runner @pytest.mark.asyncio async def test_result_formatter(): example_markdown = """ search engine: bing - **Gold Price Today - Kitco** [https://www.kitco.com/gold-price-today](https://www.kitco.com/gold-price-today) Live spot gold prices and charts. Get historical data and news updates on XAUUSD. - **Shanghai Gold Exchange Daily Price** [https://www.sge.com.cn](https://www.sge.com.cn) Official gold trading prices published by the Shanghai Gold Exchange. """ result = await Runner.run( input=example_markdown, starting_agent=result_format_agent ) print(result.final_output)

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/Howe829/websearch-mcp-server'

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