jenniferjiang0511-mit-ai-studio-hw3
Greet people by name and check local forecasts and weather alerts across the U.S. Switch to a play鈥�
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
weather-app
An MCP server built with Smithery CLI
Functions of the tools that are being connected
This weather app has two functions: get alert and get forecast. Get alert gets any weather alert within the U.S. state, and get forecast gets the weather forecast for that location.
To make things more interesting, if you ask the it to speak in a pirate like tone, it can answer your requests with such a tone.
# Prerequisites
- Smithery API key: Get yours at smithery.ai/account/api-keys
# Getting Started with running the server
-
Run the server:
uv run dev -
Test interactively:
uv run playground
Try saying "Say hello to John" to test the example tool.
# Development of the server
Your server code is in src/hello_server/server.py. Add or update your server capabilities there.
# Deploying the server
Ready to deploy? Push your code to GitHub and deploy to Smithery:
-
Create a new repository at github.com/new
-
Initialize git and push to GitHub:
git add . git commit -m "Hello world 👋" git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main -
Deploy your server to Smithery at smithery.ai/new