Update README.md

This commit is contained in:
Jeremiah Lowin 2024-11-30 20:37:40 -05:00 committed by GitHub
commit 41279df4e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,15 +16,19 @@ FastMCP makes building MCP servers simple and intuitive. Create tools, expose re
```python
from fastmcp import FastMCP
mcp = FastMCP("Demo 🚀")
@mcp.tool()
def add(a: int, b: int) -> int:
"""Add two numbers"""
return a + b
```
That's it! FastMCP handles all the complex protocol details and server management, so you can focus on building great tools. It's designed to be high-level and Pythonic - in most cases, decorating a function is all you need.
That's it!
FastMCP handles all the complex protocol details and server management, so you can focus on building great tools. It's designed to be high-level and Pythonic - in most cases, decorating a function is all you need.
### Key features: