article
README
🚀 MCP 演示项目
本项目旨在展示如何构建并使用 MCP 服务器。此服务器的主要功能是获取航空天气数据,为相关领域的应用提供有力支持。
🚀 快速开始
使用此工具
以下是示例用法的展示:

在本地使用此项目
📦 安装指南
- 安装依赖项:
uv sync
- 激活虚拟环境:
source .venv/bin/activate
- 运行服务器:
mcp dev src/mcp_aviation_weather/server.py
本项目旨在展示如何构建并使用 MCP 服务器。此服务器的主要功能是获取航空天气数据,为相关领域的应用提供有力支持。
以下是示例用法的展示:

uv sync
source .venv/bin/activate
mcp dev src/mcp_aviation_weather/server.py
Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive
Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed