Enterprise agent platform for building, deploying, and operating AI teammates.
from mcp.server.fastmcp import FastMCP mcp = FastMCP("Weather") @mcp.tool() async def get_weather(location: str) -> str: """Get weather for location.""" return f"It's always sunny in {location}" if __name__ == "__main__": mcp.run(transport="stdio")