mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 21:14:17 +02:00
Update README.md
This commit is contained in:
parent
c75df52263
commit
41279df4e5
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue