原始内容
MCP_server_fastapi
🚀 Getting Started
Follow the steps below to install dependencies, run the server, and debug your tools locally.
📦 Install Dependencies
Use uv (a faster Python package manager) to install project dependencies:
uv pip install -r pyproject.toml
▶️ Start the Server
You can run the server using one of the following options:
Option 1: Using Python
python src/server.py
Option 2: Using uv
uv run start
🧪 Debug and Test
You can test your tool locally using MCP Inspector:
mcp dev ./src/weather.py