We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/crisschan/mcp-allure'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import asyncio
from mcp.server.fastmcp import FastMCP
from allure_html import AllureSuiteParser
MCP_SERVER_NAME = "mcp-allure-server"
mcp=FastMCP(MCP_SERVER_NAME)
# mcp.start()
@mcp.tool()
async def get_allure_report(results_dir: str) -> str:
"""
read allure report and return json data
"""
try:
parser = AllureSuiteParser(results_dir)
return parser.parse()
except Exception as e:
return str(e)
if __name__ == '__main__':
mcp.run(transport='stdio')