Developing MCP Servers
Installation
SKILL.md
Developing MCP Servers
Quick Start
from fastmcp import FastMCP
mcp = FastMCP("my-service")
@mcp.tool()
def get_weather(city: str) -> str:
"""Get current weather for a city.
Args:
city: Name of the city to get weather for
"""
return f"Weather in {city}: 72F, Sunny"