Skip to main content
Glama
get_weather_mcpserver.py366 B
import gradio as gr from fc.get_weather import get_weather get_weather = gr.Interface( fn=get_weather, inputs=["text"], # 输入是一个文本框 outputs="text", # 输出是一个文本框 title="天气查询", description="获取city district未来7天天气信息." ) get_weather.launch(mcp_server=True) # 关键:以MCP Server模式启动

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/tanghui886/MCP_WEATHER'

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